sealed
trait
Nat extends AnyRef
Type Members
-
abstract
type
Compare[N <: Nat] <: Comparison
-
abstract
type
FoldL[Init <: Type, Type, F <: Fold[Nat, Type]] <: Type
-
abstract
type
FoldR[Init <: Type, Type, F <: Fold[Nat, Type]] <: Type
-
abstract
type
Match[NonZero[N <: Nat] <: Up, IfZero <: Up, Up] <: Up
Value Members
-
final
def
!=(arg0: Any): Boolean
-
final
def
##(): Int
-
def
+(other: String): String
-
def
->[B](y: B): (Nat, B)
-
final
def
==(arg0: Any): Boolean
-
final
def
asInstanceOf[T0]: T0
-
def
clone(): AnyRef
-
def
ensuring(cond: (Nat) ⇒ Boolean, msg: ⇒ Any): Nat
-
def
ensuring(cond: (Nat) ⇒ Boolean): Nat
-
def
ensuring(cond: Boolean, msg: ⇒ Any): Nat
-
def
ensuring(cond: Boolean): Nat
-
-
-
def
finalize(): Unit
-
def
formatted(fmtstr: String): String
-
final
def
getClass(): Class[_]
-
def
hashCode(): Int
-
final
def
isInstanceOf[T0]: Boolean
-
-
final
def
notify(): Unit
-
final
def
notifyAll(): Unit
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
-
def
toString(): String
-
final
def
wait(): Unit
-
final
def
wait(arg0: Long, arg1: Int): Unit
-
final
def
wait(arg0: Long): Unit
-
def
→[B](y: B): (Nat, B)
Inherited by implicit conversion any2stringadd from
Nat to any2stringadd[Nat]
Inherited by implicit conversion StringFormat from
Nat to StringFormat[Nat]
Inherited by implicit conversion Ensuring from
Nat to Ensuring[Nat]
Inherited by implicit conversion ArrowAssoc from
Nat to ArrowAssoc[Nat]
Peano encoding of natural numbers
Author:
Harshad Deo
0.1