Ty.VarA module for variables that occur in types.
type t = ty_varThe type of variables the can occur in types
val print : Format.formatter -> t -> unitPrinter.
val hash : t -> intA hash function for type variables, should be suitable to create hashtables.
An equality function on type variables. Should be compatible with the hash function.
val mk : string -> tCreate a new type variable with the given name.
val wildcard : unit -> tType wildcard
val is_wildcard : t -> boolPredictae to distinguish wildcard type variables.
Get the list of values bound to a list tag, returning the empty list if no value is bound.
Optionally bind an additional value to a list tag.
Bind a list of additional values to a list tag.