[Haskell-cafe] Mo' comprehensions

Bulat Ziganshin bulat.ziganshin at gmail.com
Sun Dec 31 04:23:43 EST 2006


Hello Diego,

Saturday, December 30, 2006, 6:05:46 PM, you wrote:

> Maybe there should be a Comprehensible class that's automatically
> mapped to comprehension syntax. It's rather odd to have them only for
> lists. That would be both more general and more elegant than just
> bringing back monad comprehensions.

> Is there any obvious reason why this wouldn't work?

"it will make error messages harder to understand for novices", "it will
make execution slower", "it will make programs more buggy" - standard list
of arguments against making anything in Haskell more polymorphic :)




-- 
Best regards,
 Bulat                            mailto:Bulat.Ziganshin at gmail.com



More information about the Haskell-Cafe mailing list