ListLimit

ai.hylo.graviton.client.GravitonClient.ListLimit
object ListLimit extends RefinedSubtype[Int, GreaterEqual[1] & LessEqual[1000]]

Attributes

Source
GravitonClient.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
ListLimit.type

Members list

Type members

Inherited and Abstract types

override opaque type T

Attributes

Inherited from:
RefinedSubtype
Source
RefinedType.scala

Value members

Inherited methods

inline def apply[A1 <: Int](inline value: A1)(using inline constraint: Constraint[Int, GreaterEqual[1] & LessEqual[1000]]): T

Implicitly refine at compile-time the given value.

Implicitly refine at compile-time the given value.

Value parameters

value

the value to refine.

Attributes

Note

This method ensures that the value satisfies the constraint. If it doesn't or isn't evaluable at compile-time, the compilation is aborted.

Inherited from:
Refined (hidden)
Source
RefinedType.scala
inline def applyAllUnsafe[F[_]](wrapper: F[Int])(using mapLogic: MapLogic[F]): F[T]

Refine the given value(s) at runtime.

Refine the given value(s) at runtime.

Attributes

Returns

the given values as T.

Throws
IllegalArgumentException

if the constraint is not satisfied.

See also
Inherited from:
Refined (hidden)
Source
RefinedType.scala
inline def assume(value: Int): T

Refine the given value, assuming the constraint holds.

Refine the given value, assuming the constraint holds.

Attributes

Returns

a constrained value, without performing constraint checks.

See also
Inherited from:
Refined (hidden)
Source
RefinedType.scala
inline def assumeAll[F[_]](wrapper: F[Int]): F[T]

Refine the given value(s), assuming the constraint holds.

Refine the given value(s), assuming the constraint holds.

Attributes

Returns

a wrapper of constrained values, without performing constraint checks.

See also
Inherited from:
Refined (hidden)
Source
RefinedType.scala

Refine the given value at runtime, resulting in an Either.

Refine the given value at runtime, resulting in an Either.

Attributes

Returns

a Right containing this value as T or a Left containing the constraint message.

See also
Inherited from:
Refined (hidden)
Source
RefinedType.scala
inline def eitherAll[F[_]](wrapper: F[Int])(using mapLogic: MapLogic[F]): Either[String, F[T]]

Refine the given value(s) at runtime, resulting in an Either.

Refine the given value(s) at runtime, resulting in an Either.

Attributes

Returns

a Right containing the given values as T or a Left containing the constraint message.

See also
Inherited from:
Refined (hidden)
Source
RefinedType.scala
def option(value: Int): Option[T]

Refine the given value at runtime, resulting in an Option.

Refine the given value at runtime, resulting in an Option.

Attributes

Returns

an Option containing this value as T or None.

See also
Inherited from:
Refined (hidden)
Source
RefinedType.scala
inline def optionAll[F[_]](wrapper: F[Int])(using mapLogic: MapLogic[F]): Option[F[T]]

Refine the given value at runtime, resulting in an Option.

Refine the given value at runtime, resulting in an Option.

Attributes

Returns

an Option containing the refined values as F[T] or None.

See also
Inherited from:
Refined (hidden)
Source
RefinedType.scala
inline def rtc: RuntimeConstraint[Int, GreaterEqual[1] & LessEqual[1000]]

The runtime constraint of the underlying IronType. Can be used in non-inline methods and to improve runtime performances.

The runtime constraint of the underlying IronType. Can be used in non-inline methods and to improve runtime performances.

Attributes

Inherited from:
Refined (hidden)
Source
RefinedType.scala
override def unapply(value: Int): Option[T]

Attributes

Definition Classes
Inherited from:
RefinedSubtype
Source
RefinedType.scala

Concrete fields

Attributes

Source
GravitonClient.scala

Givens

Inherited givens

inline given given_Mirror_T: => given_Mirror_T

Attributes

Inherited from:
Refined (hidden)
Source
RefinedType.scala

Attributes

Inherited from:
Refined (hidden)
Source
RefinedType.scala
inline given given_TypeTest_T_R: [R] => TypeTest[T, R]

Attributes

Inherited from:
Refined (hidden)
Source
RefinedType.scala

Extensions

Inherited extensions

extension (wrapper: T)
inline def value: IronType[Int, GreaterEqual[1] & LessEqual[1000]]

Attributes

Inherited from:
Refined (hidden)
Source
RefinedType.scala