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

Skip to content

Conversation

@luis3m
Copy link
Contributor

@luis3m luis3m commented May 18, 2020

@adamgfraser
Copy link
Contributor

I wonder if there is a family of combinators here that is more around "validation". It seems like the purpose of this combinator is really to collect all the potential error in a computation rather than failing fast, similar to the Validation data types in functional programming libraries and the existing ZIO.validate methods. The relationship between this and ZIO.validate is really analogous to the relationship between zip and foreach.

Maybe we call these validateWith and validateWithPar?

@luis3m luis3m changed the title Add ZIO#zipCause Add ZIO#validateWith May 22, 2020
@luis3m
Copy link
Contributor Author

luis3m commented May 22, 2020

@adamgfraser updated

@adamgfraser adamgfraser merged commit 6158047 into zio:master May 25, 2020
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