Skip to content
Create a gist now

Instantly share code, notes, and snippets.

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
Something went wrong with that request. Please try again.