aboutsummaryrefslogtreecommitdiffhomepage
path: root/library/states.mli
diff options
context:
space:
mode:
Diffstat (limited to 'library/states.mli')
-rw-r--r--library/states.mli4
1 files changed, 4 insertions, 0 deletions
diff --git a/library/states.mli b/library/states.mli
index 4ac371227..46cc2f68d 100644
--- a/library/states.mli
+++ b/library/states.mli
@@ -9,6 +9,10 @@
val intern_state : string -> unit
val extern_state : string -> unit
+type state
+val freeze : unit -> state
+val unfreeze : state -> unit
+
(*s 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. *)