« Return to Thread: Maybe a, The Rationale

Maybe a, The Rationale

by PR Stanley :: Rate this Message:

Reply to Author | View in Thread

Hi folks

        data Maybe a = Nothing | Just a

        What is the underlying rationale for the Maybe data type? is it the
safe style of programming it encourages/
Something tells me this is going to start a lengthy discussion. :-)
                Cheers, Paul

_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@...
http://www.haskell.org/mailman/listinfo/haskell-cafe

 « Return to Thread: Maybe a, The Rationale

LightInTheBox - Buy quality products at wholesale price