module Nat_generator:Generators for identifiers in an initial region of the naturals.Generatorwith type t = int
A generator g has identifiers in the range 0
.. Nat_generator.count g - 1.
include Id.T
type generator
val new_generator : unit -> generatorval fresh : generator -> tval count : generator -> int
count >= 0val iter : (t -> unit) -> generator -> unitval fold : ('a -> t -> 'a) -> 'a -> generator -> 'a