Monad Library for JavaScript.


var monads = require("monadjs");

Just include "monad.js" script file. The global variable monads is made available to you.

Supports identity, maybe, array, state, continuation monads.

See examples folder.

Read these blog posts for more info on this library.

Implementing Monads in JavaScript

The monad laws and state monad in JavaScript