Open
Description
In case of failure, one may be interested in only the first few errors, but Validation
requires that everything be checked regardless. A version with a Monoid
rather than Semigroup
constraint could allow this in the list monoid with something like
liftA2 _ (Failure e1) m = Failure $ e1 <> case m of
Failure es -> es
Success _ -> mempty
Metadata
Metadata
Assignees
Labels
No labels