Last active
November 19, 2020 09:38
-
-
Save kasperpeulen/822f297d4244a8ec8a0271ef7a1e057c 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
// Given | |
declare const monad: Monad<A>; | |
// Then | |
flatMap(monad, a => of(a)) === monad | |
// === means both parts are equivalent | |
// what equality means can be defined by the monad |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment