Skip to content

Instantly share code, notes, and snippets.

@haskellcamargo
Created December 12, 2017 16:34
Show Gist options
  • Save haskellcamargo/1db39a788aa4c3f3cde2ab64cf70f778 to your computer and use it in GitHub Desktop.
Save haskellcamargo/1db39a788aa4c3f3cde2ab64cf70f778 to your computer and use it in GitHub Desktop.
class Monad m where
(>>=) :: m a -> (a -> m b) -> m b
(>>) :: m a -> m b -> m b
return :: a -> m a
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment