Skip to content

Instantly share code, notes, and snippets.

@akhileshs
Created November 23, 2015 16:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save akhileshs/f4e34b54317621436ad2 to your computer and use it in GitHub Desktop.
Save akhileshs/f4e34b54317621436ad2 to your computer and use it in GitHub Desktop.
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