digitalmars.D - Comprehensive comprehensions
- bearophile <bearophileHUGS lycos.com> Mar 14 2008
A part of Haskell has gained something that looks like a subset of LINQ (Python list comps (lazy version too) are a subset of subset of them): http://blog.omega-prime.co.uk/2008/03/14/bitesize-functional-programming-comprehensive-comprehensions/ This comment says it's not as powerful as LINQ:Unfortunately, we don't have the same abilities of query introspection etc as LINQ does, so it isn't quite as powerful. It would also be hard to ship a generalized list comprehension to the database due to their additional generality over SQL (e.g. we support using your own sorting function).<
http://reddit.com/r/programming/info/6c0p8/comments/ If you try similar things you can see how much handy they are :-) Bye, bearophile
Mar 14 2008








bearophile <bearophileHUGS lycos.com>