final class NatRep[N <: Nat] extends AnyVal
Builds a value level representation of the Nat
Author:
Harshad Deo
- N
Natural number for which the value level representation is being built
- Since
0.1
- Alphabetic
- By Inheritance
- NatRep
- AnyVal
- Any
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
- Public
- Protected
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- Any
- final def ##(): Int
- Definition Classes
- Any
- def +(other: String): String
- def ->[B](y: B): (NatRep[N], B)
- final def ==(arg0: Any): Boolean
- Definition Classes
- Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def ensuring(cond: (NatRep[N]) => Boolean, msg: => Any): NatRep[N]
- def ensuring(cond: (NatRep[N]) => Boolean): NatRep[N]
- def ensuring(cond: Boolean, msg: => Any): NatRep[N]
- def ensuring(cond: Boolean): NatRep[N]
- def formatted(fmtstr: String): String
- def getClass(): Class[_ <: AnyVal]
- Definition Classes
- AnyVal → Any
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def toString(): String
- Definition Classes
- Any
- val v: Int
Deprecated Value Members
- def →[B](y: B): (NatRep[N], B)
- Implicit
- This member is added by an implicit conversion from NatRep[N] toArrowAssoc[NatRep[N]] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) Use
->
instead. If you still wish to display it as one character, consider using a font with programming ligatures such as Fira Code.