Personal tools

Not just Maybe

From HaskellWiki

(Difference between revisions)
Jump to: navigation, search
(Inserted a probably better link)
(4 intermediate revisions by 3 users not shown)

Latest revision as of 21:31, 4 June 2013

Note: Many now consider the fail method of Monad to be a failure, as it defaults to throwing an exception. Modern Haskell style tends towards using total functions wherever possible, and this idiom has come increasingly to be frowned upon.