Skip to content

For comprehension for Either with lazy execution? #3038

@freerider7777

Description

@freerider7777

To be closer to scala for :)

There are io.vavr.Api.ForXXX for Option, Try, List but there is not For for Either.

Also as for now I see that there is only "eager evaluation" (for example for Option) - all the arguments get executed, it's useless as we don't want to call the second function if the first fails.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions