]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/ocaml/cic_unification/cicUnification.mli
This commit (partially) removes a big source of inefficiency (at least for
[helm.git] / helm / ocaml / cic_unification / cicUnification.mli
index 2c8e12f6053e3124f65de06810aa271e04954b2d..5887f004d858d8d6e7c11a49d8dd733c262ab131 100644 (file)
  * http://cs.unibo.it/helm/.
  *)
 
-exception UnificationFailure of string;;
+type failure_msg
+
+exception UnificationFailure of failure_msg;;
 exception Uncertain of string;;
-exception AssertFailure of string;;
+exception AssertFailure of failure_msg;;
+
+val failure_msg_of_string: string -> failure_msg
+val explain_error: failure_msg -> string
 
 (* fo_unif metasenv context t1 t2                *)
 (* unifies [t1] and [t2] in a context [context]. *)