Packages

trait Uniform[-R <: Needs[_, _], -T, +A] extends AnyRef

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Uniform
  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. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
  6. def emptyUnless[B >: A, T1 <: T, R1 <: R](wmb: Uniform[R1, T1, Boolean])(implicit mon: Monoid[B]): Uniform[R1, T1, B]

    Returns monoid empty unless the predicate given is true, will short circuit if possible.

    Returns monoid empty unless the predicate given is true, will short circuit if possible.

    ask[Salary]("salary") emptyUnless ask[Boolean]("employed")
  7. def emptyUnless[B >: A](predicate: => Boolean)(implicit mon: Monoid[B]): Uniform[R, T, B]

    Returns monoid empty unless the predicate given is true, will short circuit if possible.

    Returns monoid empty unless the predicate given is true, will short circuit if possible.

    ask[Salary]("salary") emptyUnless user.isEmployed
  8. def emptyWhen[B >: A, T1 <: T, R1 <: R](wmb: Uniform[R1, T1, Boolean])(implicit mon: Monoid[B]): Uniform[R1, T1, B]

    Returns monoid empty when the predicate given is true, will short circuit if possible.

    Returns monoid empty when the predicate given is true, will short circuit if possible.

    ask[Salary]("salary") emptyWhen ask[Boolean]("is-exempt")
  9. def emptyWhen[B >: A](predicate: => Boolean)(implicit mon: Monoid[B]): Uniform[R, T, B]

    Returns monoid empty when the predicate given is true, will short circuit if possible.

    Returns monoid empty when the predicate given is true, will short circuit if possible.

    ask[Salary]("salary") emptyWhen user.isExempt
  10. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  11. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  12. def flatMap[R1 <: R, B, T1 <: T](f: (A) => Uniform[R1, T1, B]): Uniform[R1, T1, B]
  13. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  14. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  15. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  16. def map[F[_], B](f: (A) => B): Uniform[R, T, B]
  17. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  18. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  19. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  20. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  21. def toString(): String
    Definition Classes
    AnyRef → Any
  22. def unless[R1 <: R, T1 <: T](wmb: Uniform[R1, T1, Boolean]): Uniform[R1, T1, Option[A]]

    Returns None when the predicate given is true, will short circuit if possible.

    Returns None when the predicate given is true, will short circuit if possible.

    ask[Salary]("salary") unless ask[Boolean]("is-exempt")
  23. def unless(predicate: => Boolean): Uniform[R, T, Option[A]]

    Returns None when the predicate given is true, will short circuit if possible.

    Returns None when the predicate given is true, will short circuit if possible.

    ask[Salary]("salary") unless user.isExempt
  24. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  25. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  26. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  27. def when[R1 <: R, T1 <: T](wmb: Uniform[R1, T1, Boolean]): Uniform[R1, T1, Option[A]]

    Returns None unless the predicate given is true, will short circuit if possible.

    Returns None unless the predicate given is true, will short circuit if possible.

    ask[Salary]("salary") when ask[Boolean]("employed")
  28. def when(predicate: => Boolean): Uniform[R, T, Option[A]]

    Returns None unless the predicate given is true, will short circuit if possible.

    Returns None unless the predicate given is true, will short circuit if possible.

    ask[Salary]("salary") when user.isEmployed

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

Inherited from AnyRef

Inherited from Any

Ungrouped