[Haskell-cafe] Shooting your self in the foot with Haskell

Andrew Coppin andrewcoppin at btinternet.com
Thu Oct 2 13:00:04 EDT 2008


John Van Enk wrote:
> There's the well known "How to shoot your self in the foot" list which 
> I have it printed and taped on my desk at work.
>
> http://www-users.cs.york.ac.uk/susan/joke/foot.htm
>
>  I had a co-worker ask me how you'd shoot your self in the foot with 
> Haskell.

The interesting thing about Haskell is:

  You *appear* to have deliberately shot yourself in the foot, and yet 
your program actually runs perfectly OK due to lazy evaluation. (So long 
as you remember to not look at your foot...)



More information about the Haskell-Cafe mailing list