currying EphemeralStream#unfold for type inference