Drops exactly n
elements from the stream.
Drops exactly n
elements from the stream.
This doesn’t expose the Coalgebra because it returns Stream \/ Stream
,
which isn’t the type of drop
.
Returns left
if the result was found within the given number of steps.
Colists are simply streams that may terminate, so a stream is easily converted to a Colist that doesn’t terminate.
Colists are simply streams that may terminate, so a stream is easily converted to a Colist that doesn’t terminate.
Run to completion (if it completes).
Run to completion (if it completes).
If two Partial
s eventually have the same value, then they are
equivalent.