Fix.GensymThis module offers a simple facility for generating fresh integer identifiers.
val make : unit -> gensymmake() produces a new gensym.
val generator : unit -> generatorgenerator() creates a new generator.
val fresh : generator -> intfresh g causes the generator g to create and return a fresh integer identifier.
val current : generator -> intcurrent g returns the current state of the generator g, that is, the next available integer identifier.