]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/ocaml/cic_disambiguation/disambiguate.mli
first moogle template checkin
[helm.git] / helm / ocaml / cic_disambiguation / disambiguate.mli
index 5f797ab5dbbfb1ef12b0096aba811a541ac53a77..640549544c45c460c9724a7a72b0b13fabb5930b 100644 (file)
  * http://helm.cs.unibo.it/
  *)
 
-open Disambiguate_types
-
-  (* TODO move to  CicSomething *)
-val term_of_uri: string -> Cic.term
-
-(** {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
+open DisambiguateTypes
 
 (** {2 Disambiguation interface} *)
 
@@ -50,10 +35,10 @@ module Make (C : Callbacks) :
       MQIConn.handle ->
       Cic.context ->
       Cic.metasenv ->
-      Ast.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