Skip to content

Conversation

@adamkopec
Copy link
Contributor

Similar to the one I posted before - another handy tool: Validation.cond. Way shorter than writing Validation.fromEither(Either.cond(blah))

Inspiration:
https://github.com/typelevel/cats/blob/ff6827df94bdd3e6d45de1336658af44cbe493b1/core/src/main/scala/cats/data/Validated.scala#L1160

@adamkopec adamkopec requested a review from pivovarit as a code owner August 6, 2025 09:03
@pivovarit pivovarit added this to the v0.11.0 milestone Aug 7, 2025
Copy link
Member

@pivovarit pivovarit left a comment

Choose a reason for hiding this comment

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

Looks good to me. Thanks for remembering about covariance in both pull requests :)

@pivovarit pivovarit merged commit f93cf81 into vavr-io:main Aug 7, 2025
8 checks passed
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