package electrod

  1. Overview
  2. Docs

Provides fresh identifiers for variables (in formulas) at every stage.

type t

type of an identifier: essentially a base string and a globally unique number

val fresh : ?sep:string -> ?loc:Location.t -> string -> t

Creates a fresh identifier (loc is the location of the originating identifier, if there is one).

val fresh_copy : t -> t
val fresh_of_raw_ident : ?sep:string -> Raw_ident.t -> t
val compare : t -> t -> int
val equal : t -> t -> bool
val style : Fmt.style
include Intf.Print.S with type t := t
val pp : t Fmtc.t
val to_string : t -> string