]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/ocaml/cic_disambiguation/disambiguate.mli
ported debian stuff to ocaml 3.08
[helm.git] / helm / ocaml / cic_disambiguation / disambiguate.mli
index cbc7a54ac9a423835556696e29303f075758884a..640549544c45c460c9724a7a72b0b13fabb5930b 100644 (file)
 
 open DisambiguateTypes
 
-(** {2 Choice registration interface} *)
-
-  (** to be raised when a choice is invalid due to some given parameter (e.g.
-   * wrong number of Cic.term arguments received) *)
-exception Invalid_choice
-
-  (** register a new symbol choice *)
-val add_symbol_choice: string -> codomain_item -> unit
-
-  (** register a new number choice *)
-val add_num_choice: codomain_item -> unit
-
 (** {2 Disambiguation interface} *)
 
 exception NoWellTypedInterpretation
@@ -47,10 +35,10 @@ module Make (C : Callbacks) :
       MQIConn.handle ->
       Cic.context ->
       Cic.metasenv ->
-      CicTextualParser2Ast.term ->
+      CicAst.term ->
       aliases:environment ->  (* previous interpretation status *)
-        environment *                   (* new interpretation status *)
-        Cic.metasenv *                  (* new metasenv *)
-        Cic.term                        (* disambiguated term *)
+        (environment *                   (* new interpretation status *)
+         Cic.metasenv *                  (* new metasenv *)
+         Cic.term) list                 (* disambiguated term *)
   end