unify function

This commit is contained in:
elvis
2024-10-26 20:22:13 +02:00
parent 57e2613602
commit 9a71d5011b
4 changed files with 85 additions and 0 deletions

View File

@ -1 +1,7 @@
val typecheck : Types.t_exp -> (Types.ftype, Types.error) result
val unify : Types.intermediaryTypes -> Types.intermediaryTypes -> (Types.substitution, Types.error) result
module VariableSet : Set.S with type elt = string
val freevariables : Types.intermediaryTypes -> VariableSet.t