aboutsummaryrefslogtreecommitdiff
path: root/stm
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 /stm
parent2f23c27e08f66402b8fba4745681becd402f4c5c (diff)
parent0ce9cef0ac431e184c870617841bedc3f427396d (diff)
Merge PR#623: Remove the Sigma (monotonous state) API.
Diffstat (limited to 'stm')
-rw-r--r--stm/stm.ml9
1 files changed, 4 insertions, 5 deletions
diff --git a/stm/stm.ml b/stm/stm.ml
index 739bc01e6f..e95bec0990 100644
--- a/stm/stm.ml
+++ b/stm/stm.ml
@@ -1836,7 +1836,7 @@ end = struct (* {{{ *)
1 goals in
TaskQueue.join queue;
let assign_tac : unit Proofview.tactic =
- Proofview.(Goal.nf_enter { Goal.enter = fun g ->
+ Proofview.(Goal.nf_enter begin fun g ->
let gid = Goal.goal g in
let f =
try List.assoc gid res
@@ -1859,7 +1859,7 @@ end = struct (* {{{ *)
Tactics.exact_no_check (EConstr.of_constr pt))
with TacTask.NoProgress ->
if solve then Tacticals.New.tclSOLVE [] else tclUNIT ()
- })
+ end)
in
Proof.run_tactic (Global.env()) assign_tac p)))) ())
@@ -2108,12 +2108,11 @@ let known_state ?(redefine_qed=false) ~cache id =
| `Leaks -> Exninfo.iraise exn
| `ValidBlock { base_state; goals_to_admit; recovery_command } -> begin
let tac =
- let open Proofview.Notations in
- Proofview.Goal.nf_enter { enter = fun gl ->
+ Proofview.Goal.nf_enter begin fun gl ->
if CList.mem_f Evar.equal
(Proofview.Goal.goal gl) goals_to_admit then
Proofview.give_up else Proofview.tclUNIT ()
- } in
+ end in
match (VCS.get_info base_state).state with
| Valid { proof } ->
Proof_global.unfreeze proof;