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/unification.mli
2024-03-11 15:18:02 +01:00

9 lines
304 B
OCaml

(*
The function `unify` must compute the substitution
`s` such that if `unify t1 t2 = Some s` then
`apply s t1 = apply s t2`.
You can use the slides on the Herbrand / Robinson algorithm
to start designing your implementation.
*)
val unify : Type.t -> Type.t -> TypeSubstitution.t option