From cecd63900e35eeeee5e8f75edc5ea57d7ce3cb91 Mon Sep 17 00:00:00 2001 From: herbelin Date: Tue, 5 Sep 2006 17:09:16 +0000 Subject: Code mort git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@9125 85f007b7-540e-0410-9357-904b9bb8a0f7 --- lib/stamps.ml | 28 ---------------------------- lib/stamps.mli | 28 ---------------------------- 2 files changed, 56 deletions(-) delete mode 100644 lib/stamps.ml delete mode 100644 lib/stamps.mli (limited to 'lib') diff --git a/lib/stamps.ml b/lib/stamps.ml deleted file mode 100644 index 16611500a3..0000000000 --- a/lib/stamps.ml +++ /dev/null @@ -1,28 +0,0 @@ -(************************************************************************) -(* v * The Coq Proof Assistant / The Coq Development Team *) -(* incr stamp_ctr; !stamp_ctr - -type 'a timestamped = { stamp : int; ed : 'a } - -let ts_stamp st = st.stamp -let ts_mod f st = { stamp = new_stamp(); ed = f st.ed } -let ts_it st = st.ed -let ts_mk v = { stamp = new_stamp(); ed = v} -let ts_eq st1 st2 = st1.stamp = st2.stamp - -type 'a idstamped = 'a timestamped - -let ids_mod f st = { stamp = st.stamp; ed = f st.ed} -let ids_it = ts_it -let ids_mk = ts_mk -let ids_eq = ts_eq diff --git a/lib/stamps.mli b/lib/stamps.mli deleted file mode 100644 index 1726b2a595..0000000000 --- a/lib/stamps.mli +++ /dev/null @@ -1,28 +0,0 @@ -(************************************************************************) -(* v * The Coq Proof Assistant / The Coq Development Team *) -(* 'b) -> 'a timestamped -> 'b timestamped -val ts_it : 'a timestamped -> 'a -val ts_mk : 'a -> 'a timestamped -val ts_eq : 'a timestamped -> 'a timestamped -> bool -val ts_stamp : 'a timestamped -> int - -type 'a idstamped - -(* [ids_mod] gives a ['b stamped] with the same stamp *) -val ids_mod : ('a -> 'b) -> 'a idstamped -> 'b idstamped -val ids_it : 'a idstamped -> 'a -val ids_mk : 'a -> 'a idstamped -val ids_eq : 'a idstamped -> 'a idstamped -> bool -- cgit v1.2.3