Not just Maybe
From HaskellWiki
(Difference between revisions)
(Added a link to the Web Archive) |
|||
| (2 intermediate revisions not shown.) | |||
| Line 1: | Line 1: | ||
http://haskell.org/wikisnapshot/NotJustMaybe.html | http://haskell.org/wikisnapshot/NotJustMaybe.html | ||
| + | |||
| + | 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. | ||
| + | |||
| + | A more recent page than the wikisnapshot can be found in the Web Archive: [http://web.archive.org/web/20070614151632/http://www.haskell.org/hawiki/NotJustMaybe] | ||
| + | |||
| + | [[Category:Idioms]] | ||
Revision as of 19:54, 6 February 2009
http://haskell.org/wikisnapshot/NotJustMaybe.html
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.
A more recent page than the wikisnapshot can be found in the Web Archive: [1]
