Skip to content

Instantly share code, notes, and snippets.

@tjweir
Forked from jrwest/dodelete.scala
Created December 29, 2011 14:41
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tjweir/1534379 to your computer and use it in GitHub Desktop.
Save tjweir/1534379 to your computer and use it in GitHub Desktop.
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