
8 Nov
2008
8 Nov
'08
4:41 p.m.
Looking at this funny new feature http://haskell.org/ghc/docs/6.10.1/html/users_guide/syntax-extns.html#genera... 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.