blob: d648a68cea3cad32645daa6133d72aa959b321bf (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
(* $Id$ *)
(*s States of the system. *)
type state
val intern_state : string -> unit
val extern_state : string -> 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. *)
val with_heavy_rollback : ('a -> 'b) -> 'a -> 'b
|