X-Git-Url: http://git.cielonegro.org/gitweb.cgi?p=hxt-compile.git;a=blobdiff_plain;f=Text%2FXML%2FHXT%2FCompilation.hs;h=e8865a153df725fef4ba327d037ef06508b5f9e7;hp=c2428de92137d65c3e6904bf749b96ed35337224;hb=3128cde83c431e117badabba87cbcd9c7de26b52;hpb=13dc5a370f4d7d3223937346fc63ce94c8aa85a8 diff --git a/Text/XML/HXT/Compilation.hs b/Text/XML/HXT/Compilation.hs index c2428de..e8865a1 100644 --- a/Text/XML/HXT/Compilation.hs +++ b/Text/XML/HXT/Compilation.hs @@ -30,8 +30,8 @@ wrapIntoModule :: Arrow a => a (Module, ([HsImportDecl], (HsName, (HsQualType, H wrapIntoModule = proc (modName, (extImports, (symName, (symType, symExp)))) -> do let hsModule = HsModule undefined modName (Just exports) imports decls exports = [HsEVar (UnQual symName)] - imports = [ HsImportDecl undefined (Module "Text.XML.HXT.Arrow") False Nothing Nothing - , HsImportDecl undefined (Module "Text.XML.HXT.DOM.XmlNode") True (Just (Module "XN")) Nothing + imports = [ HsImportDecl undefined (Module "Text.XML.HXT.DOM.Interface") False Nothing Nothing + , HsImportDecl undefined (Module "Text.XML.HXT.DOM.XmlNode" ) False Nothing Nothing ] ++ extImports decls = [ HsTypeSig undefined [symName] symType , HsFunBind [HsMatch undefined symName [] (HsUnGuardedRhs symExp) []]