Difference between revisions of "Not just Maybe"
Jump to navigation
Jump to search
(Category:Idioms) |
|||
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. |
||
[[Category:Idioms]] |
[[Category:Idioms]] |
Revision as of 17:35, 29 May 2008
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.