Created
March 16, 2018 23:22
-
-
Save tomverran/1c89fd10400d81e86eb509655fa124de to your computer and use it in GitHub Desktop.
Demonstrating an issue I'm having with IOs of None in FS2
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
import fs2._ | |
import cats.effect.IO | |
import cats.instances.int._ | |
val none = IO[Option[Int]](None) | |
Stream.eval(none).unNone.groupAdjacentBy(identity).compile.drain.unsafeRunSync |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment