Packages

object Maybe extends MaybeInstances

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Maybe
  2. MaybeInstances
  3. MaybeInstances0
  4. MaybeInstances1
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. final case class Empty[A]() extends Maybe[A] with Product with Serializable
  2. final case class Just[A](a: A) extends Maybe[A] with Product with Serializable

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def attempt[T](a: ⇒ T): Maybe[T]

    For interfacing with legacy, deterministic, partial functions.

    For interfacing with legacy, deterministic, partial functions. See \/.attempt for further details.

  6. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  7. final def empty[A]: Maybe[A]
  8. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  9. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  10. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  11. final def fromNullable[A](a: A): Maybe[A]

    Wrap a value in Just, or return Empty if the value is null

  12. final def fromOption[A](oa: Option[A]): Maybe[A]
  13. def fromTryCatchNonFatal[T](a: ⇒ T): Maybe[T]
  14. def fromTryCatchThrowable[T, E <: Throwable](a: ⇒ T)(implicit nn: NotNothing[E], ex: ClassTag[E]): Maybe[T]
  15. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  16. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  17. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  18. final def just[A](a: A): Maybe[A]
  19. implicit def maybeBand[A](implicit arg0: Band[A]): Band[Maybe[A]]
    Definition Classes
    MaybeInstances1
  20. implicit def maybeEqual[A](implicit arg0: Equal[A]): Equal[Maybe[A]]
    Definition Classes
    MaybeInstances
  21. implicit def maybeFirstMonad: Monad[FirstMaybe]
    Definition Classes
    MaybeInstances
  22. implicit def maybeFirstMonoid[A]: Monoid[FirstMaybe[A]] with Band[FirstMaybe[A]]
    Definition Classes
    MaybeInstances
  23. implicit def maybeFirstOrder[A](implicit A: Order[Maybe[A]]): Order[FirstMaybe[A]]
    Definition Classes
    MaybeInstances
  24. implicit def maybeFirstShow[A](implicit A: Show[Maybe[A]]): Show[FirstMaybe[A]]
    Definition Classes
    MaybeInstances
  25. implicit val maybeInstance: Traverse[Maybe] with MonadPlus[Maybe] with BindRec[Maybe] with Cozip[Maybe] with Zip[Maybe] with Unzip[Maybe] with Align[Maybe] with IsEmpty[Maybe] with Cobind[Maybe] with Optional[Maybe]
    Definition Classes
    MaybeInstances
  26. implicit def maybeLastMonad: Monad[LastMaybe]
    Definition Classes
    MaybeInstances
  27. implicit def maybeLastMonoid[A]: Monoid[LastMaybe[A]] with Band[LastMaybe[A]]
    Definition Classes
    MaybeInstances
  28. implicit def maybeLastOrder[A](implicit A: Order[Maybe[A]]): Order[LastMaybe[A]]
    Definition Classes
    MaybeInstances
  29. implicit def maybeLastShow[A](implicit A: Show[Maybe[A]]): Show[LastMaybe[A]]
    Definition Classes
    MaybeInstances
  30. implicit def maybeMax[A](implicit o: Order[A]): Monoid[MaxMaybe[A]] with Band[MaxMaybe[A]]
    Definition Classes
    MaybeInstances
  31. implicit def maybeMaxMonad: Monad[MaxMaybe]
    Definition Classes
    MaybeInstances
  32. implicit def maybeMaxOrder[A](implicit arg0: Order[A]): Order[MaxMaybe[A]]
    Definition Classes
    MaybeInstances
  33. implicit def maybeMaxShow[A](implicit arg0: Show[A]): Show[MaxMaybe[A]]
    Definition Classes
    MaybeInstances
  34. implicit def maybeMin[A](implicit o: Order[A]): Monoid[MinMaybe[A]] with Band[MinMaybe[A]]
    Definition Classes
    MaybeInstances
  35. implicit def maybeMinMonad: Monad[MinMaybe]
    Definition Classes
    MaybeInstances
  36. implicit def maybeMinOrder[A](implicit arg0: Order[A]): Order[MinMaybe[A]]
    Definition Classes
    MaybeInstances
  37. implicit def maybeMinShow[A](implicit arg0: Show[A]): Show[MinMaybe[A]]
    Definition Classes
    MaybeInstances
  38. implicit def maybeMonoid[A](implicit arg0: Semigroup[A]): Monoid[Maybe[A]]
    Definition Classes
    MaybeInstances
  39. implicit def maybeOrder[A](implicit arg0: Order[A]): Order[Maybe[A]]
    Definition Classes
    MaybeInstances
  40. implicit def maybeSemiLattice[A](implicit A: SemiLattice[A]): SemiLattice[Maybe[A]]
    Definition Classes
    MaybeInstances0
  41. implicit def maybeShow[A](implicit A: Show[A]): Show[Maybe[A]]
    Definition Classes
    MaybeInstances
  42. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  43. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  44. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  45. val optionMaybeIso: Isomorphism.<~>[Option, Maybe]
  46. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  47. def toString(): String
    Definition Classes
    AnyRef → Any
  48. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  49. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  50. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()

Inherited from MaybeInstances

Inherited from MaybeInstances0

Inherited from MaybeInstances1

Inherited from AnyRef

Inherited from Any

Ungrouped