Lisp for the Low Level Man: An Introduction to Liskell

So, you want to program Lisp on a slow/old computer? Use Liskell, it’s Haskell and Lisp combined into a new language.

The example given on the home page of Liskell in action is actually pretty interesting:

(define (fact n)

(if (== n 0)
1
(* n (fact (- n 1))))))))

Compare this to the old school Haskell:

fact n =

if n == 0

then 1

else n * (fact (n - 1)))

It has the beauty of Lisp and the speed as well as efficiency of Haskell. It’s a beautiful language for those that like functional languages (all eyes turn to John Armstrong :P).

2 Responses to “Lisp for the Low Level Man: An Introduction to Liskell”

  1. John Armstrong Says:

    Actually I’ll forward it to a friend of mine who loves LISP, says Haskell is “one of the few languages that can teach LISP a thing or two”, and (oddly) is rather sour on category theory.

    Incidentally, did you notice that I finally defined a monad? :D

  2. angryphysicist Says:

    Actually I’ll forward it to a friend of mine who loves LISP, says Haskell is “one of the few languages that can teach LISP a thing or two”, and (oddly) is rather sour on category theory.

    I keep mixing up Haskell with Forth for some strange reason, so this news is less exciting than I previously thought :(

    Although Forth is a fascinating language within its own right…I guess :P

    Despite being an avid Schemer, I’m not sure if I can tolerate the high levelness of Haskell. Being too high level is like being too drunk: you can’t do anything productive.

    Incidentally, did you notice that I finally defined a monad?

    I have actually been studying it, since I’m still trying to think about some sort of application for it.

Leave a Reply