Last active
October 7, 2016 13:26
-
-
Save leonmaia/09e7b1a682c323116c96cc28a64af338 to your computer and use it in GitHub Desktop.
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
trait M[A] { | |
def flatMap[B](f: A => M[B]): M[B] | |
} | |
def unit[A](x: A): M[A] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment