either

object either extends EitherOptics
class Object
trait Matchable
class Any
either.type

Value members

Inherited methods

final def left[A, B]: Prism[Either[A, B], A]

extract the left element of an either using monomorphic Prism

extract the left element of an either using monomorphic Prism

Inherited from:
EitherOptics
final def leftP[A, B, C]: Prism_[Either[A, C], Either[B, C], A, B]

extract the left element of an either using polymorphic Prism_

extract the left element of an either using polymorphic Prism_

Inherited from:
EitherOptics
final def right[A, B]: Prism[Either[A, B], B]

extract the right element of an either using monomorphic Prism

extract the right element of an either using monomorphic Prism

Inherited from:
EitherOptics
final def rightP[A, B, C]: Prism_[Either[C, A], Either[C, B], A, B]

extract the right element of an either using polymorphic Prism_

extract the right element of an either using polymorphic Prism_

Inherited from:
EitherOptics
final def swapEither[A, B]: Iso[Either[A, B], Either[B, A]]

swap the elements of an Either

swap the elements of an Either

Inherited from:
EitherOptics