Back to Cats

Either

docs/datatypes/either.md

2.13.0501 B
Original Source

{% laika.excludeFromNavigation = true %}

Either

The Either type is provided by the Scala standard library, but Cats provides syntax enrichment and typeclass instances to extend its functionality, including [Functor], [Applicative], [Monad] and MonadError.

If you would like to accumulate errors instead of the short-circuiting behavior of Either, see the [Parallel] typeclass, or the [Validated] data type.