Difference between revisions of "Not just Maybe"
From HaskellWiki
(Added a link to the Web Archive) |
|||
Line 2: | Line 2: | ||
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. | 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]] | [[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]