case class NonReturn(key: String, hard: Boolean) extends Uniform[Needs[_, _], Any, Unit] with Product with Serializable
- Alphabetic
- By Inheritance
- NonReturn
- Serializable
- Product
- Equals
- Uniform
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new NonReturn(key: String, hard: Boolean)
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
- def emptyUnless[B >: Unit, T1 <: Any, R1 <: Needs[_, _]](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")
- Definition Classes
- Uniform
- def emptyUnless[B >: Unit](predicate: => Boolean)(implicit mon: Monoid[B]): Uniform[Needs[_, _], Any, 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
- Definition Classes
- Uniform
- def emptyWhen[B >: Unit, T1 <: Any, R1 <: Needs[_, _]](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")
- Definition Classes
- Uniform
- def emptyWhen[B >: Unit](predicate: => Boolean)(implicit mon: Monoid[B]): Uniform[Needs[_, _], Any, 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
- Definition Classes
- Uniform
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def flatMap[R1 <: Needs[_, _], B, T1 <: Any](f: (Unit) => Uniform[R1, T1, B]): Uniform[R1, T1, B]
- Definition Classes
- Uniform
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- val hard: Boolean
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val key: String
- def map[F[_], B](f: (Unit) => B): Uniform[Needs[_, _], Any, B]
- Definition Classes
- Uniform
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def unless[R1 <: Needs[_, _], T1 <: Any](wmb: Uniform[R1, T1, Boolean]): Uniform[R1, T1, Option[Unit]]
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")
- Definition Classes
- Uniform
- def unless(predicate: => Boolean): Uniform[Needs[_, _], Any, Option[Unit]]
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
- Definition Classes
- Uniform
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- def when[R1 <: Needs[_, _], T1 <: Any](wmb: Uniform[R1, T1, Boolean]): Uniform[R1, T1, Option[Unit]]
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")
- Definition Classes
- Uniform
- def when(predicate: => Boolean): Uniform[Needs[_, _], Any, Option[Unit]]
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
- Definition Classes
- Uniform
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated