Examples for the article: A Monad in Practicality: First-Class Failures
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.hgignore
LICENCE
README.md
combinators.js
eithers.js
maybe.js
package.json
validation.js

README.md

monads-as-first-class-failures

Examples for the article: A Monad in Practicality: First-Class Failures

Running

You'll need Node and NPM set up on your computer, then the following to grab the dependencies:

$ npm install

Then run any of the maybe.js, validation.js or either.js files to see the outputs. E.g.:

$ node maybe.js

Licence

MIT.