Skip to content

Conversation

@adamkopec
Copy link
Contributor

@adamkopec adamkopec commented Nov 7, 2025

This is a rework of #2724 which was initially suggested and developed by @eslep

allows doing eg.:

Either<String, Locale> either = Try.ofSupplier(() -> Locale.forLanguageTag("non-existing"))
            .toEither(exception -> "This was an unsupported language");

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.

1 participant