2 ||M|| This file is part of HELM, an Hypertextual, Electronic
3 ||A|| Library of Mathematics, developed at the Computer Science
4 ||T|| Department, University of Bologna, Italy.
6 ||T|| HELM is free software; you can redistribute it and/or
7 ||A|| modify it under the terms of the GNU General Public License
8 \ / version 2 or (at your option) any later version.
9 \ / This software is distributed as is, NO WARRANTY.
10 V_______________________________________________________________ *)
12 (* $Id: nCic.ml 9058 2008-10-13 17:42:30Z tassi $ *)
14 module Make (C : DisambiguateTypes.Callbacks) : sig
15 val disambiguate_term :
16 ?fresh_instances:bool ->
17 context:NCic.context ->
18 metasenv:NCic.metasenv ->
19 subst:NCic.substitution ->
20 aliases:NCic.term DisambiguateTypes.environment ->(* previous interpretation status *)
21 universe:NCic.term DisambiguateTypes.multiple_environment option ->
22 lookup_in_library:((selection_mode:[ `MULTIPLE | `SINGLE ] ->
24 ?enable_button_for_non_vars:bool ->
28 UriManager.uri list -> UriManager.uri list) ->
29 (title:string -> ?id:string -> unit -> UriManager.uri option) ->
30 DisambiguateTypes.Environment.key ->
31 NCic.term DisambiguateTypes.codomain_item list) ->
33 CicNotationPt.term Disambiguate.disambiguator_input ->
34 ((DisambiguateTypes.domain_item * NCic.term DisambiguateTypes.codomain_item) list *
35 NCic.metasenv * (* new metasenv *)
37 NCic.term) list * (* disambiguated term *)