Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
Scalaz Functional IO Post Gist Files
// remember to import scalaz.effects._
scala> val hiWorld = println("hello, world").pure[IO]
hiWorld: scalaz.effects.IO[Unit] = scalaz.effects.IO$$anon$2@77925ae
scala> hiWorld.unsafePerformIO
hello, world
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment