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