Not just Maybe: Difference between revisions
(Added a link to the Web Archive) |
(Replaced the link to wikisnapshot with link to web archive) |
||
Line 1: | Line 1: | ||
http://haskell.org/wikisnapshot/NotJustMaybe.html | http://web.archive.org/web/20100703035829/http://www.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. | 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. | ||
[[Category:Idioms]] | [[Category:Idioms]] |
Revision as of 21:29, 4 June 2013
http://web.archive.org/web/20100703035829/http://www.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.