Mylloon
03e0e0244d
* basic tests (not all passes) * apply, unify and compose are here but they may contains bugs
8 lines
227 B
OCaml
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
|