New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Iterant.interleave #498

alexandru opened this Issue Jan 7, 2018 · 2 comments


None yet
2 participants

alexandru commented Jan 7, 2018

Need an Iterant op that interleaves the elements of 2 streams into a strictly alternating sequence.

For Iterant it should be similar with zip, an operation that proved a little challenging but doable, see IterantZipMap.

sealed abstract class Iterant[F[_], A] {
  def interleave[B](rhs: Iterant[F, A])(implicit F: Sync[F]): Iterant[F, A]

@alexandru alexandru added this to the 3.0.0 milestone Jan 7, 2018


This comment has been minimized.


greenhat commented Jan 12, 2018

I'd like to resolve it if no one is working on it already.


This comment has been minimized.


alexandru commented Jan 12, 2018

@greenhat go for it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment