Looking at this funny new feature
http://haskell.org/ghc/docs/6.10.1/html/users_guide/syntax-extns.html#generalised-list-comprehensions
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.



Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
Haskell-Cafe mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to