Skip to content

Instantly share code, notes, and snippets.

@softberries
Created November 29, 2019 07:35
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 softberries/658e62b1246a8235c4f772f7775a846b to your computer and use it in GitHub Desktop.
Save softberries/658e62b1246a8235c4f772f7775a846b to your computer and use it in GitHub Desktop.
val ioa = IO { println("hey!") }
val program: IO[Unit] =
for {
_ <- ioa
_ <- ioa
} yield ()
program.unsafeRunSync()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment