[Haskell-cafe] a way to convert partial functions to functions with Maybe's

Daniel Schoepe daniel.schoepe at googlemail.com
Tue Apr 13 06:59:43 EDT 2010


Excerpts from Ozgur Akgun's message of Tue Apr 13 12:02:06 +0200 2010:
> Cafe,
> 
> Is there a way (without going into the IO lands) to achieve this:
> [..]

There's package for that on hackage:
http://hackage.haskell.org/packages/archive/spoon/0.3/doc/html/Control-Spoon.html

However, this is somewhat controversial regarding _|_:
http://www.reddit.com/r/haskell/comments/acasn/tired_of_functions_that_could_live_in_maybe_but/


More information about the Haskell-Cafe mailing list