X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=components%2Ftactics%2Fcontinuationals.ml;h=044fa45c841cb61e39ecfbe335a14e20937160ec;hb=b0a6c05decc9f0e731f70cfc5ae5350ae4046b79;hp=6bb419c03f9db57dcbeb6a69ba4f3d3d1b45642e;hpb=dab40d3f522ad5e31a6b8967840c7b36937de83c;p=helm.git diff --git a/components/tactics/continuationals.ml b/components/tactics/continuationals.ml index 6bb419c03..044fa45c8 100644 --- a/components/tactics/continuationals.ml +++ b/components/tactics/continuationals.ml @@ -72,7 +72,8 @@ struct let is_open = function _, Open _ -> true | _ -> false let close = function n, Open g -> n, Closed g | l -> l let filter_open = List.filter is_open - let is_fresh = function n, Open _ when n > 0 -> true | _ -> false + let is_fresh = + function n, Open _ when n > 0 -> true | _,Closed _ -> true | _ -> false let goal_of_loc = function _, Open g | _, Closed g -> g let goal_of_switch = function Open g | Closed g -> g let switch_of_loc = snd @@ -175,15 +176,10 @@ sig type output_status type tactic - - val id_tactic : tactic val mk_tactic : (input_status -> output_status) -> tactic val apply_tactic : tactic -> input_status -> output_status - val get_status: input_status -> ProofEngineTypes.status - val get_proof: output_status -> ProofEngineTypes.proof val goals : output_status -> goal list * goal list (** opened, closed goals *) - val set_goals: goal list * goal list -> output_status -> output_status val get_stack : input_status -> Stack.t val set_stack : Stack.t -> output_status -> output_status