code that comes with my 'Monads for dummies' blog post
JavaScript Clojure
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
clojure
js
.gitignore
README.md

README.md

Monads for dummies

This code is the code used in my blog post about monads, with tests added. To run the tests: for javascript part:

cd js
vows

for clojure part:

cd clojure
lein test

This is obviously toy code, but the idea is to show how monads work. Feedback welcome!