diff options
| author | aarne <unknown> | 2004-01-09 16:40:56 +0000 |
|---|---|---|
| committer | aarne <unknown> | 2004-01-09 16:40:56 +0000 |
| commit | 86d811f2a6b29db64595b8ada83f8ffc33e9489f (patch) | |
| tree | 18b61dabb924d6824ad60a2c7d03abac2ee7287f /src/GF/Infra/Modules.hs | |
| parent | c7a953bb935f578bcbb389e9d4fbe91822ef3f14 (diff) | |
Interfaces and instances by reuse.
Diffstat (limited to 'src/GF/Infra/Modules.hs')
| -rw-r--r-- | src/GF/Infra/Modules.hs | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/GF/Infra/Modules.hs b/src/GF/Infra/Modules.hs index d2bfae5c1..45933e126 100644 --- a/src/GF/Infra/Modules.hs +++ b/src/GF/Infra/Modules.hs @@ -43,9 +43,13 @@ data ModuleType i = | MTInterface | MTInstance i - | MTReuse i + | MTReuse (MReuseType i) deriving (Eq,Show) +data MReuseType i = MRInterface i | MRInstance i i | MRResource i + deriving (Show,Eq) + + -- destructive update --- dep order preserved since old cannot depend on new |
