mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-04-18 09:19:32 -06:00
Interfaces and instances by reuse.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user