jon.recoil.org

Module Ocaml_typing.Solver

include Ocaml_typing.Solver_intf.S
module Magic_equal (X : Ocaml_typing.Solver_intf.Equal) : Ocaml_typing.Solver_intf.Equal with type ('a, 'b, 'c) t = ('a, 'b, 'c) X.t

Takes a slow but type-correct Equal module and returns the magic version, which is faster. NOTE: for this to be sound, the function in the original module must be just %equal (up to runtime representation).

Solver that supports lattices with monotone morphisms between them.