]> matita.cs.unibo.it Git - helm.git/blob - helm/software/helena/src/common/status.ml
a076a9aae69e35dffee8b0cf570c9c8209346f12
[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 Q = Ccs
14
15 type status = {
16    delta: bool;  (* global delta-expansion *)
17    si: bool;     (* sort inclusion *)
18 (*   cc: Q.csys;   (* conversion constraints *) *)
19 }
20
21 (* helpers ******************************************************************)
22
23 let initial_status () = {
24    delta = false;
25    si = !G.si; (* cc = Q.init () *)
26 }
27
28 let refresh_status st = {st with
29    si = !G.si; (* cc = Q.init () *)
30 }