Skip to content

Instantly share code, notes, and snippets.

@folone
Created July 12, 2011 14:07
Show Gist options
  • Save folone/1078050 to your computer and use it in GitHub Desktop.
Save folone/1078050 to your computer and use it in GitHub Desktop.
-- First
return a >>= k = k a
-- Second
m >>= return = m
-- Third
m >>= (\x -> f x >>= g) = (m >>= f) >>= g
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment