]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/software/helena/src/common/marks.ml
- new attributes system
[helm.git] / helm / software / helena / src / common / marks.ml
index fba716b37494560fc7d9063e437a821191fafff9..5b45cc79f24a8cb8657e918b34ce938c7dff964a 100644 (file)
@@ -9,16 +9,15 @@
      \ /   This software is distributed as is, NO WARRANTY.              
       V_______________________________________________________________ *)
 
-module E = Entity
+type mark = int
 
-let location = ref 0
+let mark = ref 1
 
 (* interface functions ******************************************************)
 
-let locations () = !location
-
-let new_location () =
-   incr location; !location
+let marks () = !mark
 
 let new_mark () =
-   E.Mark (new_location ())
+   incr mark; !mark
+
+let to_string i = string_of_int i