]> matita.cs.unibo.it Git - helm.git/blobdiff - matita/components/ng_library/nCicLibrary.ml
New function replace to be used in place of time_travel every time the user
[helm.git] / matita / components / ng_library / nCicLibrary.ml
index 27fb0baf62db3722a378313847b69e91608cbd90..826779401523f15ebacbace5a66aed6fa508dc5e 100644 (file)
@@ -162,6 +162,11 @@ let time_travel0 (sto,ali) =
 
 let time_travel status = time_travel0 status#timestamp;;
 
+let replace status =
+ let sto,ali = status#timestamp in
+  storage := sto; local_aliases := ali
+;;
+
 type obj = string * Obj.t
 (* includes are transitively closed; dependencies are only immediate *)
 type dump =