Started with unions.

This commit is contained in:
aarne
2004-02-27 07:43:52 +00:00
parent 2e1b578783
commit 0166b27ee4
14 changed files with 1324 additions and 1182 deletions

View File

@@ -41,6 +41,7 @@ data ModBody =
MBody Extend Opens [TopDef]
| MWith Ident [Open]
| MReuse Ident
| MUnion [Included]
deriving (Eq,Ord,Show)
data Extend =
@@ -70,6 +71,11 @@ data QualOpen =
| QOInterface
deriving (Eq,Ord,Show)
data Included =
IAll Ident
| ISome Ident [Ident]
deriving (Eq,Ord,Show)
data Def =
DDecl [Ident] Exp
| DDef [Ident] Exp