[Haskell-beginners] What is a "Monad Comprehension" ?

John M. Dlugosz ngnr63q02 at sneakemail.com
Tue Apr 8 15:21:57 UTC 2014

On 4/7/2014 4:38 AM, akash g wrote:
> At one point of time, comprehensions were available for all monads.  Then it was removed,
> and has now been added back as a language extension (from the cursory glance that I gave)
> Basically, monad comprehensions are about using the samesyntactic sugar for different
> monads (like the do notation)
> Perhaps, this'll help (if you haven't seen this already)
> https://ghc.haskell.org/trac/ghc/wiki/MonadComprehensions

Thanks for the answer, and for the link to a ghc/wiki in general!

More information about the Beginners mailing list