Stream.fromEitherbut not constraining the
MonadErrorinstance), but I won’t bother if there’s no plan for another release.
Pull.raiseError with AE ends up propagating out to
compress.inflate (because it can raise an error if insufficient data is available). That makes this test, which explicitly operates on a
PureStream, not work
There there are a couple other places that explicitly deal in
Pipe[Pure, I, O] that I’m not sure what to do with:
Any suggestions for what to do with these tests?
Pull.done.map(_ => throw t)trick
unconsmethod gives a
Pull[F,Nothing,Option[(Segment[O,Unit],Stream[F,O])]]. From what I understand is that should be seen as something from which you can pull elements of type
Nothing, and once you are done pulling all elements, it will return an
Option[(Segment[O,Unit],Stream[F,O])], since there can't be any output values at all