Personal tools

Not just Maybe

From HaskellWiki

(Difference between revisions)
Jump to: navigation, search
(Category:Idioms)
(Inserted a probably better link)
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
http://haskell.org/wikisnapshot/NotJustMaybe.html
+
http://web.archive.org/web/20070614151632/http://www.haskell.org/hawiki/NotJustMaybe
  +
  +
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]]

Latest revision as of 21:31, 4 June 2013

http://web.archive.org/web/20070614151632/http://www.haskell.org/hawiki/NotJustMaybe

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.