HaXml 1.23.2 → 1.23.3
raw patch · 2 files changed
+3/−3 lines, 2 files
Files
HaXml.cabal view
@@ -1,5 +1,5 @@ name: HaXml-version: 1.23.2+version: 1.23.3 license: LGPL license-file: COPYRIGHT author: Malcolm Wallace <Malcolm.Wallace@me.com>
src/Text/XML/HaXml/Schema/PrettyHaskell.hs view
@@ -405,7 +405,7 @@ $$ text "deriving (Eq,Show)") -- $$ text "-- instance SchemaType" <+> ppUnqConId nx t -- <+> text "(declared in Instance module)"--- *** Declare instance here+-- *** Declare instance here $$ text "instance SchemaType" <+> ppUnqConId nx t <+> text "where" $$ nest 4 (text "parseSchemaType s = do" $$ nest 4 (vcat (intersperse (text "`onFail`")@@ -417,7 +417,7 @@ where ppAbstrCons (name,Nothing) = con name <+> ppConId nx name ppAbstrCons (name,Just mod) = con name <+> ppConId nx name--- *** Declare FwdDecl type here (proxy for type declared in later module)+-- *** Declare FwdDecl type here (proxy for type declared in later module) -- ppAbstrCons (name,Just mod) = text "forall q . (FwdDecl" <+> -- fwd name <+> text "q," <+> -- text "SchemaType q) =>" <+>