Created
November 23, 2015 16:48
-
-
Save akhileshs/f4e34b54317621436ad2 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
scala> trait T[+A] { | |
| def flatMap[B](f: A => T[B]): T[B] // bind operation | |
| def map[B](f: A => B): T[B] | |
| } | |
defined trait T |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment