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
module Make (C : Callbacks) :
sig
val disambiguate_term :
- MQIConn.handle ->
+ dbd:Mysql.dbd ->
Cic.context ->
Cic.metasenv ->
- CicTextualParser2Ast.term ->
+ CicAst.term ->
+ ?initial_ugraph:CicUniv.universe_graph ->
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*
+ CicUniv.universe_graph) list (* disambiguated term *)
end