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? _______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe
- [Haskell-cafe] partial functions / failure, Maybe and ... Steve Downey
- Re: [Haskell-cafe] partial functions / failure, M... Stefan O'Rear
- Re: [Haskell-cafe] partial functions / failur... Lennart Augustsson
- Re: [Haskell-cafe] partial functions / fa... Stefan O'Rear
- [Haskell-cafe] Re: partial functions ... Steve Downey
- [Haskell-cafe] Re: partial functions / failur... Steve Downey
- Re: [Haskell-cafe] Re: partial functions ... Ross Paterson
- [Haskell-cafe] Re: partial functions ... Steve Downey
- Re: [Haskell-cafe] Re: partial f... Stefan O'Rear
- Re: [Haskell-cafe] partial functions / failur... Daniel McAllansmith