final
class
Succ[N <: Nat] extends Nat
Instance Constructors
-
new
Succ()
Type Members
-
type
Compare[M <: Nat] = Compare.M.Match[N.Compare, GT, Comparison]
-
type
FoldL[Init <: Type, Type, F <: Fold[Nat, Type]] = N.FoldL[FoldL.F.Apply[Succ[N], Init], Type, F]
-
type
FoldR[Init <: Type, Type, F <: Fold[Nat, Type]] = FoldR.F.Apply[Succ[N], N.FoldR[Init, Type, F]]
-
type
Match[NonZero[M <: Nat] <: Up, IfZero <: Up, Up] = NonZero[N]
Value Members
-
final
def
!=(arg0: Any): Boolean
-
final
def
##(): Int
-
def
+(other: String): String
-
def
->[B](y: B): (Succ[N], B)
-
final
def
==(arg0: Any): Boolean
-
final
def
asInstanceOf[T0]: T0
-
def
clone(): AnyRef
-
def
ensuring(cond: (Succ[N]) ⇒ Boolean, msg: ⇒ Any): Succ[N]
-
def
ensuring(cond: (Succ[N]) ⇒ Boolean): Succ[N]
-
def
ensuring(cond: Boolean, msg: ⇒ Any): Succ[N]
-
def
ensuring(cond: Boolean): Succ[N]
-
-
-
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): (Succ[N], B)
Inherited by implicit conversion any2stringadd from
Succ[N] to any2stringadd[Succ[N]]
Inherited by implicit conversion StringFormat from
Succ[N] to StringFormat[Succ[N]]
Inherited by implicit conversion Ensuring from
Succ[N] to Ensuring[Succ[N]]
Inherited by implicit conversion ArrowAssoc from
Succ[N] to ArrowAssoc[Succ[N]]
Represents a successor in the peano encoding of natural numbers
Author:
Harshad Deo
Peano-type to which this is a successor
0.1