arrow-fx-coroutines / arrow.fx.coroutines.stream / peek
fun <O> Pull<O, Unit>.peek(): Pull<Nothing, PullUncons<O>?>
fun <O>
Pull
<O,
Unit
>.peek():
<
Nothing
,
PullUncons
<O>?>
Like uncons but does not consume the chunk (i.e., the chunk is pushed back).
Do you like Arrow?