Imandra_interactive.Undo
type snap = Interactive_snapshot.Gen_snap.t
with_save f
calls f ~commit
and returns the same result as this call. It creates a speculative undo point before calling f
; if f
calls commit()
then this undo point is saved, otherwise it is discarded.
val pop_n : int -> snap option
Pop n snapshots
module Effect : sig ... end