let domain_of_obj ~context obj =
uniq_domain (domain_of_obj ~context obj)
+let domain_of_ast_term = domain_of_term;;
+
let domain_of_term ~context term =
let context =
List.map (function None -> Cic.Anonymous | Some (n,_) -> n) context
| Ok of 'a * 'm
| Ko of Stdpp.location option * string Lazy.t
| Uncertain of Stdpp.location option * string Lazy.t
+exception Try_again of string Lazy.t
+
+val domain_of_ast_term: context:Cic.name list -> CicNotationPt.term -> domain
module type Disambiguator =
sig