[Haskell-cafe] generalized list comprehensions

Johannes Waldmann waldmann at imn.htwk-leipzig.de
Sat Nov 8 16:41:34 EST 2008

Looking at this funny new feature
I have just one question - why doesn't this work with the do-notation?

I avoid list comprehensions because I feel that
"return" belongs at the end, not in front.

If I recall correctly, "putting the SQL-select where it belongs"
is a slogan used by Hijlsberg to justify the LINQ syntax for C#,
and of course he is right.

Now ghc copies LINQ (syntactically), but stops halfway?

Just wondering - J.W.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 257 bytes
Desc: OpenPGP digital signature
Url : http://www.haskell.org/pipermail/haskell-cafe/attachments/20081108/42eea36f/signature.bin

More information about the Haskell-Cafe mailing list