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 21:29, 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.