Created
September 13, 2019 19:56
-
-
Save evaporei/3daaa67fec85a8b05603841b5aa2bc07 to your computer and use it in GitHub Desktop.
Category Theory - Monads
This file contains hidden or 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
| interface Monad<A> { | |
| bind<B>(f: (a: A) => Monad<B>): Monad<B> | |
| return(a: A): Monad<A> | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment