Created
December 1, 2017 16:32
-
-
Save deque-blog/8f36700d6d5ed21c6546b7de92b0fb3a to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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