Last active
November 20, 2020 10:42
-
-
Save kasperpeulen/dbad688975d622f9d77ccf12598c608c to your computer and use it in GitHub Desktop.
Monad functions
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
function of<A>(value: A): Monad<A>; | |
function flatMap<A, B>(monad: Monad<A>, callback: (a: A) => Monad<B>): Monad<B>; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment