diff options
| author | Pierre-Marie Pédrot | 2014-08-28 15:14:29 +0200 |
|---|---|---|
| committer | Pierre-Marie Pédrot | 2014-08-28 22:45:24 +0200 |
| commit | 58543b45425b85233c068f9da859996270d1fdcf (patch) | |
| tree | 6981dca5a3bf4468d2533bb239dcf44aca190ebf /proofs/proofview.ml | |
| parent | 32c83676c96ae4a218de0bec75d2f3353381dfb3 (diff) | |
Simplification of the tclCHECKINTERRUPT tactic.
Diffstat (limited to 'proofs/proofview.ml')
| -rw-r--r-- | proofs/proofview.ml | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/proofs/proofview.ml b/proofs/proofview.ml index a750598912..388c60c3f5 100644 --- a/proofs/proofview.ml +++ b/proofs/proofview.ml @@ -231,8 +231,6 @@ let catchable_exception = function (* Unit of the tactic monad *) let tclUNIT a = (Proof.ret a:'a Proof.t) -let tclCHECKINTERRUPT a = Control.check_for_interrupt (); Proof.ret a - (* Bind operation of the tactic monad *) let tclBIND = Proof.bind @@ -988,3 +986,6 @@ end module NonLogical = Proofview_monad.NonLogical let tclLIFT = Proofview_monad.Logical.lift + +let tclCHECKINTERRUPT = + tclLIFT (NonLogical.make Control.check_for_interrupt) |
