X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;ds=sidebyside;f=helm%2Fsoftware%2Fcomponents%2Ftactics%2Fcontinuationals.ml;h=d90e100194538c483397485d061c908e3f6170ec;hb=58c0db9bcf83591115445a538bee028d3260fdf7;hp=c6e4f0c1841fb68814a7632218e13cfc068b5dbf;hpb=494d586c56cf3ecfcd2b495c5bb10d8b26260340;p=helm.git diff --git a/helm/software/components/tactics/continuationals.ml b/helm/software/components/tactics/continuationals.ml index c6e4f0c18..d90e10019 100644 --- a/helm/software/components/tactics/continuationals.ml +++ b/helm/software/components/tactics/continuationals.ml @@ -175,13 +175,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 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 @@ -332,7 +329,7 @@ struct | Shift, _ -> fail (lazy "can't shift goals here") | Pos i_s, ([ loc ], t, [],`BranchTag) :: (g', t', k', tag) :: s when is_fresh loc -> - let l_js = List.filter (fun (i, _) -> List.mem i i_s) (g' @+ [loc]) in + let l_js = List.filter (fun (i, _) -> List.mem i i_s) ([loc] @+ g') in new_stack ((l_js, t , [],`BranchTag) :: (([ loc ] @+ g') @- l_js, t', k', tag) :: s)