package syntax
- Alphabetic
- Public
- All
Type Members
- trait GreaterThan[A] extends (A) => Constraint[A]
Base trait for implementing constraints which require a value to be greater than a given threshold.
Base trait for implementing constraints which require a value to be greater than a given threshold.
- Annotations
- @implicitNotFound("No 'GreaterThan' (_ > x) implementation found for ${A}")
- trait GreaterThanOrEqual[A] extends (A) => Constraint[A]
Base trait for implementing constraints which require a value to be greater than or equal to a given threshold.
Base trait for implementing constraints which require a value to be greater than or equal to a given threshold.
- Annotations
- @implicitNotFound("No 'GreaterThanOrEqual' (_ >= x) implementation found for ${A}")
- trait LengthGreaterThan[A] extends (Int) => Constraint[A]
Base trait for implementing constraints which require the <u>length</u> of a value to be greater than a given threshold.
Base trait for implementing constraints which require the <u>length</u> of a value to be greater than a given threshold.
- Annotations
- @implicitNotFound("No 'LengthGreaterThan' (_.length > x) implementation found for ${A}")
- trait LengthGreaterThanOrEqual[A] extends (Int) => Constraint[A]
Base trait for implementing constraints which require the <u>length</u> of a value to be greater than or equal to a given threshold.
Base trait for implementing constraints which require the <u>length</u> of a value to be greater than or equal to a given threshold.
- Annotations
- @implicitNotFound("No 'LengthGreaterThanOrEqual' (_.length >= x) implementation found for ${A}")
- trait LengthLessThan[A] extends (Int) => Constraint[A]
Base trait for implementing constraints which require the <u>length</u> of a value to be less than a given threshold.
Base trait for implementing constraints which require the <u>length</u> of a value to be less than a given threshold.
- Annotations
- @implicitNotFound("No 'LengthLessThan' (_.length < x) implementation found for ${A}")
- trait LengthLessThanOrEqual[A] extends (Int) => Constraint[A]
Base trait for implementing constraints which require the <u>length</u> of a value to be less than or equal to a given threshold.
Base trait for implementing constraints which require the <u>length</u> of a value to be less than or equal to a given threshold.
- Annotations
- @implicitNotFound("No 'LengthLessThanOrEqual' (_.length <= x) implementation found for ${A}")
- trait LessThan[A] extends (A) => Constraint[A]
Base trait for implementing constraints which require a value to be less than a given threshold.
Base trait for implementing constraints which require a value to be less than a given threshold.
- Annotations
- @implicitNotFound("No 'LessThan' (_ < x) implementation found for ${A}")
- trait LessThanOrEqual[A] extends (A) => Constraint[A]
Base trait for implementing constraints which require a value to be less than or equal to a given threshold.
Base trait for implementing constraints which require a value to be less than or equal to a given threshold.
- Annotations
- @implicitNotFound("No 'LessThanOrEqual' (_ <= x) implementation found for ${A}")
- trait Matches[A] extends (Regex) => Constraint[A]
Based trait for implementing constraints which require a value to match a regular expression.
Based trait for implementing constraints which require a value to match a regular expression.
- Annotations
- @implicitNotFound("No 'Matches' (_ matches x) implementation found for ${A}")
Value Members
- object ConstraintSyntax
Contains the syntax (i.e.
Contains the syntax (i.e. operators etc.) for specifying constraints of a factory method.
The term syntax refers to the fact that all methods don't contain any implementation beyond delegating to a respective (implicitly provided) type class.