[Haskell-cafe] partial functions / failure, Maybe and MonadError and good style

Steve Downey sdowney at gmail.com
Fri Dec 22 20:05:08 EST 2006

Although terse, the subject really says it all.
If i've a partial function, like a parser, what is considered good
style for a library. The tradeoffs that I can see are that Maybe is a
binary operation, while Error can communicate more information in the
type  of the error case.
Is there some way to defer the error handling Monad to the calling context?

More information about the Haskell-Cafe mailing list