mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-05-05 17:22:51 -06:00
Started with unions.
This commit is contained in:
19
src/GF/Compile/MkUnion.hs
Normal file
19
src/GF/Compile/MkUnion.hs
Normal file
@@ -0,0 +1,19 @@
|
||||
module MkUnion (makeUnion) where
|
||||
|
||||
import Grammar
|
||||
import Ident
|
||||
import Modules
|
||||
import Macros
|
||||
import PrGrammar
|
||||
|
||||
import Operations
|
||||
|
||||
import Monad
|
||||
|
||||
-- building union of modules
|
||||
-- AR 21/8/2002 -- 22/6/2003 for GF with modules
|
||||
|
||||
makeUnion :: SourceGrammar -> Ident -> ModuleType Ident -> [(Ident,[Ident])] ->
|
||||
Err SourceModule
|
||||
makeUnion gr m ty imps = do
|
||||
Bad "Sorry: unions not yet implemented"
|
||||
Reference in New Issue
Block a user