case class ListOf[-R <: Needs[_, _], A](key: String, base: (Option[Int], List[A]) => Uniform[R, Unit, A], default: Option[List[A]], validation: Rule[List[A]], customContent: scala.collection.immutable.Map[String, (String, List[Any])], tag: Tag[A]) extends Uniform[R with AskList[A], Any, List[A]] with Product with Serializable
- Alphabetic
- By Inheritance
- ListOf
- Serializable
- Product
- Equals
- Uniform
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
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
- val base: (Option[Int], List[A]) => Uniform[R, Unit, A]
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
- val customContent: scala.collection.immutable.Map[String, (String, List[Any])]
- val default: Option[List[A]]
- def emptyUnless[B >: List[A], T1 <: Any, R1 <: R with AskList[A]](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 >: List[A]](predicate: => Boolean)(implicit mon: Monoid[B]): Uniform[R with AskList[A], 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 >: List[A], T1 <: Any, R1 <: R with AskList[A]](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 >: List[A]](predicate: => Boolean)(implicit mon: Monoid[B]): Uniform[R with AskList[A], 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 <: R with AskList[A], B, T1 <: Any](f: (List[A]) => Uniform[R1, T1, B]): Uniform[R1, T1, B]
- Definition Classes
- Uniform
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val key: String
- def map[F[_], B](f: (List[A]) => B): Uniform[R with AskList[A], 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
- val tag: Tag[A]
- def unless[R1 <: R with AskList[A], T1 <: Any](wmb: Uniform[R1, T1, Boolean]): Uniform[R1, T1, Option[List[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")
- Definition Classes
- Uniform
- def unless(predicate: => Boolean): Uniform[R with AskList[A], Any, Option[List[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
- Definition Classes
- Uniform
- val validation: Rule[List[A]]
- 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 <: R with AskList[A], T1 <: Any](wmb: Uniform[R1, T1, Boolean]): Uniform[R1, T1, Option[List[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")
- Definition Classes
- Uniform
- def when(predicate: => Boolean): Uniform[R with AskList[A], Any, Option[List[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
- Definition Classes
- Uniform
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated