Skip to content

Instantly share code, notes, and snippets.

@vinipsmaker
Last active December 2, 2018 04:27
Show Gist options
  • Save vinipsmaker/093bec679b533c1db02b to your computer and use it in GitHub Desktop.
Save vinipsmaker/093bec679b533c1db02b to your computer and use it in GitHub Desktop.
unit(value).bind(f) === f(value);
monad.bind(unit) === monad;
(monad.bind(f).bind(g)
=== monad.bind(function(value) { return f(value).bind(g); }))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment