[Haskell-cafe] Maybe, maybe not.

Ivan Miljenovic ivan.miljenovic at gmail.com
Wed Jan 27 00:41:50 EST 2010


2010/1/27 Tony Morris <tonymorris at gmail.com>:
> It might be more obvious by giving:
>
> fromMaybe :: a -> (a -> x, x) -> x

I actually found this more confusing, and am not sure of its validity:
should that be "Maybe a" there at the beginning?

-- 
Ivan Lazar Miljenovic
Ivan.Miljenovic at gmail.com
IvanMiljenovic.wordpress.com
Pablo Picasso  - "Computers are useless. They can only give you
answers." - http://www.brainyquote.com/quotes/authors/p/pablo_picasso.html


More information about the Haskell-Cafe mailing list