module Solver: sig .. end
This module provides a constraint solver based on unification
under a mixed prefix.
type environment
The solver environment.
type tconstraint = Constraint.tconstraint
The constraint to solve.
type solving_step =
A solving_step describes a elementary step of the solver.
val solve : ?tracer:(solving_step -> unit) ->
tconstraint -> environment
solve tracer c solves c by doing in-place modifications resulting
in a environment.
val environment_as_list : environment -> (string * Constraint.variable) list
environment_as_list env converts env into a list.
module type SolverException = sig .. end
include Solver.SolverException