Re:Glasgow Haskell Compiler 7.2.1 released
by hesselink on Wednesday August 10, 2011 @09:24AM
(#2868048)
What monad would you use them for? I've never seen a really good use case.
[ Parent
| on HN ]
I think LINQ is a special case of a monad comprehension. Syntax checked, type checked, composeable query languages (of which the "Structured" Query Language is only one example) are good things.
So far everywhere where I might have been tempted to use a Maybe monad comprehension, applicative functors were more clear anyhow.
Re:Glasgow Haskell Compiler 7.2.1 released
by samg_ on Wednesday August 10, 2011 @12:48PM
(#2869070)
You are right about query languages being a good for for monad comprehensions. See Torston Grust's dissertation[1], specifically "Combinators from Monad Comprehensions."
1. http://citeseerx.ist.psu.edu/viewdoc/summary?doi=10.1.1.88.9...