fs2
fs2 copied to clipboard
Make `init:S` a by name parameter in `mapAccumulate`?
def mapAccumulate[S, O2](init: S)(f: (S, O) => (S, O2)): Stream[F, (S, O2)]
to
def mapAccumulate[S, O2](init: => S)(f: (S, O) => (S, O2)): Stream[F, (S, O2)]
It's not a bug, have no idea it's labeled as bug