final
class
OptionOps[A] extends AnyVal
Instance Constructors
-
new
OptionOps(self: Option[A])
Value Members
-
final
def
!=(arg0: Any): Boolean
-
final
def
##(): Int
-
final
def
<\/[B](b: ⇒ B): \/[A, B]
-
final
def
==(arg0: Any): Boolean
-
final
def
\/>[E](e: ⇒ E): \/[E, A]
-
final
def
asInstanceOf[T0]: T0
-
final
def
cata[X](some: (A) ⇒ X, none: ⇒ X): X
-
final
def
err(message: ⇒ String): A
-
-
final
def
foldLift[F[_], B](b: ⇒ B, k: (F[A]) ⇒ B)(implicit arg0: Applicative[F]): B
-
final
def
foldLiftOpt[B](b: ⇒ B, k: (Option[A]) ⇒ B): B
-
def
getClass(): Class[_ <: AnyVal]
-
final
def
getOrElseF[F[_]](fa: ⇒ F[A])(implicit arg0: Applicative[F]): F[A]
-
final
def
isInstanceOf[T0]: Boolean
-
-
final
def
orEmpty[M[_]](implicit arg0: Applicative[M], arg1: PlusEmpty[M]): M[A]
-
final
def
orZero(implicit z: Monoid[A]): A
-
final
def
toFailure[B](b: ⇒ B): Validation[A, B]
-
final
def
toFailureNel[B](b: ⇒ B): ValidationNel[A, B]
-
final
def
toIList: IList[A]
-
final
def
toLeftDisjunction[B](b: ⇒ B): \/[A, B]
-
final
def
toMaybe: Maybe[A]
-
final
def
toRightDisjunction[E](e: ⇒ E): \/[E, A]
-
def
toString(): String
-
final
def
toSuccess[E](e: ⇒ E): Validation[E, A]
-
final
def
toSuccessNel[E](e: ⇒ E): ValidationNel[E, A]
-
final
def
unary_~(implicit z: Monoid[A]): A
-
final
def
|(a: ⇒ A): A