X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=matita%2Fcomponents%2Fng_tactics%2FnTacStatus.mli;h=da50ea2ac17d435c3ffc8c0db6ac0eae9c3253a9;hb=73966e3e9fd17155ca67e6b4a32f52225cea9d3c;hp=cfb7123bbf0453d90cad5ece72cb4e2d7a5629ff;hpb=f9f775a550264a8dc9ce7ea9a48b79892a122c3c;p=helm.git diff --git a/matita/components/ng_tactics/nTacStatus.mli b/matita/components/ng_tactics/nTacStatus.mli index cfb7123bb..da50ea2ac 100644 --- a/matita/components/ng_tactics/nTacStatus.mli +++ b/matita/components/ng_tactics/nTacStatus.mli @@ -49,13 +49,13 @@ class type g_pstatus = method obj: NCic.obj end -class pstatus : +class virtual pstatus : NCic.obj -> object ('self) + inherit g_pstatus inherit GrafiteDisambiguate.status inherit auto_status inherit eq_status - method obj: NCic.obj method set_obj: NCic.obj -> 'self method set_pstatus: #g_pstatus -> 'self end @@ -70,7 +70,7 @@ val term_of_cic_term : val mk_cic_term : NCic.context -> NCic.term -> cic_term val disambiguate: - #pstatus as 'status -> NCic.context -> tactic_term -> cic_term option -> + #pstatus as 'status -> NCic.context -> tactic_term -> cic_term NCicRefiner.expected_type -> 'status * cic_term (* * cic_term XXX *) val analyse_indty: @@ -90,7 +90,7 @@ val typeof: val unify: #pstatus as 'status -> NCic.context -> cic_term -> cic_term -> 'status val refine: - #pstatus as 'status -> NCic.context -> cic_term -> cic_term option -> + #pstatus as 'status -> NCic.context -> cic_term -> cic_term NCicRefiner.expected_type -> 'status * cic_term * cic_term (* status, term, type *) val apply_subst: #pstatus as 'status -> NCic.context -> cic_term -> 'status * cic_term @@ -107,7 +107,7 @@ val mk_meta: #pstatus as 'status -> ?attrs:NCic.meta_attrs -> NCic.context -> [ `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: #pstatus as 'status -> ?refine:bool -> int -> cic_term -> 'status val instantiate_with_ast: #pstatus as 'status -> int -> tactic_term -> 'status val select_term: @@ -127,20 +127,20 @@ class type ['stack] g_status = method stack: 'stack end -class ['stack] status : +class virtual ['stack] status : NCic.obj -> 'stack -> object ('self) + inherit ['stack] g_status inherit pstatus - method stack: 'stack method set_stack: 'stack -> 'self method set_status: 'stack #g_status -> 'self end -class type lowtac_status = [unit] status +class type virtual lowtac_status = [unit] status type 'status lowtactic = #lowtac_status as 'status -> int -> 'status -class type tac_status = [Continuationals.Stack.t] status +class type virtual tac_status = [Continuationals.Stack.t] status val pp_tac_status: #tac_status -> unit