Skip to content

Instantly share code, notes, and snippets.

@SteveGilham
Created April 26, 2015 14:13
Show Gist options
  • Save SteveGilham/2af8bb57ac0f0579abde to your computer and use it in GitHub Desktop.
Save SteveGilham/2af8bb57ac0f0579abde to your computer and use it in GitHub Desktop.
Monad
Return: t -> M t
Fail: M t
Bind: (t1 -> M t2) -> M t1 -> M t2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment