Skip to content

Instantly share code, notes, and snippets.

View thomasvanlankveld's full-sized avatar

Thomas van Lankveld thomasvanlankveld

View GitHub Profile
unit(value).bind(f) === f(value);
monad.bind(unit) === monad;
(monad.bind(f).bind(g)
=== monad.bind(function(value) { return f(value).bind(g); }))