[email protected]
[Top] [All Lists]

Re: [Haskell-cafe] Maybe, maybe not.

Subject: Re: [Haskell-cafe] Maybe, maybe not.
From: Ivan Miljenovic
Date: Wed, 27 Jan 2010 15:41:50 +1000
2010/1/27 Tony Morris <[email protected]>:
> 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
[email protected]
IvanMiljenovic.wordpress.com
Pablo Picasso  - "Computers are useless. They can only give you
answers." - http://www.brainyquote.com/quotes/authors/p/pablo_picasso.html
_______________________________________________
Haskell-Cafe mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/haskell-cafe

<Prev in Thread] Current Thread [Next in Thread>