[Haskell-cafe] nested maybes

Neil Mitchell ndmitchell at gmail.com
Sun Feb 4 15:52:43 EST 2007


Hi

> This is true.  Some time ago I swore off the use of fromRight and
> fromLeft in favor of maybe, and have been forgetting about the other
> functions in Data.Maybe ever since.

I think you mean you swore off fromJust. Unfortunately when people
started to debate adding fromLeft and fromRight they decided against
logic and consistency, and chose not to add them...

Thanks

Neil


More information about the Haskell-Cafe mailing list