faylang/fay — pull request #132 by cdsmith (2012-10-27 02:39:24+00:00)
Title: List comprehension support

This adds list comprehension support in a very basic way, via a desugaring. There is no support for extended list comprehensions (group by and the like). The desugaring uses a random number for generating fresh Haskell variables, which is incredibly ugly, but I don't know the code well enough to know if you've got a better way of doing that.

I also added concatMap to Stdlib, mostly because I needed it for the desugaring.