Skip to content

Conversation

@adamkopec
Copy link
Contributor

Added support for Either.cond, similar to the one we can find in the Scala library:
https://github.com/scala/scala/blob/6a23d33c53afa7b42f64bebaee9e0fc24479df6f/src/library/scala/util/Either.scala#L507

@adamkopec adamkopec requested a review from pivovarit as a code owner August 3, 2025 14:34
@pivovarit
Copy link
Member

Looks good to me - I will probably refine the documentation later on to better flow with the remaining JavaDocs, but this can be merged as-is. Thanks!

@pivovarit pivovarit enabled auto-merge (squash) August 6, 2025 12:54
@pivovarit pivovarit self-requested a review August 6, 2025 12:54
@pivovarit pivovarit merged commit 2918835 into vavr-io:main Aug 6, 2025
8 checks passed
@pivovarit pivovarit added this to the v0.11.0 milestone Aug 7, 2025
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