From 97fefe1fcca363a1317e066e7f4b99b9c1e9987b Mon Sep 17 00:00:00 2001 From: Stephane Glondu Date: Thu, 12 Jan 2012 16:02:20 +0100 Subject: Imported Upstream version 8.4~beta --- library/states.mli | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) (limited to 'library/states.mli') diff --git a/library/states.mli b/library/states.mli index fc6497b6..4f114d57 100644 --- a/library/states.mli +++ b/library/states.mli @@ -1,14 +1,14 @@ (************************************************************************) (* v * The Coq Proof Assistant / The Coq Development Team *) -(* state val unfreeze : state -> unit -(*s Rollback. [with_heavy_rollback f x] applies [f] to [x] and restores the +(** {6 Rollback } *) + +(** [with_heavy_rollback f x] applies [f] to [x] and restores the state of the whole system as it was before the evaluation if an exception is raised. *) - val with_heavy_rollback : ('a -> 'b) -> (exn -> exn) -> 'a -> 'b -(*s [with_state_protection f x] applies [f] to [x] and restores the +(** [with_state_protection f x] applies [f] to [x] and restores the state of the whole system as it was before the evaluation of f *) val with_state_protection : ('a -> 'b) -> 'a -> 'b -- cgit v1.2.3