From 0166b27ee45f24fb60d79498a5d15b4f316191f3 Mon Sep 17 00:00:00 2001 From: aarne Date: Fri, 27 Feb 2004 07:43:52 +0000 Subject: Started with unions. --- src/GF/Compile/MkUnion.hs | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 src/GF/Compile/MkUnion.hs (limited to 'src/GF/Compile/MkUnion.hs') diff --git a/src/GF/Compile/MkUnion.hs b/src/GF/Compile/MkUnion.hs new file mode 100644 index 000000000..f612b92b6 --- /dev/null +++ b/src/GF/Compile/MkUnion.hs @@ -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" -- cgit v1.2.3