Monad Library for JavaScript.


$ npm install monadjs
var monads = require("monadjs");

Use browserify to use in browser.

Note: Latest version "0.1.0" is not compatible with the previous versions "0.0.6"

monads.identity      // Identity Monad
monads.mayBe         // Maybe Monad
monads.array         // Array Monad
monads.state         // State Monad
monads.continuation  // Continuation Monad
monads.parser        // Parser Monad            // is the doMonad function

See examples folder.

See the following blogpost for usage and explanation.