Packages

sealed abstract class LazyEither[A, B] extends AnyRef

scala.Either, but with a value by name.

Source
LazyEither.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. LazyEither
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

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. def ?[X](left: => X, right: => X): X

    Catamorphism of the constructor chosen.

  5. def ap[C](f: => LazyEither[A, (B) => C]): LazyEither[A, C]
  6. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  7. def bimap[C, D](f: (=> A) => C, g: (=> B) => D): LazyEither[C, D]
  8. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  9. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  10. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  11. def exists(f: (=> B) => Boolean): Boolean
  12. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  13. def flatMap[AA >: A, C](f: (=> B) => LazyEither[AA, C]): LazyEither[AA, C]
  14. def fold[X](left: (=> A) => X, right: (=> B) => X): X
  15. def foldRight[Z](z: => Z)(f: (B, => Z) => Z): Z
  16. def forall(f: (=> B) => Boolean): Boolean
  17. def foreach(f: (=> B) => Unit): Unit
  18. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  19. def getOrElse[BB >: B](default: => BB): BB
  20. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  21. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  22. def isLeft: Boolean
  23. def isRight: Boolean
  24. def left: LeftProjection[A, B]
  25. def leftMap[C](f: (=> A) => C): LazyEither[C, B]

    Run the given function on the left value.

  26. def map[C](f: (=> B) => C): LazyEither[A, C]
  27. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  28. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  29. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  30. def orElse(x: => LazyEither[A, B]): LazyEither[A, B]
  31. def swap: LazyEither[B, A]
  32. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  33. def toDisjunction: \/[A, B]
  34. def toEither: Either[A, B]
  35. def toIList[BB >: B]: IList[BB]
  36. def toLazyOption: LazyOption[B]
  37. def toList: List[B]
  38. def toMaybe[BB >: B]: Maybe[BB]
  39. def toOption: Option[B]
  40. def toStream: Stream[B]
  41. def toString(): String
    Definition Classes
    AnyRef → Any
  42. def traverse[G[_], C](f: (B) => G[C])(implicit arg0: Applicative[G]): G[LazyEither[A, C]]
  43. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  44. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  45. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()

Deprecated Value Members

  1. def disjunction: \/[A, B]
    Annotations
    @deprecated
    Deprecated

    (Since version 7.3.0) Use toDisjunction

Inherited from AnyRef

Inherited from Any

Ungrouped