X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2Fsoftware%2Fcomponents%2Fng_tactics%2FnTacStatus.mli;h=6e4cc79ddb90405c20b5473f35f4d7a8f2f887f5;hb=95adf6dc8e29a71adc34e71eafe3f427990126e0;hp=f3bdd5aa146436723058a05a808c9e3a06542575;hpb=1e16d80cc7bf9b73cf5526934b17e2ba955a522a;p=helm.git diff --git a/helm/software/components/ng_tactics/nTacStatus.mli b/helm/software/components/ng_tactics/nTacStatus.mli index f3bdd5aa1..6e4cc79dd 100644 --- a/helm/software/components/ng_tactics/nTacStatus.mli +++ b/helm/software/components/ng_tactics/nTacStatus.mli @@ -14,12 +14,19 @@ exception Error of string lazy_t * exn option val fail: ?exn:exn -> string lazy_t -> 'a +class type g_pstatus = + object + inherit NEstatus.g_status + method obj: NCic.obj + end + class pstatus : NCic.obj -> object ('self) inherit NEstatus.status method obj: NCic.obj method set_obj: NCic.obj -> 'self + method set_pstatus: #g_pstatus -> 'self end type tactic_term = CicNotationPt.term Disambiguate.disambiguator_input @@ -56,15 +63,16 @@ val refine: 'status * cic_term * cic_term (* status, term, type *) val apply_subst: #pstatus as 'status -> NCic.context -> cic_term -> 'status * cic_term -val fix_sorts: cic_term -> cic_term +val fix_sorts: #pstatus as 'status -> cic_term -> 'status * cic_term val saturate : #pstatus as 'status -> ?delta:int -> cic_term -> 'status * cic_term * cic_term list val metas_of_term : #pstatus as 'status -> cic_term -> int list val get_goalty: #pstatus -> int -> cic_term +val get_subst: #pstatus -> NCic.substitution val mk_meta: #pstatus as 'status -> ?attrs:NCic.meta_attrs -> NCic.context -> - [ `Decl of cic_term | `Def of cic_term ] -> + [ `Decl of cic_term | `Def of cic_term ] -> NCicUntrusted.meta_kind -> 'status * cic_term val instantiate: #pstatus as 'status -> int -> cic_term -> 'status val instantiate_with_ast: #pstatus as 'status -> int -> tactic_term -> 'status @@ -82,12 +90,19 @@ val mk_out_scope: val pp_status: #pstatus -> unit +class type ['stack] g_status = + object + inherit g_pstatus + method stack: 'stack + end + class ['stack] status : NCic.obj -> 'stack -> object ('self) inherit pstatus method stack: 'stack method set_stack: 'stack -> 'self + method set_status: 'stack #g_status -> 'self end class type lowtac_status = [unit] status