Revision as of 20:43, 1 January 2011 by Jesin
is useful for the error monad,
Either String a
is the only method of the
should be included in the hierarchy. Better to be exactly mathematically correct once and for all.
3 Pure vs. returnWhen combining
, perhaps we should use the name
, or something else besides
? It would defy convention, yes, but we would already be making changes that would require a Legacy module for backwards compatability, and it may reduce confusion over what the function actually does, because Haskell's
is nothing like "return" in other languages.