]> matita.cs.unibo.it Git - helm.git/blob - helm/software/helena/src/common/marks.ml
Preparing for 0.5.9 release.
[helm.git] / helm / software / helena / src / common / marks.ml
1 (*
2     ||M||  This file is part of HELM, an Hypertextual, Electronic        
3     ||A||  Library of Mathematics, developed at the Computer Science     
4     ||T||  Department, University of Bologna, Italy.                     
5     ||I||                                                                
6     ||T||  HELM is free software; you can redistribute it and/or         
7     ||A||  modify it under the terms of the GNU General Public License   
8     \   /  version 2 or (at your option) any later version.              
9      \ /   This software is distributed as is, NO WARRANTY.              
10       V_______________________________________________________________ *)
11
12 type mark = int
13
14 let mark = ref 0
15
16 (* interface functions ******************************************************)
17
18 let marks () = !mark
19
20 let new_mark () =
21    incr mark; !mark
22
23 let null_mark = 0
24
25 let string_of_mark i = string_of_int i