Mercurial > repo
diff wisdom/monad-tutorials @ 1449:680e91156ade
<GreyKnight> echo "I think of monads as computational environments in which you get to make up the rules." >> wisdom/monad-tutorials
author | HackBot |
---|---|
date | Sat, 12 Jan 2013 01:13:52 +0000 |
parents | 4ec67081254d |
children | 040744420f96 |
line wrap: on
line diff
--- a/wisdom/monad-tutorials Sat Jan 12 01:12:30 2013 +0000 +++ b/wisdom/monad-tutorials Sat Jan 12 01:13:52 2013 +0000 @@ -10,3 +10,4 @@ Monads can be used like adapters (the adapter pattern) in OOP. A Monad is a class with a private field. A monad is just a label that you stick onto a value to tell the compiler it's not a pure functional value. +I think of monads as computational environments in which you get to make up the rules.