unify function
This commit is contained in:
@ -2,6 +2,13 @@ type variable = string
|
||||
|
||||
module VariableMap : Map.S with type key = variable
|
||||
|
||||
type intermediaryTypes =
|
||||
IntermediaryIntegerType
|
||||
| IntermediaryBooleanType
|
||||
| IntermediaryFunctionType of (variable option) * (intermediaryTypes list)
|
||||
| IntermediaryVariableType of variable
|
||||
type substitution = intermediaryTypes VariableMap.t
|
||||
|
||||
type ftype =
|
||||
IntegerType
|
||||
| BooleanType
|
||||
|
||||
Reference in New Issue
Block a user