object nat
- Alphabetic
- By Inheritance
- nat
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Type Members
- trait BoundedRange[A <: Bound, B <: Bound] extends DepFn0 with Serializable
Type class witnessing that
Outis an HList ofNatnumbers ranging fromAtoB.Type class witnessing that
Outis an HList ofNatnumbers ranging fromAtoB.This differs from the
Rangetype class in that it accepts another type class,Bound, at both the start and end of the range (instead of bareNattypes). This allows the flexibility to specify inclusive or exclusive range boundaries for either end of the range.Reversed ranges are also possible (i.e. starting the range with a larger number than it ends with), and results in an HList that counts from the beginning of the range _down to_ the end of the range.
- trait Diff[A <: Nat, B <: Nat] extends Serializable
Type class witnessing that
Cis the difference ofAandB. - trait Div[A <: Nat, B <: Nat] extends Serializable
Type class witnessing that
Outis the quotient ofAandB. - trait GCD[A <: Nat, B <: Nat] extends Serializable
- type GT[A <: Nat, B <: Nat] = LT[B, A]
Type class witnessing that
Ais greater thanB. - type GTEq[A <: Nat, B <: Nat] = LTEq[B, A]
Type class witnessing that
Ais greater than or equal toB. - trait LCM[A <: Nat, B <: Nat] extends Serializable
Type class for calculating the Least Common Multiple
- trait LT[A <: Nat, B <: Nat] extends Serializable
Type class witnessing that
Ais less thanB. - trait LT0 extends AnyRef
- trait LTEq[A <: Nat, B <: Nat] extends Serializable
Type class witnessing that
Ais less than or equal toB. - trait LTEq0 extends AnyRef
- trait LowPriorityGCD extends AnyRef
Type class implementing Euclidean algorithm for calculating the GCD
- trait Max[A <: Nat, B <: Nat] extends Serializable
Type class witnessing that
OutisAmaxB. - trait Min[A <: Nat, B <: Nat] extends Serializable
Type class witnessing that
OutisAminB. - trait Mod[A <: Nat, B <: Nat] extends Serializable
Typeclass witnessing that
OutisAmodB. - trait Pow[N <: Nat, X <: Nat] extends Serializable
Type class witnessing that
OutisXraised to the powerN. - trait Pred[A <: Nat] extends Serializable
Type class witnessing that
Bis the predecessor ofA. - trait Prod[A <: Nat, B <: Nat] extends Serializable
Type class witnessing that
Cis the product ofAandB. - trait Range[A <: Nat, B <: Nat] extends DepFn0 with Serializable
Type class witnessing that
Outis rangeAtoB, inclusive ofAand exclusive ofB. - trait Sum[A <: Nat, B <: Nat] extends Serializable
Type class witnessing that
Cis the sum ofAandB. - trait ToInt[N <: Nat] extends Serializable
Type class supporting conversion of type-level Nats to value level Ints.
- class ToIntMacros extends CaseClassMacros
- Annotations
- @bundle()
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[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- 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()
- object BoundedRange extends Serializable
- object Diff extends Serializable
- object Div extends Serializable
- object GCD extends LowPriorityGCD with Serializable
- object GT
- object GTEq
- object LCM extends Serializable
- object LT extends LT0 with Serializable
- object LTEq extends LTEq0 with Serializable
- object Max extends Serializable
- object Min extends Serializable
- object Mod extends Serializable
- object Pow extends Serializable
- object Pred extends Serializable
- object Prod extends Serializable
- object Range extends Serializable
- object Sum extends Serializable
- object ToInt extends Serializable