public
Created — forked from jrwest/dodelete.scala

Scalaz Functional IO Post Gist Files

  • Download Gist
firstio1.scala
Scala
1 2 3
// remember to import scalaz.effects._
scala> val hiWorld = println("hello, world").pure[IO]
hiWorld: scalaz.effects.IO[Unit] = scalaz.effects.IO$$anon$2@77925ae
firstio2.scala
Scala
1 2
scala> hiWorld.unsafePerformIO
hello, world

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.