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

Skip to content

Conversation

@saraiva132
Copy link
Contributor

Closes #2055

testM("collectM") {
assertM(
Stream(Left(1), Right(2), Left(3))
.collectM[Any, Throwable, Int] {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Bummer, this doesn't infer without the type parameters?

Copy link
Member

@iravid iravid left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great addition!

@iravid iravid merged commit 4cc8e2a into zio:master Nov 3, 2019
ghostdogpr pushed a commit to ghostdogpr/scalaz-zio that referenced this pull request Nov 5, 2019
* Remove for-comprehensions from TSet

* Revert poor formatting.

* Add ZStream#collectM, collectWhileM

* Formatting
Twizty pushed a commit to Twizty/zio that referenced this pull request Nov 13, 2019
* Remove for-comprehensions from TSet

* Revert poor formatting.

* Add ZStream#collectM, collectWhileM

* Formatting
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.

Add ZStream#collectM, collectWhileM

2 participants