RE [Haskell-cafe] Monad Description For Imperative Programmer
Frank Buss
fb at frank-buss.de
Wed Aug 1 16:27:31 EDT 2007
> How does all this map to C++? A monad is a a class, with no useful
> interface for the end user, that looks roughly (i.e. I haven't tested
> it) like:
trying to implement it in other languages is a good idea for understanding
monads. I've tried this with the Maybe monad in Lisp:
http://groups.google.com/group/comp.lang.lisp/msg/3bd8ecfb6cfd6601
There are other tries in Scheme and Lisp, even a general Arrows approach
IIRC.
--
Frank Buss, fb at frank-buss.de
http://www.frank-buss.de, http://www.it4-systems.de
More information about the Haskell-Cafe
mailing list