> 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. _______________________________________________ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor