Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
val create : prefix:string -> unit -> t
Creates a gensym with a given prefix and counter set to 0.
Generates a new symbol and then increments the counter.
The symbol will have the form prefix ^ i
, where prefix
is the prefix passed to create
and i
is the current counter value.
Sequentially generates a symbol list with as many elements as in length_list
.
val reset : t -> unit
Resets the inner counter to 0.