`Validated` is like an `Either` but accumulates all errors with semigroup operation.
Totality: total
Visibility: public export
Constructors:
Valid : a -> Validated e a
Invalid : e -> Validated e a
Hints:
Monoid e => Alternative (Validated e)
Semigroup e => Applicative (Validated e)
Bifoldable Validated
Bifunctor Validated
Bitraversable Validated
(DecEq e, DecEq a) => DecEq (Validated e a)
(Eq e, Eq a) => Eq (Validated e a)
Foldable (Validated e)
Functor (Validated e)
Injective Valid
Injective Invalid
Monoid e => Monoid (Validated e a)
Semigroup e => Semigroup (Validated e a)
(Show e, Show a) => Show (Validated e a)
Traversable (Validated e)
Uninhabited (Valid x = Invalid e)
Uninhabited (Invalid e = Valid x)
Semigroup e => Zippable (Validated e)