[Haskell-beginners] [Haskell-Beginners] Just

Elvio Toccalino elviotoccalino at gmail.com
Tue Jun 14 17:35:41 CEST 2011

I'll add a little to Michael's comment:

If you've done C/C++ maybe you're used to return the result of your
computation in a value-result argument, and signal failure with an extra
argument or by returning zero (or -1, or whatnot) in the function's
return... well, if you don't care why your computation failed (or, more
likely in Haskell, there's only one way it could have failed), then
returning the result of the computation wrapped in Maybe is your way to

More information about the Beginners mailing list