Maybe type in Fortress

Steven E. Harris seh at panix.com
Tue Jan 19 16:48:15 PST 2010


Tim Matthews <tim.matthews7 at gmail.com> writes:

> Haskell has the 'maybe' monad so not really innovative.

Yes, and in Scala, "maybe" is called Option¹, which is modeled to
participate in the expected monadic contracts.


Footnotes: 
¹ http://www.scala-lang.org/docu/files/api/scala/Option.html

-- 
Steven E. Harris



More information about the Digitalmars-d mailing list