Skip to content

Instantly share code, notes, and snippets.

@mattdenner
Created January 15, 2013 14:19
Show Gist options
  • Save mattdenner/4538972 to your computer and use it in GitHub Desktop.
Save mattdenner/4538972 to your computer and use it in GitHub Desktop.

In this YOW! 2012 video Tony Morris writes a piece about composing IO monads on the whiteboard and I was wondering if it basically boils down to the following Scala trait:

trait IO[A] {
  def flatMap[B](f: A => IO[B]): IO[B]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment