Commit e8ebd69d authored by Kim Nguyễn's avatar Kim Nguyễn

Rework the type variable infrastructure. Remove it from the type structure and...

Rework the type variable infrastructure. Remove it from the type structure and have the auxiliary function cache the results as needed.
parent 8ff33414
This diff is collapsed.
module V = struct
type t = { id : string; repr : string }
let dump ppf t =
......
......@@ -30,6 +30,7 @@ module Set : sig
val cardinal : t -> int
val from_list : var list -> t
val fold : ('a -> var -> 'a) -> 'a -> t -> 'a
val choose : t -> var
end
type 'a pairvar = [ `Atm of 'a | var ]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment