Wrapper class that adds a value
method to LeftProjection
, allowing
you to make statements like:
Wrapper class that adds a value
method to LeftProjection
, allowing
you to make statements like:
either.left.value should be > 9
Wrapper class that adds a value
method to RightProjection
, allowing
you to make statements like:
Wrapper class that adds a value
method to RightProjection
, allowing
you to make statements like:
either.right.value should be > 9
Implicit conversion that adds a value
method to LeftProjection
.
Implicit conversion that adds a value
method to LeftProjection
.
Implicit conversion that adds a value
method to RightProjection
.
Implicit conversion that adds a value
method to RightProjection
.
Companion object that facilitates the importing of
ValueEither
members as an alternative to mixing it in. One use case is to importEitherValues
's members so you can useleft.value
andright.value
onEither
in the Scala interpreter: