[Tutor] Are you allowed to shoot camels? [kinda OT]

Alan Gauld alan.gauld at freenet.co.uk
Fri Feb 4 00:19:15 CET 2005


> haskell:
> 
> [ x | x <- xs ]
> [ foo x | x <- xs, x > 2 ]
> 
> python
> 
> [ x for x in xs ]
> [ foo(x) for x in xs if x > 2 ]
> 

Sean, what book/tutor are you using for Haskell?
I learned it from "The Haskell School of Expression" which 
was OK but very graphics focused, I'd be interested in 
recommended second source on Haskell.

Alan G.


More information about the Tutor mailing list