Line No. | Rev | Author | Line |
---|---|---|---|
1 | 1 | paulosilva | |
2 | {-# OPTIONS_GHC -Wall #-} | ||
3 | |||
4 | ------------------------------------------------------------------------------- | ||
5 | |||
6 | {- | | ||
7 | Module : Language.Module.SyntaxADT | ||
8 | Description : Representation of the modules used by Galculator, using | ||
9 | Abstract Data Types | ||
10 | Copyright : (c) Paulo Silva | ||
11 | License : LGPL | ||
12 | |||
13 | Maintainer : paufil@di.uminho.pt | ||
14 | Stability : experimental | ||
15 | Portability : portable | ||
16 | |||
17 | -} | ||
18 | |||
19 | ------------------------------------------------------------------------------- | ||
20 | |||
21 | module Language.Module.SyntaxADT ( | ||
22 | ModuleS(..) | ||
23 | ) where | ||
24 | |||
25 | import Language.Law.SyntaxADT | ||
26 | import Language.R.SyntaxADT | ||
27 | |||
28 | ------------------------------------------------------------------------------- | ||
29 | |||
30 | data ModuleS = ModuleS { | ||
31 | nameS :: String, | ||
32 | lawsS :: [LawS], | ||
33 | gcsS :: [S], | ||
34 | definitionsS :: [S] | ||
35 | } deriving (Eq, Show) | ||
36 | |||
37 | ------------------------------------------------------------------------------- | ||
38 |