Most discussion is on Typelevel Discord: https://discord.gg/bSQBZA3Ced
Segment
is of Unit
Timer
ContextShift
, I need to have a closer look at the PR
Ec
being ok implicitly because there's the CPU one as a good default still applies here
Time[F]
typeclass, the runtime gives you an implementation", e.g. IOApp
trait ContextShift[F[_]] {
def shift: F[Unit]
def evalOn[A](ec: ExecutionContext)(fa: F[A]): F[A]
}
Pull
to a Stream
R
needs to Unit
Stream
monad instance (which is on O
)
Pull
monad instance (which is on R
) is better for stateful combinators (so for the actual "streaming" aspect)