
Generally allowing trailing (or leading or repeated) commas would clash with tuple sections. Also the pair constructor "(,)" is a special case. http://www.haskell.org/ghc/docs/7.0.4/html/users_guide/syntax-extns.html#tup... Cheers Christian Am 11.07.2011 12:09, schrieb Joachim Breitner:
Hi,
Am Montag, den 11.07.2011, 10:49 +0200 schrieb L Corbijn:
You could of course say that I'm using a bad style, but it remains that it seems to be inconsistent to allow a trailing comma in one place and not in the other. So is there an reason for this?
there is actually a bug report against the ghc package in Debian from a user, requesting a more liberal comma separated list parsing. We did not patch ghc in Debian to that end, though :-) http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=511834
Greetings, Joachim
_______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe