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
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