]> matita.cs.unibo.it Git - helm.git/blob - matita/matita/contribs/lambdadelta/bin/roles/rolesTypes.ml
update in binaries for λδ
[helm.git] / matita / matita / contribs / lambdadelta / bin / roles / rolesTypes.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 stage = int list
13
14 type name = string list
15
16 type nobj = {
17   mutable nb: bool;
18   mutable nn: name;
19 }
20
21 type nobjs = nobj list
22
23 type oobj = {
24   mutable ob: bool;
25   mutable os: stage;
26   mutable on: name;
27 }
28
29 type oobjs = oobj list
30
31 type robj = {
32   mutable rb: bool;
33   mutable rx: bool;
34   mutable rs: stage;
35   mutable ro: oobjs;
36   mutable rn: nobjs;
37 }
38
39 type robjs = robj list
40
41 type status = {
42   mutable sm: bool;
43   mutable sr: robjs;
44   mutable so: oobjs;
45   mutable ss: stage;
46   mutable sn: nobjs;
47 }
48
49 type pointer = int list
50
51 type error = EWrongExt of string
52            | EStage of stage
53            | ENoStage
54            | EWaiting
55            | ENClash of nobj
56            | EOClash of oobj
57            | ERClash of robj
58            | ENoEntry
59            | EWrongSelect
60            | EWrongVersion
61            | ETops
62            | EWrongRequest of string * string
63
64 exception Error of error