Packages

object Maybe extends MaybeInstances with MaybeFunctions

Source
Maybe.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Maybe
  2. MaybeFunctions
  3. MaybeInstances
  4. AnyRef
  5. 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 clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. final def empty[A]: Maybe[A]
    Definition Classes
    MaybeFunctions
  7. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  8. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  9. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  10. final def fromNullable[A](a: A): Maybe[A]

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

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

Inherited from MaybeFunctions

Inherited from MaybeInstances

Inherited from AnyRef

Inherited from Any

Ungrouped