Skip to content

Instantly share code, notes, and snippets.

@tomverran
Created March 16, 2018 23:22
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 tomverran/1c89fd10400d81e86eb509655fa124de to your computer and use it in GitHub Desktop.
Save tomverran/1c89fd10400d81e86eb509655fa124de to your computer and use it in GitHub Desktop.
Demonstrating an issue I'm having with IOs of None in FS2
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