Created
November 29, 2019 07:39
-
-
Save softberries/ee7c8d49e74a2dc2b4c9ac2b75262e3d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
val ioa2 = IO.fromFuture(IO { | |
Future { println("hey fut 2!") } | |
}) | |
val program2 = | |
for { | |
_ <- ioa2 | |
_ <- ioa2 | |
} yield () | |
program2.unsafeRunSync() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment