Skip to content

Add a few functions thats revolving around Either to accumulate errors  #23

@afsalthaj

Description

@afsalthaj
  1. def orElse(either1, either2) (try one either, or else ty the next one)

  2. validation data type ==> Left of Either lifted to a List

  3. Applicative for validation to accumulate errors.

Please excuse me if some of these are already available in some other way.

@dbrattli I am happy to contribute if you are ok with it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions