summaryrefslogtreecommitdiff
path: root/src/GF/Infra/Modules.hs
diff options
context:
space:
mode:
Diffstat (limited to 'src/GF/Infra/Modules.hs')
-rw-r--r--src/GF/Infra/Modules.hs6
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