module Nat:Natural numbers as identifiers.T
with type t = int
type
t
val invalid : t
val is_valid : t -> bool
val equal : t -> t -> bool
equal x y = (x = y)
val hash : t -> int
val compare : t -> t -> int
compare x y
is an arbitrary order for x
and y
Id.T.is_valid
x
Id.T.is_valid
y
(compare x y = 0) = (x = y)