Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
class Monad m where
(>>=) : m a -> (a -> m b) -> m b
-- Or, using our Cont type alias
class Monad m where
(>>=) : m a -> Cont (m b) a
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.