Skip to content
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

Streams concatenation #82

Closed
asubb opened this issue Aug 12, 2020 · 0 comments
Closed

Streams concatenation #82

asubb opened this issue Aug 12, 2020 · 0 comments
Assignees
Labels
enhancement New feature or request feature lib

Comments

@asubb
Copy link
Member

asubb commented Aug 12, 2020

We should be able to concatenate two streams one by one, though at least the first argument stream should be a Finite stream, and the resulted stream type depends on the second argument type.

We may use range operator overload for this:

val concatenation = finiteStream .. anotherStream

The sample type can be any but must be the same for both streams.

@asubb asubb added enhancement New feature or request lib feature labels Aug 12, 2020
@asubb asubb self-assigned this Aug 12, 2020
@asubb asubb closed this as completed Aug 12, 2020
asubb added a commit that referenced this issue Aug 13, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request feature lib
Projects
None yet
Development

No branches or pull requests

1 participant