GrafiteAst.tactic
val disambiguate_tactic:
- #LexiconEngine.status ref ->
+ LexiconEngine.status ref ->
Cic.context ->
Cic.metasenv -> int option ->
tactic Disambiguate.disambiguator_input ->
Cic.metasenv * lazy_tactic
val disambiguate_command:
- #NEstatus.status as 'status ->
+ LexiconEngine.status as 'status ->
?baseuri:string ->
Cic.metasenv ->
((CicNotationPt.term,CicNotationPt.term CicNotationPt.obj) GrafiteAst.command) Disambiguate.disambiguator_input ->
'status * Cic.metasenv * (Cic.term,Cic.obj) GrafiteAst.command
val disambiguate_macro:
- #LexiconEngine.status ref ->
+ LexiconEngine.status ref ->
Cic.metasenv ->
Cic.context ->
((CicNotationPt.term,CicNotationPt.term) GrafiteAst.macro) Disambiguate.disambiguator_input ->
let eval_ast ?do_heavy_checks grafite_status (text,prefix_len,ast) =
let lexicon_status = GrafiteTypes.get_estatus grafite_status in
let dump = not (Helm_registry.get_bool "matita.moo") in
- let lexicon_status_ref = ref lexicon_status in
+ let lexicon_status_ref = ref (lexicon_status :> LexiconEngine.status) in
let baseuri = GrafiteTypes.get_baseuri grafite_status in
let new_grafite_status,new_objs =
match ast with