diff options
| author | Arnaud Spiwack | 2014-10-16 14:53:07 +0200 |
|---|---|---|
| committer | Arnaud Spiwack | 2014-10-16 15:14:20 +0200 |
| commit | 55b626fadb1bffb27cfd4069e2933db0e4784409 (patch) | |
| tree | 45bbf9cb0e6479e0d363ba7f14c36df40f6679b1 | |
| parent | 2d65dac1b0c63039f802d5e92afd389d5e7cc846 (diff) | |
Proofview: cleanup: no more reference to Goal.goal.
| -rw-r--r-- | proofs/proofview.ml | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/proofs/proofview.ml b/proofs/proofview.ml index ea588d8e86..d387bbf597 100644 --- a/proofs/proofview.ml +++ b/proofs/proofview.ml @@ -131,7 +131,7 @@ let list_goto = (* First component is a reverse list of what comes before and second component is what goes after (in the expected order) *) -type focus_context = Goal.goal list * Goal.goal list +type focus_context = Evar.t list * Evar.t list let focus_context f = f @@ -447,7 +447,7 @@ let on_advance g ~solved ~adv = goals. The argument tactic is executed in a focus comprising only of the current goal, a goal which has been solved by side effect is skipped. The generated subgoals are concatenated in order. *) -(* val list_iter_goal : 'a -> (Goal.goal -> 'a -> 'a tactic) -> 'a tactic *) +(* val list_iter_goal : 'a -> (Evar.t -> 'a -> 'a tactic) -> 'a tactic *) let list_iter_goal s i = (* spiwack: convenience notations, waiting for ocaml 3.12 *) let (>>=) = Proof.bind in @@ -466,7 +466,7 @@ let list_iter_goal s i = Proof.ret r (* spiwack: essentially a copy/paste of the above⦠*) -(* val list_iter_goal : 'a list -> 'b -> (Goal.goal -> 'a -> 'b -> 'b tactic) -> 'b tactic *) +(* val list_iter_goal : 'a list -> 'b -> (Evar.t -> 'a -> 'b -> 'b tactic) -> 'b tactic *) let list_iter_goal2 l s i = (* spiwack: convenience notations, waiting for ocaml 3.12 *) let (>>=) = Proof.bind in @@ -819,7 +819,7 @@ module Monad = (*** Compatibility layer with <= 8.2 tactics ***) module V82 = struct - type tac = Goal.goal Evd.sigma -> Goal.goal list Evd.sigma + type tac = Evar.t Evd.sigma -> Evar.t list Evd.sigma let tactic tac = (* spiwack: we ignore the dependencies between goals here, @@ -927,15 +927,13 @@ module V82 = struct end -type goal = Goal.goal - module Goal = struct type 'a t = { env : Environ.env; sigma : Evd.evar_map; concl : Term.constr ; - self : Goal.goal ; (* for compatibility with old-style definitions *) + self : Evar.t ; (* for compatibility with old-style definitions *) } let assume (gl : 'a t) = (gl :> [ `NF ] t) |
