aboutsummaryrefslogtreecommitdiff
path: root/plugins/quote
diff options
context:
space:
mode:
authorMaxime Dénès2017-06-06 17:18:59 +0200
committerMaxime Dénès2017-06-06 17:18:59 +0200
commite5581b2a1e5b3d9fc5dc7fe95ee4ba121f5d42cd (patch)
tree1a0d0b7d693c37ca8712057e946587584687208e /plugins/quote
parent2f23c27e08f66402b8fba4745681becd402f4c5c (diff)
parent0ce9cef0ac431e184c870617841bedc3f427396d (diff)
Merge PR#623: Remove the Sigma (monotonous state) API.
Diffstat (limited to 'plugins/quote')
-rw-r--r--plugins/quote/quote.ml16
1 files changed, 8 insertions, 8 deletions
diff --git a/plugins/quote/quote.ml b/plugins/quote/quote.ml
index 59ed8439b6..ffacd8b361 100644
--- a/plugins/quote/quote.ml
+++ b/plugins/quote/quote.ml
@@ -465,12 +465,12 @@ let pf_constrs_of_globals l =
in aux l []
let quote f lid =
- Proofview.Goal.enter { enter = begin fun gl ->
+ Proofview.Goal.enter begin fun gl ->
let fg = Tacmach.New.pf_global f gl in
let clg = List.map (fun id -> Tacmach.New.pf_global id gl) lid in
Tacticals.New.pf_constr_of_global fg >>= fun f ->
pf_constrs_of_globals clg >>= fun cl ->
- Proofview.Goal.nf_enter { enter = begin fun gl ->
+ Proofview.Goal.nf_enter begin fun gl ->
let env = Proofview.Goal.env gl in
let sigma = Tacmach.New.project gl in
let ivs = compute_ivs f (List.map (EConstr.to_constr sigma) cl) gl in
@@ -483,16 +483,16 @@ let quote f lid =
match ivs.variable_lhs with
| None -> Tactics.convert_concl (mkApp (f, [| p |])) DEFAULTcast
| Some _ -> Tactics.convert_concl (mkApp (f, [| vm; p |])) DEFAULTcast
- end }
- end }
+ end
+ end
let gen_quote cont c f lid =
- Proofview.Goal.enter { enter = begin fun gl ->
+ Proofview.Goal.enter begin fun gl ->
let fg = Tacmach.New.pf_global f gl in
let clg = List.map (fun id -> Tacmach.New.pf_global id gl) lid in
Tacticals.New.pf_constr_of_global fg >>= fun f ->
pf_constrs_of_globals clg >>= fun cl ->
- Proofview.Goal.nf_enter { enter = begin fun gl ->
+ Proofview.Goal.nf_enter begin fun gl ->
let env = Proofview.Goal.env gl in
let sigma = Tacmach.New.project gl in
let cl = List.map (EConstr.to_constr sigma) cl in
@@ -505,8 +505,8 @@ let gen_quote cont c f lid =
match ivs.variable_lhs with
| None -> cont (mkApp (f, [| p |]))
| Some _ -> cont (mkApp (f, [| vm; p |]))
- end }
- end }
+ end
+ end
(*i