Object

shapeless.ops

nat

Related Doc: package ops

Permalink

object nat

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. nat
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. trait BoundedRange[A <: Bound, B <: Bound] extends DepFn0 with Serializable

    Permalink

    Type class witnessing that Out is an HList of Nat numbers ranging from A to B.

    Type class witnessing that Out is an HList of Nat numbers ranging from A to B.

    This differs from the Range type class in that it accepts another type class, Bound, at both the start and end of the range (instead of bare Nat types). 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.

  2. trait Diff[A <: Nat, B <: Nat] extends Serializable

    Permalink

    Type class witnessing that C is the difference of A and B.

  3. trait Div[A <: Nat, B <: Nat] extends Serializable

    Permalink

    Type class witnessing that Out is the quotient of A and B.

  4. trait GCD[A <: Nat, B <: Nat] extends Serializable

    Permalink
  5. type GT[A <: Nat, B <: Nat] = LT[B, A]

    Permalink

    Type class witnessing that A is greater than B.

  6. type GTEq[A <: Nat, B <: Nat] = LTEq[B, A]

    Permalink

    Type class witnessing that A is greater than or equal to B.

  7. trait LCM[A <: Nat, B <: Nat] extends Serializable

    Permalink

    Type class for calculating the Least Common Multiple

  8. trait LT[A <: Nat, B <: Nat] extends Serializable

    Permalink

    Type class witnessing that A is less than B.

  9. trait LT0 extends AnyRef

    Permalink
  10. trait LTEq[A <: Nat, B <: Nat] extends Serializable

    Permalink

    Type class witnessing that A is less than or equal to B.

  11. trait LTEq0 extends AnyRef

    Permalink
  12. trait LowPriorityGCD extends AnyRef

    Permalink

    Type class implementing Euclidean algorithm for calculating the GCD

  13. trait Max[A <: Nat, B <: Nat] extends Serializable

    Permalink

    Type class witnessing that Out is A max B.

  14. trait Min[A <: Nat, B <: Nat] extends Serializable

    Permalink

    Type class witnessing that Out is A min B.

  15. trait Mod[A <: Nat, B <: Nat] extends Serializable

    Permalink

    Typeclass witnessing that Out is A mod B.

  16. trait Pow[N <: Nat, X <: Nat] extends Serializable

    Permalink

    Type class witnessing that Out is X raised to the power N.

  17. trait Pred[A <: Nat] extends Serializable

    Permalink

    Type class witnessing that B is the predecessor of A.

  18. trait Prod[A <: Nat, B <: Nat] extends Serializable

    Permalink

    Type class witnessing that C is the product of A and B.

  19. trait Range[A <: Nat, B <: Nat] extends DepFn0 with Serializable

    Permalink

    Type class witnessing that Out is range A to B, inclusive of A and exclusive of B.

  20. trait Sum[A <: Nat, B <: Nat] extends Serializable

    Permalink

    Type class witnessing that C is the sum of A and B.

  21. trait ToInt[N <: Nat] extends Serializable

    Permalink

    Type class supporting conversion of type-level Nats to value level Ints.

  22. class ToIntMacros extends CaseClassMacros

    Permalink
    Annotations
    @bundle()

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. object BoundedRange extends Serializable

    Permalink
  5. object Diff extends Serializable

    Permalink
  6. object Div extends Serializable

    Permalink
  7. object GCD extends LowPriorityGCD with Serializable

    Permalink
  8. object GT

    Permalink
  9. object GTEq

    Permalink
  10. object LCM extends Serializable

    Permalink
  11. object LT extends LT0 with Serializable

    Permalink
  12. object LTEq extends LTEq0 with Serializable

    Permalink
  13. object Max extends Serializable

    Permalink
  14. object Min extends Serializable

    Permalink
  15. object Mod extends Serializable

    Permalink
  16. object Pow extends Serializable

    Permalink
  17. object Pred extends Serializable

    Permalink
  18. object Prod extends Serializable

    Permalink
  19. object Range extends Serializable

    Permalink
  20. object Sum extends Serializable

    Permalink
  21. object ToInt extends Serializable

    Permalink
  22. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  23. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  24. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  25. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  26. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  27. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  28. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  29. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  30. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  31. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  32. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  33. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  34. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  35. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  36. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  37. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped