]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/software/components/cic_disambiguation/disambiguateChoices.mli
parameter sintax added to axiom statement
[helm.git] / helm / software / components / cic_disambiguation / disambiguateChoices.mli
index a229a772f7cbe12e0368f6b7a5afa0381ffe210d..4d1ed53296ba70c7608d396ed93303a5eebe5ddd 100644 (file)
@@ -33,6 +33,9 @@ exception Choice_not_found of string Lazy.t
   (** register a new number choice *)
 val add_num_choice: Cic.term codomain_item -> unit
 
+  (** register a new number choice *)
+val nadd_num_choice: NCic.term codomain_item -> unit
+
 (** {2 Choices lookup}
  * for user defined aliases *)
 
@@ -41,13 +44,28 @@ val lookup_num_choices: unit -> Cic.term codomain_item list
   (** @param dsc description (1st component of codomain_item) *)
 val lookup_num_by_dsc: string -> Cic.term codomain_item
 
+  (** @param dsc description (1st component of codomain_item) *)
+val nlookup_num_by_dsc: string -> NCic.term codomain_item
+
   (** @param symbol symbol as per AST
    * @param dsc description (1st component of codomain_item)
    *)
-val lookup_symbol_by_dsc: string -> string -> Cic.term codomain_item
+val lookup_symbol_by_dsc: 
+  mk_appl: ('term list -> 'term) ->
+  mk_implicit: (bool -> 'term) ->
+  term_of_uri: (UriManager.uri -> 'term) ->
+  term_of_nref: (NReference.reference -> 'term) ->
+  string -> string -> 'term codomain_item
+
+val cic_lookup_symbol_by_dsc: 
+  string -> string -> Cic.term codomain_item
 
 val mk_choice:
+  mk_appl: ('term list -> 'term) ->
+  mk_implicit: (bool -> 'term) ->
+  term_of_uri: (UriManager.uri -> 'term) ->
+  term_of_nref: (NReference.reference -> 'term) ->
   string * CicNotationPt.argument_pattern list *
   CicNotationPt.cic_appl_pattern ->
-    Cic.term codomain_item
+    'term codomain_item