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]
}
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]
}