]> matita.cs.unibo.it Git - helm.git/blob - helm/software/helena/src/common/status.ml
- we removed a flag from the kernel status
[helm.git] / helm / software / helena / src / common / status.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 module G = Options
13 module N = Level
14
15 type status = {
16    si: bool;       (* sort inclusion *)
17    lenv: N.status; (* level environment *)
18 }
19
20 (* helpers ******************************************************************)
21
22 let initial_status () = {
23    si = !G.si; lenv = N.initial_status ();
24 }
25
26 let refresh_status st = {st with
27    si = !G.si (*; lenv = N.initial_status (); *)
28 }