1
0
Fork 0
This repository has been archived on 2024-05-03. You can view files and clone it, but cannot push or open issues or pull requests.
unification-pfa/lib/typeSubstitution.mli
2024-04-30 13:36:12 +02:00

11 lines
300 B
OCaml

type t = Type.t Map.Make(Identifier).t
val apply : t -> Type.t -> Type.t
(* compose s2 s1 : first s1, then s2 *)
val compose : t -> t -> t
val empty : t
val singleton : Identifier.t -> Type.t -> t
val find : Identifier.t -> t -> Type.t option
val to_string : t -> string
val equal : t -> t -> bool