Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@vasilmkd
Copy link
Contributor

I noticed a discrepancy between the function signatures of
ZStream#mapConcat and ZStreamChunk#mapConcat (which is actually ZStreamChunk#mapConcatChunk.

@iravid WDYT we should do? Is there a good use case for ZStreamChunk#mapConcat that accepts a function that returns an Iterable, instead of a Chunk?

@iravid
Copy link
Member

iravid commented Oct 21, 2019

Hmm yes, I thought we fixed that before. The mapConcat functions should use iterables, while the mapConcatChunk versions should use a chunk. Both in ZStream and ZStreamChunk. Would be great if you could align that :-)

@vasilmkd
Copy link
Contributor Author

No problem, disregard this PR in its current state, because it's not correct according to that requirement.

@vasilmkd vasilmkd changed the title Add ZStreamChunk#mapConcatM Properly name ZStream#mapConcat* combinators Oct 22, 2019
@vasilmkd
Copy link
Contributor Author

@iravid I did as you suggested. Ready for review.

@iravid iravid merged commit 48d5cae into zio:master Oct 22, 2019
@vasilmkd vasilmkd deleted the zstreamchunk-mapconcatm branch October 23, 2019 16:46
ghostdogpr pushed a commit to ghostdogpr/scalaz-zio that referenced this pull request Nov 5, 2019
* Rename ZStream#mapConcat to ZStream#mapConcatChunk

* Add ZStream#mapConcat

* Add missing ZStream#mapConcatChunkM tests

* Add ZStream#mapConcatM

* Add ZStreamChunk#mapConcat*M combinators
Twizty pushed a commit to Twizty/zio that referenced this pull request Nov 13, 2019
* Rename ZStream#mapConcat to ZStream#mapConcatChunk

* Add ZStream#mapConcat

* Add missing ZStream#mapConcatChunkM tests

* Add ZStream#mapConcatM

* Add ZStreamChunk#mapConcat*M combinators
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants