Here is his fascinating YouTube video on JavaScript and Monads.
Here is the sourcecode: https://github.com/douglascrockford/monad
He covers four monads in the talk:
- The Identity Monad
- The Ajax Monad
- The Maybe Monad, which eliminates the possibility of a null -- very cool!
- The Promise Monad, which apparently is not agreed upon by all to be a monad
Carl Hewitt, inventor of the Actor Model
Mark Miller, Secure Distributed Programming with Object-capabilities in JavaScript