final class EitherIdOpsBinCompat0[A] extends AnyVal
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- EitherIdOpsBinCompat0
- AnyVal
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
- new EitherIdOpsBinCompat0(value: A)
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- Any
-
final
def
##(): Int
- Definition Classes
- Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
getClass(): Class[_ <: AnyVal]
- Definition Classes
- AnyVal → Any
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
leftNec[B]: Either[NonEmptyChain[A], B]
Wrap a value to a left EitherNec
Wrap a value to a left EitherNec
For example:
scala> import cats.implicits._, cats.data.NonEmptyChain scala> "Err".leftNec[Int] res0: Either[NonEmptyChain[String], Int] = Left(Chain(Err))
-
def
rightNec[B]: Either[NonEmptyChain[B], A]
Wrap a value to a right EitherNec
Wrap a value to a right EitherNec
For example:
scala> import cats.implicits._, cats.data.NonEmptyChain scala> 1.rightNec[String] res0: Either[NonEmptyChain[String], Int] = Right(1)
-
def
toString(): String
- Definition Classes
- Any