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
Mylloon 03e0e0244d
* very basic inference
* basic tests (not all passes)
* apply, unify and compose are here but they may contains bugs
2024-03-28 19:20:37 +01:00

8 lines
227 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 -> Type.t Map.Make(Identifier).t