
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
On Mon, Apr 7, 2014 at 2:15 PM, Kim-Ee Yeoh
On Mon, Apr 7, 2014 at 3:33 PM, John M. Dlugosz
wrote: I know about List Comprehensions, but what is a general Monad Comprehension? List Comprehensions are the use of set-builder notation to define a list, so I don't understand how that would generalize.
Assuming that you have done a search and that you're still stumped, how can you make the question more specific?
Do you think that quoting specific bits of what you have read might help us help you more?
-- Kim-Ee
_______________________________________________ Beginners mailing list Beginners@haskell.org http://www.haskell.org/mailman/listinfo/beginners