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.
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:
The sample type can be any but must be the same for both streams.