module Var:sig..end
A Variable is a pair of a unique Name, and a type.
Since 1.0
type 'a t = private {
|
id : |
|
ty : |
type'avar ='a t
val make : ty:'a -> ID.t -> 'a t
val of_string : ty:'a -> string -> 'a tVar.makeval gensym : ty:'a -> unit -> 'a t
val copy : 'a t -> 'a tcopy v is similar to v but with a fresh IDval update_ty : 'a t -> f:('a -> 'b) -> 'b tval id : 'a t -> ID.t
val ty : 'a t -> 'a
val name : 'a t -> string
val compare : 'a t -> 'b t -> int
val equal : 'a t -> 'b t -> bool
val hash : 'a t -> int
val hash_fun : 'a t CCHash.hash_fun
val pp : 'a t CCFormat.printer
val to_string : 'a t -> string
val pp_full : 'a t CCFormat.printer
val pp_fullc : 'a t CCFormat.printermodule Set:sig..end
module Subst:sig..end