mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-04-19 09:49:33 -06:00
introducing multiple inheritance
This commit is contained in:
@@ -30,8 +30,8 @@ trModule (i,mo) = case mo of
|
||||
(mkOpens (map trOpen (opens m)))
|
||||
(mkTopDefs (concatMap trAnyDef (tree2list (jments m)) ++ map trFlag (flags m)))
|
||||
|
||||
trExtend :: Maybe Ident -> P.Extend
|
||||
trExtend i = maybe P.NoExt (P.Ext . singleton . tri) i
|
||||
trExtend :: [Ident] -> P.Extend
|
||||
trExtend i = ifNull P.NoExt (P.Ext . map tri) i
|
||||
|
||||
---- this has to be completed with other mtys
|
||||
forName (MTConcrete a) = tri a
|
||||
|
||||
Reference in New Issue
Block a user