Build #1 for HaXml-1.22.1

[all reports]

Package HaXml-1.22.1
Install InstallOk
Docs Failed
Tests NotTried
Time submitted unknown
Compiler ghc-7.6.3
OS linux
Arch x86_64
Dependencies random-1.0.1.1, pretty-1.1.1.0, polyparse-1.9, filepath-1.3.0.1, containers-0.5.0.0, bytestring-0.10.0.2, base-4.6.0.1
Flags splitbase -bytestringinbase

Code Coverage

No Code Coverage was submitted for this report.

Build log

[view raw]

Resolving dependencies...
Configuring polyparse-1.9...
Building polyparse-1.9...
Preprocessing library polyparse-1.9...
[ 1 of 18] Compiling Text.ParserCombinators.Poly.Result ( src/Text/ParserCombinators/Poly/Result.hs, dist/build/Text/ParserCombinators/Poly/Result.o )
[ 2 of 18] Compiling Text.ParserCombinators.Poly.Base ( src/Text/ParserCombinators/Poly/Base.hs, dist/build/Text/ParserCombinators/Poly/Base.o )
[ 3 of 18] Compiling Text.ParserCombinators.Poly.Parser ( src/Text/ParserCombinators/Poly/Parser.hs, dist/build/Text/ParserCombinators/Poly/Parser.o )
[ 4 of 18] Compiling Text.ParserCombinators.Poly.Lazy ( src/Text/ParserCombinators/Poly/Lazy.hs, dist/build/Text/ParserCombinators/Poly/Lazy.o )
[ 5 of 18] Compiling Text.ParserCombinators.Poly.StateParser ( src/Text/ParserCombinators/Poly/StateParser.hs, dist/build/Text/ParserCombinators/Poly/StateParser.o )
[ 6 of 18] Compiling Text.ParserCombinators.Poly.State ( src/Text/ParserCombinators/Poly/State.hs, dist/build/Text/ParserCombinators/Poly/State.o )
[ 7 of 18] Compiling Text.ParserCombinators.Poly.StateLazy ( src/Text/ParserCombinators/Poly/StateLazy.hs, dist/build/Text/ParserCombinators/Poly/StateLazy.o )
[ 8 of 18] Compiling Text.ParserCombinators.Poly.Lex ( src/Text/ParserCombinators/Poly/Lex.hs, dist/build/Text/ParserCombinators/Poly/Lex.o )
[ 9 of 18] Compiling Text.ParserCombinators.Poly.ByteString ( src/Text/ParserCombinators/Poly/ByteString.hs, dist/build/Text/ParserCombinators/Poly/ByteString.o )
[10 of 18] Compiling Text.ParserCombinators.Poly.ByteStringChar ( src/Text/ParserCombinators/Poly/ByteStringChar.hs, dist/build/Text/ParserCombinators/Poly/ByteStringChar.o )
[11 of 18] Compiling Text.Parse.ByteString ( src/Text/Parse/ByteString.hs, dist/build/Text/Parse/ByteString.o )
[12 of 18] Compiling Text.ParserCombinators.Poly.Text ( src/Text/ParserCombinators/Poly/Text.hs, dist/build/Text/ParserCombinators/Poly/Text.o )
[13 of 18] Compiling Text.ParserCombinators.Poly.StateText ( src/Text/ParserCombinators/Poly/StateText.hs, dist/build/Text/ParserCombinators/Poly/StateText.o )
[14 of 18] Compiling Text.ParserCombinators.Poly.Plain ( src/Text/ParserCombinators/Poly/Plain.hs, dist/build/Text/ParserCombinators/Poly/Plain.o )
[15 of 18] Compiling Text.ParserCombinators.Poly ( src/Text/ParserCombinators/Poly.hs, dist/build/Text/ParserCombinators/Poly.o )
[16 of 18] Compiling Text.Parse       ( src/Text/Parse.hs, dist/build/Text/Parse.o )
[17 of 18] Compiling Text.ParserCombinators.HuttonMeijerWallace ( src/Text/ParserCombinators/HuttonMeijerWallace.hs, dist/build/Text/ParserCombinators/HuttonMeijerWallace.o )
[18 of 18] Compiling Text.ParserCombinators.HuttonMeijer ( src/Text/ParserCombinators/HuttonMeijer.hs, dist/build/Text/ParserCombinators/HuttonMeijer.o )
In-place registering polyparse-1.9...
Running Haddock for polyparse-1.9...
Running hscolour for polyparse-1.9...
Preprocessing library polyparse-1.9...
Preprocessing library polyparse-1.9...
Warning: The documentation for the following packages are not installed. No
links will be generated to these packages: text-0.11.2.3
Haddock coverage:
  75% (  3 /  4) in 'Text.ParserCombinators.Poly.Result'
  96% ( 23 / 24) in 'Text.ParserCombinators.Poly.Base'
 100% ( 11 / 11) in 'Text.ParserCombinators.Poly.Parser'
  93% ( 14 / 15) in 'Text.ParserCombinators.Poly.Lazy'
 100% ( 15 / 15) in 'Text.ParserCombinators.Poly.StateParser'
  95% ( 18 / 19) in 'Text.ParserCombinators.Poly.State'
  90% ( 18 / 20) in 'Text.ParserCombinators.Poly.StateLazy'
 100% ( 16 / 16) in 'Text.ParserCombinators.Poly.Lex'
  94% ( 16 / 17) in 'Text.ParserCombinators.Poly.ByteString'
  94% ( 16 / 17) in 'Text.ParserCombinators.Poly.ByteStringChar'
  97% ( 29 / 30) in 'Text.Parse.ByteString'
  94% ( 17 / 18) in 'Text.ParserCombinators.Poly.Text'
  95% ( 21 / 22) in 'Text.ParserCombinators.Poly.StateText'
  93% ( 14 / 15) in 'Text.ParserCombinators.Poly.Plain'
  50% (  1 /  2) in 'Text.ParserCombinators.Poly'
  71% ( 20 / 28) in 'Text.Parse'
  77% ( 24 / 31) in 'Text.ParserCombinators.HuttonMeijerWallace'
   6% (  2 / 36) in 'Text.ParserCombinators.HuttonMeijer'
Warning: Text.ParserCombinators.Poly.Text: could not find link destinations for:
    Data.Text.Lazy.Internal.Text
Warning: Text.ParserCombinators.Poly.StateText: could not find link destinations for:
    Data.Text.Lazy.Internal.Text
Warning: Text.ParserCombinators.HuttonMeijerWallace: could not find link destinations for:
    Text.ParserCombinators.HuttonMeijerWallace.ParseResult
Warning: Text.ParserCombinators.HuttonMeijer: could not find link destinations for:
    Text.ParserCombinators.HuttonMeijer.Token
Documentation created: dist/doc/html/polyparse/index.html
Installing library in
/srv/hackage/var/build/tmp-install/lib/x86_64-linux-ghc-7.6.3/polyparse-1.9
Registering polyparse-1.9...
Installed polyparse-1.9
Downloading HaXml-1.22.1...
Configuring HaXml-1.22.1...
Building HaXml-1.22.1...
Preprocessing library HaXml-1.22.1...
[ 1 of 41] Compiling Text.XML.HaXml.Xtract.Lex ( src/Text/XML/HaXml/Xtract/Lex.hs, dist/build/Text/XML/HaXml/Xtract/Lex.o )
[ 2 of 41] Compiling Text.XML.HaXml.Posn ( src/Text/XML/HaXml/Posn.hs, dist/build/Text/XML/HaXml/Posn.o )
[ 3 of 41] Compiling Text.XML.HaXml.Lex ( src/Text/XML/HaXml/Lex.hs, dist/build/Text/XML/HaXml/Lex.o )
[ 4 of 41] Compiling Text.XML.HaXml.DtdToHaskell.TypeDef ( src/Text/XML/HaXml/DtdToHaskell/TypeDef.hs, dist/build/Text/XML/HaXml/DtdToHaskell/TypeDef.o )
[ 5 of 41] Compiling Text.XML.HaXml.DtdToHaskell.Instance ( src/Text/XML/HaXml/DtdToHaskell/Instance.hs, dist/build/Text/XML/HaXml/DtdToHaskell/Instance.o )
[ 6 of 41] Compiling Text.XML.HaXml.Types ( src/Text/XML/HaXml/Types.hs, dist/build/Text/XML/HaXml/Types.o )
[ 7 of 41] Compiling Text.XML.HaXml.Escape ( src/Text/XML/HaXml/Escape.hs, dist/build/Text/XML/HaXml/Escape.o )
[ 8 of 41] Compiling Text.XML.HaXml.Namespaces ( src/Text/XML/HaXml/Namespaces.hs, dist/build/Text/XML/HaXml/Namespaces.o )
[ 9 of 41] Compiling Text.XML.HaXml.Combinators ( src/Text/XML/HaXml/Combinators.hs, dist/build/Text/XML/HaXml/Combinators.o )
[10 of 41] Compiling Text.XML.HaXml.Parse ( src/Text/XML/HaXml/Parse.hs, dist/build/Text/XML/HaXml/Parse.o )
[11 of 41] Compiling Text.XML.HaXml.Pretty ( src/Text/XML/HaXml/Pretty.hs, dist/build/Text/XML/HaXml/Pretty.o )
[12 of 41] Compiling Text.XML.HaXml.Html.Generate ( src/Text/XML/HaXml/Html/Generate.hs, dist/build/Text/XML/HaXml/Html/Generate.o )
[13 of 41] Compiling Text.XML.HaXml.Html.Parse ( src/Text/XML/HaXml/Html/Parse.hs, dist/build/Text/XML/HaXml/Html/Parse.o )
[14 of 41] Compiling Text.XML.HaXml.Wrappers ( src/Text/XML/HaXml/Wrappers.hs, dist/build/Text/XML/HaXml/Wrappers.o )
[15 of 41] Compiling Text.XML.HaXml.Verbatim ( src/Text/XML/HaXml/Verbatim.hs, dist/build/Text/XML/HaXml/Verbatim.o )
[16 of 41] Compiling Text.XML.HaXml.ByteStringPP ( src/Text/XML/HaXml/ByteStringPP.hs, dist/build/Text/XML/HaXml/ByteStringPP.o )
[17 of 41] Compiling Text.XML.HaXml.DtdToHaskell.Convert ( src/Text/XML/HaXml/DtdToHaskell/Convert.hs, dist/build/Text/XML/HaXml/DtdToHaskell/Convert.o )
[18 of 41] Compiling Text.XML.HaXml.Html.ParseLazy ( src/Text/XML/HaXml/Html/ParseLazy.hs, dist/build/Text/XML/HaXml/Html/ParseLazy.o )
[19 of 41] Compiling Text.XML.HaXml.Html.Pretty ( src/Text/XML/HaXml/Html/Pretty.hs, dist/build/Text/XML/HaXml/Html/Pretty.o )
[20 of 41] Compiling Text.XML.HaXml.ParseLazy ( src/Text/XML/HaXml/ParseLazy.hs, dist/build/Text/XML/HaXml/ParseLazy.o )
[21 of 41] Compiling Text.XML.HaXml.SAX ( src/Text/XML/HaXml/SAX.hs, dist/build/Text/XML/HaXml/SAX.o )
[22 of 41] Compiling Text.XML.HaXml.Schema.XSDTypeModel ( src/Text/XML/HaXml/Schema/XSDTypeModel.hs, dist/build/Text/XML/HaXml/Schema/XSDTypeModel.o )
[23 of 41] Compiling Text.XML.HaXml.Schema.NameConversion ( src/Text/XML/HaXml/Schema/NameConversion.hs, dist/build/Text/XML/HaXml/Schema/NameConversion.o )
[24 of 41] Compiling Text.XML.HaXml.Schema.PrimitiveTypes ( src/Text/XML/HaXml/Schema/PrimitiveTypes.hs, dist/build/Text/XML/HaXml/Schema/PrimitiveTypes.o )
[25 of 41] Compiling Text.XML.HaXml.TypeMapping ( src/Text/XML/HaXml/TypeMapping.hs, dist/build/Text/XML/HaXml/TypeMapping.o )
[26 of 41] Compiling Text.XML.HaXml.XmlContent.Parser ( src/Text/XML/HaXml/XmlContent/Parser.hs, dist/build/Text/XML/HaXml/XmlContent/Parser.o )
[27 of 41] Compiling Text.XML.HaXml.XmlContent ( src/Text/XML/HaXml/XmlContent.hs, dist/build/Text/XML/HaXml/XmlContent.o )
[28 of 41] Compiling Text.XML.HaXml.Validate ( src/Text/XML/HaXml/Validate.hs, dist/build/Text/XML/HaXml/Validate.o )
[29 of 41] Compiling Text.XML.HaXml.OneOfN ( src/Text/XML/HaXml/OneOfN.hs, dist/build/Text/XML/HaXml/OneOfN.o )
[30 of 41] Compiling Text.XML.HaXml.Schema.Parse ( src/Text/XML/HaXml/Schema/Parse.hs, dist/build/Text/XML/HaXml/Schema/Parse.o )
[31 of 41] Compiling Text.XML.HaXml.Schema.HaskellTypeModel ( src/Text/XML/HaXml/Schema/HaskellTypeModel.hs, dist/build/Text/XML/HaXml/Schema/HaskellTypeModel.o )
[32 of 41] Compiling Text.XML.HaXml.Schema.PrettyHaskell ( src/Text/XML/HaXml/Schema/PrettyHaskell.hs, dist/build/Text/XML/HaXml/Schema/PrettyHaskell.o )
[33 of 41] Compiling Text.XML.HaXml.Schema.Environment ( src/Text/XML/HaXml/Schema/Environment.hs, dist/build/Text/XML/HaXml/Schema/Environment.o )
[34 of 41] Compiling Text.XML.HaXml.Schema.TypeConversion ( src/Text/XML/HaXml/Schema/TypeConversion.hs, dist/build/Text/XML/HaXml/Schema/TypeConversion.o )
[35 of 41] Compiling Text.XML.HaXml.ShowXmlLazy ( src/Text/XML/HaXml/ShowXmlLazy.hs, dist/build/Text/XML/HaXml/ShowXmlLazy.o )
[36 of 41] Compiling Text.XML.HaXml.Util ( src/Text/XML/HaXml/Util.hs, dist/build/Text/XML/HaXml/Util.o )
[37 of 41] Compiling Text.XML.HaXml.XmlContent.Haskell ( src/Text/XML/HaXml/XmlContent/Haskell.hs, dist/build/Text/XML/HaXml/XmlContent/Haskell.o )
[38 of 41] Compiling Text.XML.HaXml.Xtract.Combinators ( src/Text/XML/HaXml/Xtract/Combinators.hs, dist/build/Text/XML/HaXml/Xtract/Combinators.o )
[39 of 41] Compiling Text.XML.HaXml.Xtract.Parse ( src/Text/XML/HaXml/Xtract/Parse.hs, dist/build/Text/XML/HaXml/Xtract/Parse.o )
[40 of 41] Compiling Text.XML.HaXml.Schema.Schema ( src/Text/XML/HaXml/Schema/Schema.hs, dist/build/Text/XML/HaXml/Schema/Schema.o )
[41 of 41] Compiling Text.XML.HaXml   ( src/Text/XML/HaXml.hs, dist/build/Text/XML/HaXml.o )
In-place registering HaXml-1.22.1...
Preprocessing executable 'Canonicalise' for HaXml-1.22.1...
[ 1 of 10] Compiling Text.XML.HaXml.Types ( src/Text/XML/HaXml/Types.hs, dist/build/Canonicalise/Canonicalise-tmp/Text/XML/HaXml/Types.o )

src/Text/XML/HaXml/Types.hs:285:17: Warning:
    Defined but not used: `p'

src/Text/XML/HaXml/Types.hs:285:19: Warning:
    Defined but not used: `n'

src/Text/XML/HaXml/Types.hs:285:25: Warning:
    Defined but not used: `m'

src/Text/XML/HaXml/Types.hs:286:16: Warning:
    Defined but not used: `n'

src/Text/XML/HaXml/Types.hs:286:26: Warning:
    Defined but not used: `q'

src/Text/XML/HaXml/Types.hs:286:28: Warning:
    Defined but not used: `m'
[ 2 of 10] Compiling Text.XML.HaXml.Posn ( src/Text/XML/HaXml/Posn.hs, dist/build/Canonicalise/Canonicalise-tmp/Text/XML/HaXml/Posn.o )
[ 3 of 10] Compiling Text.XML.HaXml.Namespaces ( src/Text/XML/HaXml/Namespaces.hs, dist/build/Canonicalise/Canonicalise-tmp/Text/XML/HaXml/Namespaces.o )

src/Text/XML/HaXml/Namespaces.hs:127:17: Warning:
    This binding for `qualify' shadows the existing binding
      defined at src/Text/XML/HaXml/Namespaces.hs:58:1

src/Text/XML/HaXml/Namespaces.hs:171:15: Warning:
    Pattern match(es) are non-exhaustive
    In an equation for `mkNamespace': Patterns not matched: (QN _ _, _)
[ 4 of 10] Compiling Text.XML.HaXml.Lex ( src/Text/XML/HaXml/Lex.hs, dist/build/Canonicalise/Canonicalise-tmp/Text/XML/HaXml/Lex.o )

src/Text/XML/HaXml/Lex.hs:205:18: Warning:
    This binding for `lookup' shadows the existing binding
      imported from `Prelude' at src/Text/XML/HaXml/Lex.hs:16:8-25
      (and originally defined in `GHC.List')

src/Text/XML/HaXml/Lex.hs:316:24: Warning:
    This binding for `p' shadows the existing binding
      bound at src/Text/XML/HaXml/Lex.hs:312:9

src/Text/XML/HaXml/Lex.hs:316:29: Warning:
    This binding for `k' shadows the existing binding
      bound at src/Text/XML/HaXml/Lex.hs:312:22

src/Text/XML/HaXml/Lex.hs:319:24: Warning:
    This binding for `p' shadows the existing binding
      bound at src/Text/XML/HaXml/Lex.hs:312:9

src/Text/XML/HaXml/Lex.hs:319:27: Warning:
    This binding for `s' shadows the existing binding
      bound at src/Text/XML/HaXml/Lex.hs:312:12

src/Text/XML/HaXml/Lex.hs:319:29: Warning:
    This binding for `ss' shadows the existing binding
      bound at src/Text/XML/HaXml/Lex.hs:312:14

src/Text/XML/HaXml/Lex.hs:319:33: Warning:
    This binding for `k' shadows the existing binding
      bound at src/Text/XML/HaXml/Lex.hs:312:22
[ 5 of 10] Compiling Text.XML.HaXml.Combinators ( src/Text/XML/HaXml/Combinators.hs, dist/build/Canonicalise/Canonicalise-tmp/Text/XML/HaXml/Combinators.o )

src/Text/XML/HaXml/Combinators.hs:79:9: Warning:
    This binding for `x' shadows the existing binding
      defined at src/Text/XML/HaXml/Combinators.hs:350:3

src/Text/XML/HaXml/Combinators.hs:81:9: Warning:
    This binding for `x' shadows the existing binding
      defined at src/Text/XML/HaXml/Combinators.hs:350:3

src/Text/XML/HaXml/Combinators.hs:81:9: Warning:
    Defined but not used: `x'

src/Text/XML/HaXml/Combinators.hs:110:5: Warning:
    This binding for `x' shadows the existing binding
      defined at src/Text/XML/HaXml/Combinators.hs:350:3

src/Text/XML/HaXml/Combinators.hs:113:5: Warning:
    This binding for `x' shadows the existing binding
      defined at src/Text/XML/HaXml/Combinators.hs:350:3

src/Text/XML/HaXml/Combinators.hs:114:5: Warning:
    This binding for `x' shadows the existing binding
      defined at src/Text/XML/HaXml/Combinators.hs:350:3

src/Text/XML/HaXml/Combinators.hs:117:7: Warning:
    This binding for `x' shadows the existing binding
      defined at src/Text/XML/HaXml/Combinators.hs:350:3

src/Text/XML/HaXml/Combinators.hs:120:11: Warning:
    This binding for `x' shadows the existing binding
      defined at src/Text/XML/HaXml/Combinators.hs:350:3

src/Text/XML/HaXml/Combinators.hs:123:8: Warning:
    This binding for `x' shadows the existing binding
      defined at src/Text/XML/HaXml/Combinators.hs:350:3

src/Text/XML/HaXml/Combinators.hs:126:12: Warning:
    This binding for `x' shadows the existing binding
      defined at src/Text/XML/HaXml/Combinators.hs:350:3

src/Text/XML/HaXml/Combinators.hs:137:1: Warning:
    Pattern match(es) are non-exhaustive
    In an equation for `find':
        Patterns not matched:
            _ _ (CString _ _ _)
            _ _ (CRef _ _)
            _ _ (CMisc _ _)

src/Text/XML/HaXml/Combinators.hs:138:17: Warning:
    This binding for `x' shadows the existing binding
      defined at src/Text/XML/HaXml/Combinators.hs:350:3

src/Text/XML/HaXml/Combinators.hs:189:19: Warning:
    This binding for `x' shadows the existing binding
      defined at src/Text/XML/HaXml/Combinators.hs:350:3

src/Text/XML/HaXml/Combinators.hs:203:16: Warning:
    This binding for `x' shadows the existing binding
      defined at src/Text/XML/HaXml/Combinators.hs:350:3

src/Text/XML/HaXml/Combinators.hs:212:12: Warning:
    This binding for `x' shadows the existing binding
      defined at src/Text/XML/HaXml/Combinators.hs:350:3

src/Text/XML/HaXml/Combinators.hs:301:9: Warning:
    This binding for `attr' shadows the existing binding
      defined at src/Text/XML/HaXml/Combinators.hs:123:1

src/Text/XML/HaXml/Combinators.hs:321:24: Warning:
    This binding for `n' shadows the existing binding
      bound at src/Text/XML/HaXml/Combinators.hs:320:30
[ 6 of 10] Compiling Text.XML.HaXml.Pretty ( src/Text/XML/HaXml/Pretty.hs, dist/build/Canonicalise/Canonicalise-tmp/Text/XML/HaXml/Pretty.o )

src/Text/XML/HaXml/Pretty.hs:25:1: Warning:
    The import of `Data.Maybe' is redundant
      except perhaps to import instances from `Data.Maybe'
    To import instances alone, use: import Data.Maybe()

src/Text/XML/HaXml/Pretty.hs:276:1: Warning:
    Top-level binding with no type signature: qname :: QName -> Doc
[ 7 of 10] Compiling Text.XML.HaXml.Html.Parse ( src/Text/XML/HaXml/Html/Parse.hs, dist/build/Canonicalise/Canonicalise-tmp/Text/XML/HaXml/Html/Parse.o )

src/Text/XML/HaXml/Html/Parse.hs:17:1: Warning:
    The import of `Data.Maybe' is redundant
      except perhaps to import instances from `Data.Maybe'
    To import instances alone, use: import Data.Maybe()

src/Text/XML/HaXml/Html/Parse.hs:20:1: Warning:
    The import of `Control.Monad' is redundant
      except perhaps to import instances from `Control.Monad'
    To import instances alone, use: import Control.Monad()

src/Text/XML/HaXml/Html/Parse.hs:74:41: Warning:
    This binding for `avs' shadows the existing binding
      bound at src/Text/XML/HaXml/Html/Parse.hs:63:33

src/Text/XML/HaXml/Html/Parse.hs:74:45: Warning:
    This binding for `cs' shadows the existing binding
      bound at src/Text/XML/HaXml/Html/Parse.hs:63:37

src/Text/XML/HaXml/Html/Parse.hs:143:14: Warning:
    This binding for `tok' shadows the existing binding
      defined at src/Text/XML/HaXml/Html/Parse.hs:133:1

src/Text/XML/HaXml/Html/Parse.hs:190:8: Warning:
    This binding for `fail' shadows the existing binding
      imported from `Control.Monad' at src/Text/XML/HaXml/Html/Parse.hs:20:1-20
      (and originally defined in `GHC.Base')

src/Text/XML/HaXml/Html/Parse.hs:216:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            Text.XML.HaXml.Lex.TokPIOpen",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Html/Parse.hs:220:7: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- onFail
                                            (onFail
                                               tok Text.XML.HaXml.Lex.TokPIClose
                                               tok Text.XML.HaXml.Lex.TokAnyClose)
                                            failP "missing ?> or >"",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Html/Parse.hs:225:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            Text.XML.HaXml.Lex.TokSectionOpen",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Html/Parse.hs:238:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            Text.XML.HaXml.Lex.TokPIOpen",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Html/Parse.hs:242:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- onFail
                                            tok Text.XML.HaXml.Lex.TokPIClose
                                            failBadP "missing ?> in <?xml ...?>"",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Html/Parse.hs:254:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            Text.XML.HaXml.Lex.TokEqual",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Html/Parse.hs:269:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            Text.XML.HaXml.Lex.TokSpecialOpen",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Html/Parse.hs:270:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            (Text.XML.HaXml.Lex.TokSpecial
                                               Text.XML.HaXml.Lex.DOCTYPEx)",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Html/Parse.hs:275:7: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- onFail
                                            tok Text.XML.HaXml.Lex.TokAnyClose
                                            failP "missing > in DOCTYPE decl"",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Html/Parse.hs:304:7: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- onFail
                                            tok Text.XML.HaXml.Lex.TokEqual
                                            failP "missing = in 'standalone' decl"",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Html/Parse.hs:322:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            Text.XML.HaXml.Lex.TokAnyOpen",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Html/Parse.hs:332:15: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            Text.XML.HaXml.Lex.TokEndClose",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Html/Parse.hs:342:15: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            Text.XML.HaXml.Lex.TokAnyClose",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Html/Parse.hs:346:15: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            Text.XML.HaXml.Lex.TokEndClose",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Html/Parse.hs:349:15: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- onFail
                                            tok Text.XML.HaXml.Lex.TokAnyClose
                                            failP "missing > or /> in element tag"",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Html/Parse.hs:356:15: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- commit
                                            (tok Text.XML.HaXml.Lex.TokAnyClose)",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Html/Parse.hs:409:14: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            Text.XML.HaXml.Lex.TokEqual",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Html/Parse.hs:670:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- onFail
                                            tok Text.XML.HaXml.Lex.TokEqual
                                            failBadP "expected = in 'encoding' decl"",
    or by using the flag -fno-warn-unused-do-bind
[ 8 of 10] Compiling Text.XML.HaXml.Parse ( src/Text/XML/HaXml/Parse.hs, dist/build/Canonicalise/Canonicalise-tmp/Text/XML/HaXml/Parse.o )

src/Text/XML/HaXml/Parse.hs:34:1: Warning:
    The import of `Data.Maybe' is redundant
      except perhaps to import instances from `Data.Maybe'
    To import instances alone, use: import Data.Maybe()

src/Text/XML/HaXml/Parse.hs:37:1: Warning:
    The import of `Control.Monad' is redundant
      except perhaps to import instances from `Control.Monad'
    To import instances alone, use: import Control.Monad()

src/Text/XML/HaXml/Parse.hs:73:11: Warning:
    Defined but not used: `s'

src/Text/XML/HaXml/Parse.hs:101:11: Warning:
    This binding for `name' shadows the existing binding
      defined at src/Text/XML/HaXml/Parse.hs:186:1

src/Text/XML/HaXml/Parse.hs:102:11: Warning:
    This binding for `name' shadows the existing binding
      defined at src/Text/XML/HaXml/Parse.hs:186:1

src/Text/XML/HaXml/Parse.hs:104:11: Warning:
    This binding for `name' shadows the existing binding
      defined at src/Text/XML/HaXml/Parse.hs:186:1

src/Text/XML/HaXml/Parse.hs:105:11: Warning:
    This binding for `name' shadows the existing binding
      defined at src/Text/XML/HaXml/Parse.hs:186:1

src/Text/XML/HaXml/Parse.hs:161:10: Warning:
    A do-notation statement discarded a result of type bra.
    Suppress this warning by saying "_ <- adjustErr
                                            open
                                            ( \ x_ -> (++)
                                                 "Missing opening bracket:\
                                                 \\t" x_ ))",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:186:14: Warning:
    This binding for `tok' shadows the existing binding
      defined at src/Text/XML/HaXml/Parse.hs:170:1

src/Text/XML/HaXml/Parse.hs:233:8: Warning:
    This binding for `fail' shadows the existing binding
      imported from `Control.Monad' at src/Text/XML/HaXml/Parse.hs:37:1-38
      (and originally defined in `GHC.Base')

src/Text/XML/HaXml/Parse.hs:247:35: Warning:
    This binding for `ev' shadows the existing binding
      defined at src/Text/XML/HaXml/Parse.hs:869:1

src/Text/XML/HaXml/Parse.hs:276:35: Warning:
    This binding for `ev' shadows the existing binding
      defined at src/Text/XML/HaXml/Parse.hs:869:1

src/Text/XML/HaXml/Parse.hs:320:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            Text.XML.HaXml.Lex.TokPIOpen",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:324:7: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- onFail
                                            tok Text.XML.HaXml.Lex.TokPIClose
                                            failP ((++) "missing ?> in <?" n)",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:329:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            Text.XML.HaXml.Lex.TokSectionOpen",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:342:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            Text.XML.HaXml.Lex.TokPIOpen",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:346:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- onFail
                                            tok Text.XML.HaXml.Lex.TokPIClose
                                            failBadP "missing ?> in <?xml ...?>"",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:360:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            Text.XML.HaXml.Lex.TokEqual",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:372:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            Text.XML.HaXml.Lex.TokSpecialOpen",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:373:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            (Text.XML.HaXml.Lex.TokSpecial
                                               Text.XML.HaXml.Lex.DOCTYPEx)",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:379:7: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- onFail
                                            blank (tok Text.XML.HaXml.Lex.TokAnyClose)
                                            failP "missing > in DOCTYPE decl"",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:410:7: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- onFail
                                            tok Text.XML.HaXml.Lex.TokEqual
                                            failP "missing = in 'standalone' decl"",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:437:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            Text.XML.HaXml.Lex.TokAnyOpen",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:439:10: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            Text.XML.HaXml.Lex.TokEndClose",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:442:10: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            Text.XML.HaXml.Lex.TokAnyClose",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:468:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            Text.XML.HaXml.Lex.TokAnyOpen",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:470:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            Text.XML.HaXml.Lex.TokAnyClose",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:477:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            Text.XML.HaXml.Lex.TokEndOpen",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:480:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            Text.XML.HaXml.Lex.TokAnyClose",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:486:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- onFail
                                            tok Text.XML.HaXml.Lex.TokEqual
                                            failBadP "missing = in attribute"",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:509:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            Text.XML.HaXml.Lex.TokSpecialOpen",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:510:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            (Text.XML.HaXml.Lex.TokSpecial
                                               Text.XML.HaXml.Lex.ELEMENTx)",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:515:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- onFail
                                            blank (tok Text.XML.HaXml.Lex.TokAnyClose)
                                            failBadP
                                              ((++)
                                                 "expected > terminating ELEMENT decl"
                                                 (++)
                                                   "\
                                                   \    element name was "
                                                   (++)
                                                     show (printableName n)
                                                     (++)
                                                       "\
                                                       \    contentspec was "
                                                       \ (ContentSpec p) -> show p c)",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:581:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            Text.XML.HaXml.Lex.TokBraOpen",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:582:15: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            Text.XML.HaXml.Lex.TokHash",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:585:42: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            Text.XML.HaXml.Lex.TokPipe",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:587:20: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- blank
                                            ((>>)
                                               tok Text.XML.HaXml.Lex.TokBraClose
                                               tok Text.XML.HaXml.Lex.TokStar)",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:596:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            Text.XML.HaXml.Lex.TokSpecialOpen",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:597:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            (Text.XML.HaXml.Lex.TokSpecial
                                               Text.XML.HaXml.Lex.ATTLISTx)",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:600:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- onFail
                                            blank (tok Text.XML.HaXml.Lex.TokAnyClose)
                                            failBadP "missing > terminating ATTLIST"",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:669:12: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            Text.XML.HaXml.Lex.TokSectionOpen",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:670:12: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- peRef
                                            (tok
                                               (Text.XML.HaXml.Lex.TokSection
                                                  Text.XML.HaXml.Lex.INCLUDEx))",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:672:12: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- onFail
                                            tok Text.XML.HaXml.Lex.TokSqOpen
                                            failBadP "missing [ after INCLUDE"",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:674:12: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- onFail
                                            tok Text.XML.HaXml.Lex.TokSectionClose
                                            failBadP
                                              ((++)
                                                 "missing ]]> for INCLUDE section"
                                                 (++)
                                                   "\
                                                   \    begun at "
                                                   show p)",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:679:12: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            Text.XML.HaXml.Lex.TokSectionOpen",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:680:12: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- peRef
                                            (tok
                                               (Text.XML.HaXml.Lex.TokSection
                                                  Text.XML.HaXml.Lex.IGNOREx))",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:682:12: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- onFail
                                            tok Text.XML.HaXml.Lex.TokSqOpen
                                            failBadP "missing [ after IGNORE"",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:683:12: Warning:
    A do-notation statement discarded a result of type [Ignore].
    Suppress this warning by saying "_ <- many newIgnore",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:684:12: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- onFail
                                            tok Text.XML.HaXml.Lex.TokSectionClose
                                            failBadP
                                              ((++)
                                                 "missing ]]> for IGNORE section"
                                                 (++)
                                                   "\
                                                   \    begun at "
                                                   show p)",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:692:10: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            Text.XML.HaXml.Lex.TokSectionOpen",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:693:10: Warning:
    A do-notation statement discarded a result of type [Ignore].
    Suppress this warning by saying "_ <- debug
                                            many newIgnore "IGNORING conditional section"",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:694:10: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            Text.XML.HaXml.Lex.TokSectionClose",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:725:9: Warning:
    This binding for `name' shadows the existing binding
      defined at src/Text/XML/HaXml/Parse.hs:186:1

src/Text/XML/HaXml/Parse.hs:756:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            Text.XML.HaXml.Lex.TokSpecialOpen",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:757:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            (Text.XML.HaXml.Lex.TokSpecial
                                               Text.XML.HaXml.Lex.ENTITYx)",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:760:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- onFail
                                            tok Text.XML.HaXml.Lex.TokAnyClose
                                            failBadP
                                              ((++) "expected > terminating G ENTITY decl " n)",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:766:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            Text.XML.HaXml.Lex.TokSpecialOpen",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:767:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            (Text.XML.HaXml.Lex.TokSpecial
                                               Text.XML.HaXml.Lex.ENTITYx)",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:768:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            Text.XML.HaXml.Lex.TokPercent",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:771:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- onFail
                                            tok Text.XML.HaXml.Lex.TokAnyClose
                                            failBadP
                                              ((++) "expected > terminating P ENTITY decl " n)",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:809:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            Text.XML.HaXml.Lex.TokPIOpen",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:813:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- onFail
                                            tok Text.XML.HaXml.Lex.TokPIClose
                                            failP "expected ?> terminating text decl"",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:831:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- onFail
                                            tok Text.XML.HaXml.Lex.TokEqual
                                            failBadP "expected = in 'encoding' decl"",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:837:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            Text.XML.HaXml.Lex.TokSpecialOpen",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:838:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            (Text.XML.HaXml.Lex.TokSpecial
                                               Text.XML.HaXml.Lex.NOTATIONx)",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:841:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- onFail
                                            tok Text.XML.HaXml.Lex.TokAnyClose
                                            failBadP
                                              ((++) "expected > terminating NOTATION decl " n)",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:853:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            Text.XML.HaXml.Lex.TokQuote",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:856:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- onFail
                                            tok Text.XML.HaXml.Lex.TokQuote
                                            failBadP "expected quote to terminate entityvalue"",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:865:39: Warning:
    This binding for `ev' shadows the existing binding
      defined at src/Text/XML/HaXml/Parse.hs:869:1

src/Text/XML/HaXml/Parse.hs:566:10: Warning:
    Orphan instance: instance Show CP

src/Text/XML/HaXml/Parse.hs:572:10: Warning:
    Orphan instance: instance Show Modifier
[ 9 of 10] Compiling Text.XML.HaXml.Wrappers ( src/Text/XML/HaXml/Wrappers.hs, dist/build/Canonicalise/Canonicalise-tmp/Text/XML/HaXml/Wrappers.o )

src/Text/XML/HaXml/Wrappers.hs:69:5: Warning:
    This binding for `onContent' shadows the existing binding
      defined at src/Text/XML/HaXml/Wrappers.hs:79:1
[10 of 10] Compiling Main             ( src/tools/Canonicalise.hs, dist/build/Canonicalise/Canonicalise-tmp/Main.o )
Linking dist/build/Canonicalise/Canonicalise ...
Preprocessing executable 'CanonicaliseLazy' for HaXml-1.22.1...
[ 1 of 13] Compiling Text.XML.HaXml.Types ( src/Text/XML/HaXml/Types.hs, dist/build/CanonicaliseLazy/CanonicaliseLazy-tmp/Text/XML/HaXml/Types.o )

src/Text/XML/HaXml/Types.hs:285:17: Warning:
    Defined but not used: `p'

src/Text/XML/HaXml/Types.hs:285:19: Warning:
    Defined but not used: `n'

src/Text/XML/HaXml/Types.hs:285:25: Warning:
    Defined but not used: `m'

src/Text/XML/HaXml/Types.hs:286:16: Warning:
    Defined but not used: `n'

src/Text/XML/HaXml/Types.hs:286:26: Warning:
    Defined but not used: `q'

src/Text/XML/HaXml/Types.hs:286:28: Warning:
    Defined but not used: `m'
[ 2 of 13] Compiling Text.XML.HaXml.Posn ( src/Text/XML/HaXml/Posn.hs, dist/build/CanonicaliseLazy/CanonicaliseLazy-tmp/Text/XML/HaXml/Posn.o )
[ 3 of 13] Compiling Text.XML.HaXml.Namespaces ( src/Text/XML/HaXml/Namespaces.hs, dist/build/CanonicaliseLazy/CanonicaliseLazy-tmp/Text/XML/HaXml/Namespaces.o )

src/Text/XML/HaXml/Namespaces.hs:127:17: Warning:
    This binding for `qualify' shadows the existing binding
      defined at src/Text/XML/HaXml/Namespaces.hs:58:1

src/Text/XML/HaXml/Namespaces.hs:171:15: Warning:
    Pattern match(es) are non-exhaustive
    In an equation for `mkNamespace': Patterns not matched: (QN _ _, _)
[ 4 of 13] Compiling Text.XML.HaXml.Lex ( src/Text/XML/HaXml/Lex.hs, dist/build/CanonicaliseLazy/CanonicaliseLazy-tmp/Text/XML/HaXml/Lex.o )

src/Text/XML/HaXml/Lex.hs:205:18: Warning:
    This binding for `lookup' shadows the existing binding
      imported from `Prelude' at src/Text/XML/HaXml/Lex.hs:16:8-25
      (and originally defined in `GHC.List')

src/Text/XML/HaXml/Lex.hs:316:24: Warning:
    This binding for `p' shadows the existing binding
      bound at src/Text/XML/HaXml/Lex.hs:312:9

src/Text/XML/HaXml/Lex.hs:316:29: Warning:
    This binding for `k' shadows the existing binding
      bound at src/Text/XML/HaXml/Lex.hs:312:22

src/Text/XML/HaXml/Lex.hs:319:24: Warning:
    This binding for `p' shadows the existing binding
      bound at src/Text/XML/HaXml/Lex.hs:312:9

src/Text/XML/HaXml/Lex.hs:319:27: Warning:
    This binding for `s' shadows the existing binding
      bound at src/Text/XML/HaXml/Lex.hs:312:12

src/Text/XML/HaXml/Lex.hs:319:29: Warning:
    This binding for `ss' shadows the existing binding
      bound at src/Text/XML/HaXml/Lex.hs:312:14

src/Text/XML/HaXml/Lex.hs:319:33: Warning:
    This binding for `k' shadows the existing binding
      bound at src/Text/XML/HaXml/Lex.hs:312:22
[ 5 of 13] Compiling Text.XML.HaXml.Parse ( src/Text/XML/HaXml/Parse.hs, dist/build/CanonicaliseLazy/CanonicaliseLazy-tmp/Text/XML/HaXml/Parse.o )

src/Text/XML/HaXml/Parse.hs:34:1: Warning:
    The import of `Data.Maybe' is redundant
      except perhaps to import instances from `Data.Maybe'
    To import instances alone, use: import Data.Maybe()

src/Text/XML/HaXml/Parse.hs:37:1: Warning:
    The import of `Control.Monad' is redundant
      except perhaps to import instances from `Control.Monad'
    To import instances alone, use: import Control.Monad()

src/Text/XML/HaXml/Parse.hs:73:11: Warning:
    Defined but not used: `s'

src/Text/XML/HaXml/Parse.hs:101:11: Warning:
    This binding for `name' shadows the existing binding
      defined at src/Text/XML/HaXml/Parse.hs:186:1

src/Text/XML/HaXml/Parse.hs:102:11: Warning:
    This binding for `name' shadows the existing binding
      defined at src/Text/XML/HaXml/Parse.hs:186:1

src/Text/XML/HaXml/Parse.hs:104:11: Warning:
    This binding for `name' shadows the existing binding
      defined at src/Text/XML/HaXml/Parse.hs:186:1

src/Text/XML/HaXml/Parse.hs:105:11: Warning:
    This binding for `name' shadows the existing binding
      defined at src/Text/XML/HaXml/Parse.hs:186:1

src/Text/XML/HaXml/Parse.hs:161:10: Warning:
    A do-notation statement discarded a result of type bra.
    Suppress this warning by saying "_ <- adjustErr
                                            open
                                            ( \ x_ -> (++)
                                                 "Missing opening bracket:\
                                                 \\t" x_ ))",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:186:14: Warning:
    This binding for `tok' shadows the existing binding
      defined at src/Text/XML/HaXml/Parse.hs:170:1

src/Text/XML/HaXml/Parse.hs:233:8: Warning:
    This binding for `fail' shadows the existing binding
      imported from `Control.Monad' at src/Text/XML/HaXml/Parse.hs:37:1-38
      (and originally defined in `GHC.Base')

src/Text/XML/HaXml/Parse.hs:247:35: Warning:
    This binding for `ev' shadows the existing binding
      defined at src/Text/XML/HaXml/Parse.hs:869:1

src/Text/XML/HaXml/Parse.hs:276:35: Warning:
    This binding for `ev' shadows the existing binding
      defined at src/Text/XML/HaXml/Parse.hs:869:1

src/Text/XML/HaXml/Parse.hs:320:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            Text.XML.HaXml.Lex.TokPIOpen",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:324:7: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- onFail
                                            tok Text.XML.HaXml.Lex.TokPIClose
                                            failP ((++) "missing ?> in <?" n)",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:329:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            Text.XML.HaXml.Lex.TokSectionOpen",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:342:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            Text.XML.HaXml.Lex.TokPIOpen",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:346:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- onFail
                                            tok Text.XML.HaXml.Lex.TokPIClose
                                            failBadP "missing ?> in <?xml ...?>"",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:360:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            Text.XML.HaXml.Lex.TokEqual",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:372:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            Text.XML.HaXml.Lex.TokSpecialOpen",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:373:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            (Text.XML.HaXml.Lex.TokSpecial
                                               Text.XML.HaXml.Lex.DOCTYPEx)",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:379:7: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- onFail
                                            blank (tok Text.XML.HaXml.Lex.TokAnyClose)
                                            failP "missing > in DOCTYPE decl"",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:410:7: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- onFail
                                            tok Text.XML.HaXml.Lex.TokEqual
                                            failP "missing = in 'standalone' decl"",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:437:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            Text.XML.HaXml.Lex.TokAnyOpen",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:439:10: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            Text.XML.HaXml.Lex.TokEndClose",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:442:10: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            Text.XML.HaXml.Lex.TokAnyClose",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:468:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            Text.XML.HaXml.Lex.TokAnyOpen",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:470:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            Text.XML.HaXml.Lex.TokAnyClose",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:477:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            Text.XML.HaXml.Lex.TokEndOpen",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:480:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            Text.XML.HaXml.Lex.TokAnyClose",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:486:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- onFail
                                            tok Text.XML.HaXml.Lex.TokEqual
                                            failBadP "missing = in attribute"",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:509:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            Text.XML.HaXml.Lex.TokSpecialOpen",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:510:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            (Text.XML.HaXml.Lex.TokSpecial
                                               Text.XML.HaXml.Lex.ELEMENTx)",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:515:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- onFail
                                            blank (tok Text.XML.HaXml.Lex.TokAnyClose)
                                            failBadP
                                              ((++)
                                                 "expected > terminating ELEMENT decl"
                                                 (++)
                                                   "\
                                                   \    element name was "
                                                   (++)
                                                     show (printableName n)
                                                     (++)
                                                       "\
                                                       \    contentspec was "
                                                       \ (ContentSpec p) -> show p c)",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:581:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            Text.XML.HaXml.Lex.TokBraOpen",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:582:15: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            Text.XML.HaXml.Lex.TokHash",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:585:42: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            Text.XML.HaXml.Lex.TokPipe",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:587:20: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- blank
                                            ((>>)
                                               tok Text.XML.HaXml.Lex.TokBraClose
                                               tok Text.XML.HaXml.Lex.TokStar)",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:596:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            Text.XML.HaXml.Lex.TokSpecialOpen",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:597:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            (Text.XML.HaXml.Lex.TokSpecial
                                               Text.XML.HaXml.Lex.ATTLISTx)",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:600:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- onFail
                                            blank (tok Text.XML.HaXml.Lex.TokAnyClose)
                                            failBadP "missing > terminating ATTLIST"",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:669:12: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            Text.XML.HaXml.Lex.TokSectionOpen",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:670:12: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- peRef
                                            (tok
                                               (Text.XML.HaXml.Lex.TokSection
                                                  Text.XML.HaXml.Lex.INCLUDEx))",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:672:12: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- onFail
                                            tok Text.XML.HaXml.Lex.TokSqOpen
                                            failBadP "missing [ after INCLUDE"",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:674:12: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- onFail
                                            tok Text.XML.HaXml.Lex.TokSectionClose
                                            failBadP
                                              ((++)
                                                 "missing ]]> for INCLUDE section"
                                                 (++)
                                                   "\
                                                   \    begun at "
                                                   show p)",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:679:12: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            Text.XML.HaXml.Lex.TokSectionOpen",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:680:12: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- peRef
                                            (tok
                                               (Text.XML.HaXml.Lex.TokSection
                                                  Text.XML.HaXml.Lex.IGNOREx))",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:682:12: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- onFail
                                            tok Text.XML.HaXml.Lex.TokSqOpen
                                            failBadP "missing [ after IGNORE"",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:683:12: Warning:
    A do-notation statement discarded a result of type [Ignore].
    Suppress this warning by saying "_ <- many newIgnore",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:684:12: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- onFail
                                            tok Text.XML.HaXml.Lex.TokSectionClose
                                            failBadP
                                              ((++)
                                                 "missing ]]> for IGNORE section"
                                                 (++)
                                                   "\
                                                   \    begun at "
                                                   show p)",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:692:10: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            Text.XML.HaXml.Lex.TokSectionOpen",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:693:10: Warning:
    A do-notation statement discarded a result of type [Ignore].
    Suppress this warning by saying "_ <- debug
                                            many newIgnore "IGNORING conditional section"",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:694:10: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            Text.XML.HaXml.Lex.TokSectionClose",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:725:9: Warning:
    This binding for `name' shadows the existing binding
      defined at src/Text/XML/HaXml/Parse.hs:186:1

src/Text/XML/HaXml/Parse.hs:756:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            Text.XML.HaXml.Lex.TokSpecialOpen",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:757:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            (Text.XML.HaXml.Lex.TokSpecial
                                               Text.XML.HaXml.Lex.ENTITYx)",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:760:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- onFail
                                            tok Text.XML.HaXml.Lex.TokAnyClose
                                            failBadP
                                              ((++) "expected > terminating G ENTITY decl " n)",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:766:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            Text.XML.HaXml.Lex.TokSpecialOpen",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:767:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            (Text.XML.HaXml.Lex.TokSpecial
                                               Text.XML.HaXml.Lex.ENTITYx)",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:768:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            Text.XML.HaXml.Lex.TokPercent",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:771:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- onFail
                                            tok Text.XML.HaXml.Lex.TokAnyClose
                                            failBadP
                                              ((++) "expected > terminating P ENTITY decl " n)",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:809:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            Text.XML.HaXml.Lex.TokPIOpen",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:813:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- onFail
                                            tok Text.XML.HaXml.Lex.TokPIClose
                                            failP "expected ?> terminating text decl"",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:831:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- onFail
                                            tok Text.XML.HaXml.Lex.TokEqual
                                            failBadP "expected = in 'encoding' decl"",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:837:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            Text.XML.HaXml.Lex.TokSpecialOpen",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:838:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            (Text.XML.HaXml.Lex.TokSpecial
                                               Text.XML.HaXml.Lex.NOTATIONx)",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:841:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- onFail
                                            tok Text.XML.HaXml.Lex.TokAnyClose
                                            failBadP
                                              ((++) "expected > terminating NOTATION decl " n)",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:853:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            Text.XML.HaXml.Lex.TokQuote",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:856:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- onFail
                                            tok Text.XML.HaXml.Lex.TokQuote
                                            failBadP "expected quote to terminate entityvalue"",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:865:39: Warning:
    This binding for `ev' shadows the existing binding
      defined at src/Text/XML/HaXml/Parse.hs:869:1

src/Text/XML/HaXml/Parse.hs:566:10: Warning:
    Orphan instance: instance Show CP

src/Text/XML/HaXml/Parse.hs:572:10: Warning:
    Orphan instance: instance Show Modifier
[ 6 of 13] Compiling Text.XML.HaXml.Html.Parse ( src/Text/XML/HaXml/Html/Parse.hs, dist/build/CanonicaliseLazy/CanonicaliseLazy-tmp/Text/XML/HaXml/Html/Parse.o )

src/Text/XML/HaXml/Html/Parse.hs:17:1: Warning:
    The import of `Data.Maybe' is redundant
      except perhaps to import instances from `Data.Maybe'
    To import instances alone, use: import Data.Maybe()

src/Text/XML/HaXml/Html/Parse.hs:20:1: Warning:
    The import of `Control.Monad' is redundant
      except perhaps to import instances from `Control.Monad'
    To import instances alone, use: import Control.Monad()

src/Text/XML/HaXml/Html/Parse.hs:74:41: Warning:
    This binding for `avs' shadows the existing binding
      bound at src/Text/XML/HaXml/Html/Parse.hs:63:33

src/Text/XML/HaXml/Html/Parse.hs:74:45: Warning:
    This binding for `cs' shadows the existing binding
      bound at src/Text/XML/HaXml/Html/Parse.hs:63:37

src/Text/XML/HaXml/Html/Parse.hs:143:14: Warning:
    This binding for `tok' shadows the existing binding
      defined at src/Text/XML/HaXml/Html/Parse.hs:133:1

src/Text/XML/HaXml/Html/Parse.hs:190:8: Warning:
    This binding for `fail' shadows the existing binding
      imported from `Control.Monad' at src/Text/XML/HaXml/Html/Parse.hs:20:1-20
      (and originally defined in `GHC.Base')

src/Text/XML/HaXml/Html/Parse.hs:216:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            Text.XML.HaXml.Lex.TokPIOpen",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Html/Parse.hs:220:7: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- onFail
                                            (onFail
                                               tok Text.XML.HaXml.Lex.TokPIClose
                                               tok Text.XML.HaXml.Lex.TokAnyClose)
                                            failP "missing ?> or >"",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Html/Parse.hs:225:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            Text.XML.HaXml.Lex.TokSectionOpen",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Html/Parse.hs:238:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            Text.XML.HaXml.Lex.TokPIOpen",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Html/Parse.hs:242:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- onFail
                                            tok Text.XML.HaXml.Lex.TokPIClose
                                            failBadP "missing ?> in <?xml ...?>"",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Html/Parse.hs:254:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            Text.XML.HaXml.Lex.TokEqual",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Html/Parse.hs:269:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            Text.XML.HaXml.Lex.TokSpecialOpen",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Html/Parse.hs:270:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            (Text.XML.HaXml.Lex.TokSpecial
                                               Text.XML.HaXml.Lex.DOCTYPEx)",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Html/Parse.hs:275:7: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- onFail
                                            tok Text.XML.HaXml.Lex.TokAnyClose
                                            failP "missing > in DOCTYPE decl"",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Html/Parse.hs:304:7: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- onFail
                                            tok Text.XML.HaXml.Lex.TokEqual
                                            failP "missing = in 'standalone' decl"",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Html/Parse.hs:322:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            Text.XML.HaXml.Lex.TokAnyOpen",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Html/Parse.hs:332:15: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            Text.XML.HaXml.Lex.TokEndClose",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Html/Parse.hs:342:15: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            Text.XML.HaXml.Lex.TokAnyClose",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Html/Parse.hs:346:15: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            Text.XML.HaXml.Lex.TokEndClose",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Html/Parse.hs:349:15: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- onFail
                                            tok Text.XML.HaXml.Lex.TokAnyClose
                                            failP "missing > or /> in element tag"",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Html/Parse.hs:356:15: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- commit
                                            (tok Text.XML.HaXml.Lex.TokAnyClose)",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Html/Parse.hs:409:14: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            Text.XML.HaXml.Lex.TokEqual",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Html/Parse.hs:670:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- onFail
                                            tok Text.XML.HaXml.Lex.TokEqual
                                            failBadP "expected = in 'encoding' decl"",
    or by using the flag -fno-warn-unused-do-bind
[ 7 of 13] Compiling Text.XML.HaXml.Combinators ( src/Text/XML/HaXml/Combinators.hs, dist/build/CanonicaliseLazy/CanonicaliseLazy-tmp/Text/XML/HaXml/Combinators.o )

src/Text/XML/HaXml/Combinators.hs:79:9: Warning:
    This binding for `x' shadows the existing binding
      defined at src/Text/XML/HaXml/Combinators.hs:350:3

src/Text/XML/HaXml/Combinators.hs:81:9: Warning:
    This binding for `x' shadows the existing binding
      defined at src/Text/XML/HaXml/Combinators.hs:350:3

src/Text/XML/HaXml/Combinators.hs:81:9: Warning:
    Defined but not used: `x'

src/Text/XML/HaXml/Combinators.hs:110:5: Warning:
    This binding for `x' shadows the existing binding
      defined at src/Text/XML/HaXml/Combinators.hs:350:3

src/Text/XML/HaXml/Combinators.hs:113:5: Warning:
    This binding for `x' shadows the existing binding
      defined at src/Text/XML/HaXml/Combinators.hs:350:3

src/Text/XML/HaXml/Combinators.hs:114:5: Warning:
    This binding for `x' shadows the existing binding
      defined at src/Text/XML/HaXml/Combinators.hs:350:3

src/Text/XML/HaXml/Combinators.hs:117:7: Warning:
    This binding for `x' shadows the existing binding
      defined at src/Text/XML/HaXml/Combinators.hs:350:3

src/Text/XML/HaXml/Combinators.hs:120:11: Warning:
    This binding for `x' shadows the existing binding
      defined at src/Text/XML/HaXml/Combinators.hs:350:3

src/Text/XML/HaXml/Combinators.hs:123:8: Warning:
    This binding for `x' shadows the existing binding
      defined at src/Text/XML/HaXml/Combinators.hs:350:3

src/Text/XML/HaXml/Combinators.hs:126:12: Warning:
    This binding for `x' shadows the existing binding
      defined at src/Text/XML/HaXml/Combinators.hs:350:3

src/Text/XML/HaXml/Combinators.hs:137:1: Warning:
    Pattern match(es) are non-exhaustive
    In an equation for `find':
        Patterns not matched:
            _ _ (CString _ _ _)
            _ _ (CRef _ _)
            _ _ (CMisc _ _)

src/Text/XML/HaXml/Combinators.hs:138:17: Warning:
    This binding for `x' shadows the existing binding
      defined at src/Text/XML/HaXml/Combinators.hs:350:3

src/Text/XML/HaXml/Combinators.hs:189:19: Warning:
    This binding for `x' shadows the existing binding
      defined at src/Text/XML/HaXml/Combinators.hs:350:3

src/Text/XML/HaXml/Combinators.hs:203:16: Warning:
    This binding for `x' shadows the existing binding
      defined at src/Text/XML/HaXml/Combinators.hs:350:3

src/Text/XML/HaXml/Combinators.hs:212:12: Warning:
    This binding for `x' shadows the existing binding
      defined at src/Text/XML/HaXml/Combinators.hs:350:3

src/Text/XML/HaXml/Combinators.hs:301:9: Warning:
    This binding for `attr' shadows the existing binding
      defined at src/Text/XML/HaXml/Combinators.hs:123:1

src/Text/XML/HaXml/Combinators.hs:321:24: Warning:
    This binding for `n' shadows the existing binding
      bound at src/Text/XML/HaXml/Combinators.hs:320:30
[ 8 of 13] Compiling Text.XML.HaXml.Html.Pretty ( src/Text/XML/HaXml/Html/Pretty.hs, dist/build/CanonicaliseLazy/CanonicaliseLazy-tmp/Text/XML/HaXml/Html/Pretty.o )

src/Text/XML/HaXml/Html/Pretty.hs:12:1: Warning:
    The import of `Data.Maybe' is redundant
      except perhaps to import instances from `Data.Maybe'
    To import instances alone, use: import Data.Maybe()

src/Text/XML/HaXml/Html/Pretty.hs:245:27: Warning:
    This binding for `ev' shadows the existing binding
      defined at src/Text/XML/HaXml/Html/Pretty.hs:268:1

src/Text/XML/HaXml/Html/Pretty.hs:247:25: Warning:
    This binding for `ev' shadows the existing binding
      defined at src/Text/XML/HaXml/Html/Pretty.hs:268:1

src/Text/XML/HaXml/Html/Pretty.hs:276:1: Warning:
    Top-level binding with no type signature: qname :: QName -> Doc
[ 9 of 13] Compiling Text.XML.HaXml.Pretty ( src/Text/XML/HaXml/Pretty.hs, dist/build/CanonicaliseLazy/CanonicaliseLazy-tmp/Text/XML/HaXml/Pretty.o )

src/Text/XML/HaXml/Pretty.hs:25:1: Warning:
    The import of `Data.Maybe' is redundant
      except perhaps to import instances from `Data.Maybe'
    To import instances alone, use: import Data.Maybe()

src/Text/XML/HaXml/Pretty.hs:276:1: Warning:
    Top-level binding with no type signature: qname :: QName -> Doc
[10 of 13] Compiling Text.XML.HaXml.Wrappers ( src/Text/XML/HaXml/Wrappers.hs, dist/build/CanonicaliseLazy/CanonicaliseLazy-tmp/Text/XML/HaXml/Wrappers.o )

src/Text/XML/HaXml/Wrappers.hs:69:5: Warning:
    This binding for `onContent' shadows the existing binding
      defined at src/Text/XML/HaXml/Wrappers.hs:79:1
[11 of 13] Compiling Text.XML.HaXml.Html.ParseLazy ( src/Text/XML/HaXml/Html/ParseLazy.hs, dist/build/CanonicaliseLazy/CanonicaliseLazy-tmp/Text/XML/HaXml/Html/ParseLazy.o )

src/Text/XML/HaXml/Html/ParseLazy.hs:16:1: Warning:
    The import of `Data.Maybe' is redundant
      except perhaps to import instances from `Data.Maybe'
    To import instances alone, use: import Data.Maybe()

src/Text/XML/HaXml/Html/ParseLazy.hs:19:1: Warning:
    The import of `Control.Monad' is redundant
      except perhaps to import instances from `Control.Monad'
    To import instances alone, use: import Control.Monad()

src/Text/XML/HaXml/Html/ParseLazy.hs:141:14: Warning:
    This binding for `tok' shadows the existing binding
      defined at src/Text/XML/HaXml/Html/ParseLazy.hs:131:1

src/Text/XML/HaXml/Html/ParseLazy.hs:188:8: Warning:
    This binding for `fail' shadows the existing binding
      imported from `Control.Monad' at src/Text/XML/HaXml/Html/ParseLazy.hs:19:1-20
      (and originally defined in `GHC.Base')

src/Text/XML/HaXml/Html/ParseLazy.hs:215:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            Text.XML.HaXml.Lex.TokPIOpen",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Html/ParseLazy.hs:219:7: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- onFail
                                            (onFail
                                               tok Text.XML.HaXml.Lex.TokPIClose
                                               tok Text.XML.HaXml.Lex.TokAnyClose)
                                            failP "missing ?> or >"",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Html/ParseLazy.hs:224:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            Text.XML.HaXml.Lex.TokSectionOpen",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Html/ParseLazy.hs:237:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            Text.XML.HaXml.Lex.TokPIOpen",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Html/ParseLazy.hs:241:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- onFail
                                            tok Text.XML.HaXml.Lex.TokPIClose
                                            failBadP "missing ?> in <?xml ...?>"",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Html/ParseLazy.hs:253:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            Text.XML.HaXml.Lex.TokEqual",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Html/ParseLazy.hs:268:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            Text.XML.HaXml.Lex.TokSpecialOpen",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Html/ParseLazy.hs:269:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            (Text.XML.HaXml.Lex.TokSpecial
                                               Text.XML.HaXml.Lex.DOCTYPEx)",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Html/ParseLazy.hs:274:7: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- onFail
                                            tok Text.XML.HaXml.Lex.TokAnyClose
                                            failP "missing > in DOCTYPE decl"",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Html/ParseLazy.hs:303:7: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- onFail
                                            tok Text.XML.HaXml.Lex.TokEqual
                                            failP "missing = in 'standalone' decl"",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Html/ParseLazy.hs:319:1: Warning:
    Pattern match(es) are non-exhaustive
    In an equation for `element': Patterns not matched: QN _ _

src/Text/XML/HaXml/Html/ParseLazy.hs:321:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            Text.XML.HaXml.Lex.TokAnyOpen",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Html/ParseLazy.hs:331:15: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            Text.XML.HaXml.Lex.TokEndClose",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Html/ParseLazy.hs:341:15: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            Text.XML.HaXml.Lex.TokAnyClose",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Html/ParseLazy.hs:345:15: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            Text.XML.HaXml.Lex.TokEndClose",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Html/ParseLazy.hs:348:15: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- onFail
                                            tok Text.XML.HaXml.Lex.TokAnyClose
                                            failP "missing > or /> in element tag"",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Html/ParseLazy.hs:356:23: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- commit
                                            (tok Text.XML.HaXml.Lex.TokAnyClose)",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Html/ParseLazy.hs:382:11: Warning:
    Pattern match(es) are non-exhaustive
    In an equation for `f0': Patterns not matched: (QN _ _, _)

src/Text/XML/HaXml/Html/ParseLazy.hs:410:14: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            Text.XML.HaXml.Lex.TokEqual",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Html/ParseLazy.hs:671:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- onFail
                                            tok Text.XML.HaXml.Lex.TokEqual
                                            failBadP "expected = in 'encoding' decl"",
    or by using the flag -fno-warn-unused-do-bind
[12 of 13] Compiling Text.XML.HaXml.ParseLazy ( src/Text/XML/HaXml/ParseLazy.hs, dist/build/CanonicaliseLazy/CanonicaliseLazy-tmp/Text/XML/HaXml/ParseLazy.o )

src/Text/XML/HaXml/ParseLazy.hs:31:1: Warning:
    Module `Prelude' does not export `catch'

src/Text/XML/HaXml/ParseLazy.hs:33:1: Warning:
    The import of `Data.Maybe' is redundant
      except perhaps to import instances from `Data.Maybe'
    To import instances alone, use: import Data.Maybe()

src/Text/XML/HaXml/ParseLazy.hs:36:1: Warning:
    The import of `Control.Monad' is redundant
      except perhaps to import instances from `Control.Monad'
    To import instances alone, use: import Control.Monad()

src/Text/XML/HaXml/ParseLazy.hs:108:11: Warning:
    This binding for `name' shadows the existing binding
      defined at src/Text/XML/HaXml/ParseLazy.hs:191:1

src/Text/XML/HaXml/ParseLazy.hs:109:11: Warning:
    This binding for `name' shadows the existing binding
      defined at src/Text/XML/HaXml/ParseLazy.hs:191:1

src/Text/XML/HaXml/ParseLazy.hs:165:10: Warning:
    A do-notation statement discarded a result of type bra.
    Suppress this warning by saying "_ <- adjustErr
                                            open
                                            ( \ x_ -> (++)
                                                 "Missing opening bracket:\
                                                 \\t" x_ ))",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/ParseLazy.hs:191:14: Warning:
    This binding for `tok' shadows the existing binding
      defined at src/Text/XML/HaXml/ParseLazy.hs:175:1

src/Text/XML/HaXml/ParseLazy.hs:238:8: Warning:
    This binding for `fail' shadows the existing binding
      imported from `Control.Monad' at src/Text/XML/HaXml/ParseLazy.hs:36:1-38
      (and originally defined in `GHC.Base')

src/Text/XML/HaXml/ParseLazy.hs:252:35: Warning:
    This binding for `ev' shadows the existing binding
      defined at src/Text/XML/HaXml/ParseLazy.hs:880:1

src/Text/XML/HaXml/ParseLazy.hs:281:35: Warning:
    This binding for `ev' shadows the existing binding
      defined at src/Text/XML/HaXml/ParseLazy.hs:880:1

src/Text/XML/HaXml/ParseLazy.hs:330:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            Text.XML.HaXml.Lex.TokPIOpen",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/ParseLazy.hs:334:7: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- onFail
                                            tok Text.XML.HaXml.Lex.TokPIClose
                                            failP ((++) "missing ?> in <?" n)",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/ParseLazy.hs:339:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            Text.XML.HaXml.Lex.TokSectionOpen",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/ParseLazy.hs:352:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            Text.XML.HaXml.Lex.TokPIOpen",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/ParseLazy.hs:356:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- onFail
                                            tok Text.XML.HaXml.Lex.TokPIClose
                                            failBadP "missing ?> in <?xml ...?>"",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/ParseLazy.hs:371:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            Text.XML.HaXml.Lex.TokEqual",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/ParseLazy.hs:383:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            Text.XML.HaXml.Lex.TokSpecialOpen",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/ParseLazy.hs:384:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            (Text.XML.HaXml.Lex.TokSpecial
                                               Text.XML.HaXml.Lex.DOCTYPEx)",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/ParseLazy.hs:390:7: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- onFail
                                            blank (tok Text.XML.HaXml.Lex.TokAnyClose)
                                            failP "missing > in DOCTYPE decl"",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/ParseLazy.hs:421:7: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- onFail
                                            tok Text.XML.HaXml.Lex.TokEqual
                                            failP "missing = in 'standalone' decl"",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/ParseLazy.hs:448:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            Text.XML.HaXml.Lex.TokAnyOpen",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/ParseLazy.hs:451:14: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            Text.XML.HaXml.Lex.TokEndClose",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/ParseLazy.hs:454:14: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            Text.XML.HaXml.Lex.TokAnyClose",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/ParseLazy.hs:478:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            Text.XML.HaXml.Lex.TokAnyOpen",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/ParseLazy.hs:480:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            Text.XML.HaXml.Lex.TokAnyClose",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/ParseLazy.hs:487:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            Text.XML.HaXml.Lex.TokEndOpen",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/ParseLazy.hs:490:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            Text.XML.HaXml.Lex.TokAnyClose",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/ParseLazy.hs:496:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- onFail
                                            tok Text.XML.HaXml.Lex.TokEqual
                                            failBadP "missing = in attribute"",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/ParseLazy.hs:519:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            Text.XML.HaXml.Lex.TokSpecialOpen",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/ParseLazy.hs:520:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            (Text.XML.HaXml.Lex.TokSpecial
                                               Text.XML.HaXml.Lex.ELEMENTx)",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/ParseLazy.hs:525:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- onFail
                                            blank (tok Text.XML.HaXml.Lex.TokAnyClose)
                                            failBadP
                                              ((++)
                                                 "expected > terminating ELEMENT decl"
                                                 (++)
                                                   "\
                                                   \    element name was "
                                                   (++)
                                                     show (printableName n)
                                                     (++)
                                                       "\
                                                       \    contentspec was "
                                                       \ (ContentSpec p) -> show p c)",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/ParseLazy.hs:591:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            Text.XML.HaXml.Lex.TokBraOpen",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/ParseLazy.hs:592:15: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            Text.XML.HaXml.Lex.TokHash",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/ParseLazy.hs:595:42: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            Text.XML.HaXml.Lex.TokPipe",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/ParseLazy.hs:597:20: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- blank
                                            ((>>)
                                               tok Text.XML.HaXml.Lex.TokBraClose
                                               tok Text.XML.HaXml.Lex.TokStar)",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/ParseLazy.hs:606:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            Text.XML.HaXml.Lex.TokSpecialOpen",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/ParseLazy.hs:607:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            (Text.XML.HaXml.Lex.TokSpecial
                                               Text.XML.HaXml.Lex.ATTLISTx)",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/ParseLazy.hs:610:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- onFail
                                            blank (tok Text.XML.HaXml.Lex.TokAnyClose)
                                            failBadP "missing > terminating ATTLIST"",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/ParseLazy.hs:679:12: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            Text.XML.HaXml.Lex.TokSectionOpen",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/ParseLazy.hs:680:12: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- peRef
                                            (tok
                                               (Text.XML.HaXml.Lex.TokSection
                                                  Text.XML.HaXml.Lex.INCLUDEx))",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/ParseLazy.hs:682:12: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- onFail
                                            tok Text.XML.HaXml.Lex.TokSqOpen
                                            failBadP "missing [ after INCLUDE"",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/ParseLazy.hs:684:12: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- onFail
                                            tok Text.XML.HaXml.Lex.TokSectionClose
                                            failBadP
                                              ((++)
                                                 "missing ]]> for INCLUDE section"
                                                 (++)
                                                   "\
                                                   \    begun at "
                                                   show p)",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/ParseLazy.hs:689:12: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            Text.XML.HaXml.Lex.TokSectionOpen",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/ParseLazy.hs:690:12: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- peRef
                                            (tok
                                               (Text.XML.HaXml.Lex.TokSection
                                                  Text.XML.HaXml.Lex.IGNOREx))",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/ParseLazy.hs:692:12: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- onFail
                                            tok Text.XML.HaXml.Lex.TokSqOpen
                                            failBadP "missing [ after IGNORE"",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/ParseLazy.hs:693:12: Warning:
    Defined but not used: `i'

src/Text/XML/HaXml/ParseLazy.hs:694:12: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- onFail
                                            tok Text.XML.HaXml.Lex.TokSectionClose
                                            failBadP
                                              ((++)
                                                 "missing ]]> for IGNORE section"
                                                 (++)
                                                   "\
                                                   \    begun at "
                                                   show p)",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/ParseLazy.hs:702:10: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            Text.XML.HaXml.Lex.TokSectionOpen",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/ParseLazy.hs:703:10: Warning:
    A do-notation statement discarded a result of type [Ignore].
    Suppress this warning by saying "_ <- debug
                                            many newIgnore "IGNORING conditional section"",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/ParseLazy.hs:704:10: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            Text.XML.HaXml.Lex.TokSectionClose",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/ParseLazy.hs:735:9: Warning:
    This binding for `name' shadows the existing binding
      defined at src/Text/XML/HaXml/ParseLazy.hs:191:1

src/Text/XML/HaXml/ParseLazy.hs:766:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            Text.XML.HaXml.Lex.TokSpecialOpen",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/ParseLazy.hs:767:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            (Text.XML.HaXml.Lex.TokSpecial
                                               Text.XML.HaXml.Lex.ENTITYx)",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/ParseLazy.hs:770:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- onFail
                                            tok Text.XML.HaXml.Lex.TokAnyClose
                                            failBadP
                                              ((++) "expected > terminating G ENTITY decl " n)",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/ParseLazy.hs:776:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            Text.XML.HaXml.Lex.TokSpecialOpen",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/ParseLazy.hs:777:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            (Text.XML.HaXml.Lex.TokSpecial
                                               Text.XML.HaXml.Lex.ENTITYx)",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/ParseLazy.hs:778:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            Text.XML.HaXml.Lex.TokPercent",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/ParseLazy.hs:781:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- onFail
                                            tok Text.XML.HaXml.Lex.TokAnyClose
                                            failBadP
                                              ((++) "expected > terminating P ENTITY decl " n)",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/ParseLazy.hs:819:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            Text.XML.HaXml.Lex.TokPIOpen",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/ParseLazy.hs:823:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- onFail
                                            tok Text.XML.HaXml.Lex.TokPIClose
                                            failP "expected ?> terminating text decl"",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/ParseLazy.hs:841:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- onFail
                                            tok Text.XML.HaXml.Lex.TokEqual
                                            failBadP "expected = in 'encoding' decl"",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/ParseLazy.hs:847:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            Text.XML.HaXml.Lex.TokSpecialOpen",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/ParseLazy.hs:848:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            (Text.XML.HaXml.Lex.TokSpecial
                                               Text.XML.HaXml.Lex.NOTATIONx)",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/ParseLazy.hs:851:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- onFail
                                            tok Text.XML.HaXml.Lex.TokAnyClose
                                            failBadP
                                              ((++) "expected > terminating NOTATION decl " n)",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/ParseLazy.hs:863:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            Text.XML.HaXml.Lex.TokQuote",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/ParseLazy.hs:866:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- onFail
                                            tok Text.XML.HaXml.Lex.TokQuote
                                            failBadP "expected quote to terminate entityvalue"",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/ParseLazy.hs:876:39: Warning:
    This binding for `ev' shadows the existing binding
      defined at src/Text/XML/HaXml/ParseLazy.hs:880:1

src/Text/XML/HaXml/ParseLazy.hs:576:10: Warning:
    Orphan instance: instance Show CP

src/Text/XML/HaXml/ParseLazy.hs:582:10: Warning:
    Orphan instance: instance Show Modifier
[13 of 13] Compiling Main             ( src/tools/CanonicaliseLazy.hs, dist/build/CanonicaliseLazy/CanonicaliseLazy-tmp/Main.o )
Linking dist/build/CanonicaliseLazy/CanonicaliseLazy ...
Preprocessing executable 'Xtract' for HaXml-1.22.1...
[ 1 of 25] Compiling Text.XML.HaXml.Xtract.Lex ( src/Text/XML/HaXml/Xtract/Lex.hs, dist/build/Xtract/Xtract-tmp/Text/XML/HaXml/Xtract/Lex.o )

src/Text/XML/HaXml/Xtract/Lex.hs:54:1: Warning:
    Pattern match(es) are non-exhaustive
    In an equation for `white':
        Patterns not matched:
            ghc-prim:GHC.Types.C# #x
            with
            #x `notElem` ['\t', ' ', '\n', '\r', '\160']
[ 2 of 25] Compiling Text.XML.HaXml.Posn ( src/Text/XML/HaXml/Posn.hs, dist/build/Xtract/Xtract-tmp/Text/XML/HaXml/Posn.o )
[ 3 of 25] Compiling Text.XML.HaXml.Lex ( src/Text/XML/HaXml/Lex.hs, dist/build/Xtract/Xtract-tmp/Text/XML/HaXml/Lex.o )

src/Text/XML/HaXml/Lex.hs:205:18: Warning:
    This binding for `lookup' shadows the existing binding
      imported from `Prelude' at src/Text/XML/HaXml/Lex.hs:16:8-25
      (and originally defined in `GHC.List')

src/Text/XML/HaXml/Lex.hs:316:24: Warning:
    This binding for `p' shadows the existing binding
      bound at src/Text/XML/HaXml/Lex.hs:312:9

src/Text/XML/HaXml/Lex.hs:316:29: Warning:
    This binding for `k' shadows the existing binding
      bound at src/Text/XML/HaXml/Lex.hs:312:22

src/Text/XML/HaXml/Lex.hs:319:24: Warning:
    This binding for `p' shadows the existing binding
      bound at src/Text/XML/HaXml/Lex.hs:312:9

src/Text/XML/HaXml/Lex.hs:319:27: Warning:
    This binding for `s' shadows the existing binding
      bound at src/Text/XML/HaXml/Lex.hs:312:12

src/Text/XML/HaXml/Lex.hs:319:29: Warning:
    This binding for `ss' shadows the existing binding
      bound at src/Text/XML/HaXml/Lex.hs:312:14

src/Text/XML/HaXml/Lex.hs:319:33: Warning:
    This binding for `k' shadows the existing binding
      bound at src/Text/XML/HaXml/Lex.hs:312:22
[ 4 of 25] Compiling Text.XML.HaXml.Types ( src/Text/XML/HaXml/Types.hs, dist/build/Xtract/Xtract-tmp/Text/XML/HaXml/Types.o )

src/Text/XML/HaXml/Types.hs:285:17: Warning:
    Defined but not used: `p'

src/Text/XML/HaXml/Types.hs:285:19: Warning:
    Defined but not used: `n'

src/Text/XML/HaXml/Types.hs:285:25: Warning:
    Defined but not used: `m'

src/Text/XML/HaXml/Types.hs:286:16: Warning:
    Defined but not used: `n'

src/Text/XML/HaXml/Types.hs:286:26: Warning:
    Defined but not used: `q'

src/Text/XML/HaXml/Types.hs:286:28: Warning:
    Defined but not used: `m'
[ 5 of 25] Compiling Text.XML.HaXml.Html.ParseLazy ( src/Text/XML/HaXml/Html/ParseLazy.hs, dist/build/Xtract/Xtract-tmp/Text/XML/HaXml/Html/ParseLazy.o )

src/Text/XML/HaXml/Html/ParseLazy.hs:16:1: Warning:
    The import of `Data.Maybe' is redundant
      except perhaps to import instances from `Data.Maybe'
    To import instances alone, use: import Data.Maybe()

src/Text/XML/HaXml/Html/ParseLazy.hs:19:1: Warning:
    The import of `Control.Monad' is redundant
      except perhaps to import instances from `Control.Monad'
    To import instances alone, use: import Control.Monad()

src/Text/XML/HaXml/Html/ParseLazy.hs:141:14: Warning:
    This binding for `tok' shadows the existing binding
      defined at src/Text/XML/HaXml/Html/ParseLazy.hs:131:1

src/Text/XML/HaXml/Html/ParseLazy.hs:188:8: Warning:
    This binding for `fail' shadows the existing binding
      imported from `Control.Monad' at src/Text/XML/HaXml/Html/ParseLazy.hs:19:1-20
      (and originally defined in `GHC.Base')

src/Text/XML/HaXml/Html/ParseLazy.hs:215:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            Text.XML.HaXml.Lex.TokPIOpen",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Html/ParseLazy.hs:219:7: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- onFail
                                            (onFail
                                               tok Text.XML.HaXml.Lex.TokPIClose
                                               tok Text.XML.HaXml.Lex.TokAnyClose)
                                            failP "missing ?> or >"",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Html/ParseLazy.hs:224:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            Text.XML.HaXml.Lex.TokSectionOpen",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Html/ParseLazy.hs:237:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            Text.XML.HaXml.Lex.TokPIOpen",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Html/ParseLazy.hs:241:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- onFail
                                            tok Text.XML.HaXml.Lex.TokPIClose
                                            failBadP "missing ?> in <?xml ...?>"",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Html/ParseLazy.hs:253:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            Text.XML.HaXml.Lex.TokEqual",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Html/ParseLazy.hs:268:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            Text.XML.HaXml.Lex.TokSpecialOpen",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Html/ParseLazy.hs:269:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            (Text.XML.HaXml.Lex.TokSpecial
                                               Text.XML.HaXml.Lex.DOCTYPEx)",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Html/ParseLazy.hs:274:7: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- onFail
                                            tok Text.XML.HaXml.Lex.TokAnyClose
                                            failP "missing > in DOCTYPE decl"",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Html/ParseLazy.hs:303:7: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- onFail
                                            tok Text.XML.HaXml.Lex.TokEqual
                                            failP "missing = in 'standalone' decl"",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Html/ParseLazy.hs:319:1: Warning:
    Pattern match(es) are non-exhaustive
    In an equation for `element': Patterns not matched: QN _ _

src/Text/XML/HaXml/Html/ParseLazy.hs:321:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            Text.XML.HaXml.Lex.TokAnyOpen",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Html/ParseLazy.hs:331:15: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            Text.XML.HaXml.Lex.TokEndClose",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Html/ParseLazy.hs:341:15: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            Text.XML.HaXml.Lex.TokAnyClose",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Html/ParseLazy.hs:345:15: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            Text.XML.HaXml.Lex.TokEndClose",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Html/ParseLazy.hs:348:15: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- onFail
                                            tok Text.XML.HaXml.Lex.TokAnyClose
                                            failP "missing > or /> in element tag"",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Html/ParseLazy.hs:356:23: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- commit
                                            (tok Text.XML.HaXml.Lex.TokAnyClose)",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Html/ParseLazy.hs:382:11: Warning:
    Pattern match(es) are non-exhaustive
    In an equation for `f0': Patterns not matched: (QN _ _, _)

src/Text/XML/HaXml/Html/ParseLazy.hs:410:14: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            Text.XML.HaXml.Lex.TokEqual",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Html/ParseLazy.hs:671:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- onFail
                                            tok Text.XML.HaXml.Lex.TokEqual
                                            failBadP "expected = in 'encoding' decl"",
    or by using the flag -fno-warn-unused-do-bind
[ 6 of 25] Compiling Text.XML.HaXml.Escape ( src/Text/XML/HaXml/Escape.hs, dist/build/Xtract/Xtract-tmp/Text/XML/HaXml/Escape.o )
[ 7 of 25] Compiling Text.XML.HaXml.Namespaces ( src/Text/XML/HaXml/Namespaces.hs, dist/build/Xtract/Xtract-tmp/Text/XML/HaXml/Namespaces.o )

src/Text/XML/HaXml/Namespaces.hs:127:17: Warning:
    This binding for `qualify' shadows the existing binding
      defined at src/Text/XML/HaXml/Namespaces.hs:58:1

src/Text/XML/HaXml/Namespaces.hs:171:15: Warning:
    Pattern match(es) are non-exhaustive
    In an equation for `mkNamespace': Patterns not matched: (QN _ _, _)
[ 8 of 25] Compiling Text.XML.HaXml.Parse ( src/Text/XML/HaXml/Parse.hs, dist/build/Xtract/Xtract-tmp/Text/XML/HaXml/Parse.o )

src/Text/XML/HaXml/Parse.hs:34:1: Warning:
    The import of `Data.Maybe' is redundant
      except perhaps to import instances from `Data.Maybe'
    To import instances alone, use: import Data.Maybe()

src/Text/XML/HaXml/Parse.hs:37:1: Warning:
    The import of `Control.Monad' is redundant
      except perhaps to import instances from `Control.Monad'
    To import instances alone, use: import Control.Monad()

src/Text/XML/HaXml/Parse.hs:73:11: Warning:
    Defined but not used: `s'

src/Text/XML/HaXml/Parse.hs:101:11: Warning:
    This binding for `name' shadows the existing binding
      defined at src/Text/XML/HaXml/Parse.hs:186:1

src/Text/XML/HaXml/Parse.hs:102:11: Warning:
    This binding for `name' shadows the existing binding
      defined at src/Text/XML/HaXml/Parse.hs:186:1

src/Text/XML/HaXml/Parse.hs:104:11: Warning:
    This binding for `name' shadows the existing binding
      defined at src/Text/XML/HaXml/Parse.hs:186:1

src/Text/XML/HaXml/Parse.hs:105:11: Warning:
    This binding for `name' shadows the existing binding
      defined at src/Text/XML/HaXml/Parse.hs:186:1

src/Text/XML/HaXml/Parse.hs:161:10: Warning:
    A do-notation statement discarded a result of type bra.
    Suppress this warning by saying "_ <- adjustErr
                                            open
                                            ( \ x_ -> (++)
                                                 "Missing opening bracket:\
                                                 \\t" x_ ))",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:186:14: Warning:
    This binding for `tok' shadows the existing binding
      defined at src/Text/XML/HaXml/Parse.hs:170:1

src/Text/XML/HaXml/Parse.hs:233:8: Warning:
    This binding for `fail' shadows the existing binding
      imported from `Control.Monad' at src/Text/XML/HaXml/Parse.hs:37:1-38
      (and originally defined in `GHC.Base')

src/Text/XML/HaXml/Parse.hs:247:35: Warning:
    This binding for `ev' shadows the existing binding
      defined at src/Text/XML/HaXml/Parse.hs:869:1

src/Text/XML/HaXml/Parse.hs:276:35: Warning:
    This binding for `ev' shadows the existing binding
      defined at src/Text/XML/HaXml/Parse.hs:869:1

src/Text/XML/HaXml/Parse.hs:320:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            Text.XML.HaXml.Lex.TokPIOpen",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:324:7: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- onFail
                                            tok Text.XML.HaXml.Lex.TokPIClose
                                            failP ((++) "missing ?> in <?" n)",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:329:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            Text.XML.HaXml.Lex.TokSectionOpen",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:342:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            Text.XML.HaXml.Lex.TokPIOpen",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:346:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- onFail
                                            tok Text.XML.HaXml.Lex.TokPIClose
                                            failBadP "missing ?> in <?xml ...?>"",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:360:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            Text.XML.HaXml.Lex.TokEqual",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:372:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            Text.XML.HaXml.Lex.TokSpecialOpen",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:373:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            (Text.XML.HaXml.Lex.TokSpecial
                                               Text.XML.HaXml.Lex.DOCTYPEx)",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:379:7: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- onFail
                                            blank (tok Text.XML.HaXml.Lex.TokAnyClose)
                                            failP "missing > in DOCTYPE decl"",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:410:7: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- onFail
                                            tok Text.XML.HaXml.Lex.TokEqual
                                            failP "missing = in 'standalone' decl"",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:437:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            Text.XML.HaXml.Lex.TokAnyOpen",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:439:10: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            Text.XML.HaXml.Lex.TokEndClose",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:442:10: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            Text.XML.HaXml.Lex.TokAnyClose",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:468:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            Text.XML.HaXml.Lex.TokAnyOpen",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:470:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            Text.XML.HaXml.Lex.TokAnyClose",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:477:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            Text.XML.HaXml.Lex.TokEndOpen",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:480:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            Text.XML.HaXml.Lex.TokAnyClose",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:486:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- onFail
                                            tok Text.XML.HaXml.Lex.TokEqual
                                            failBadP "missing = in attribute"",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:509:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            Text.XML.HaXml.Lex.TokSpecialOpen",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:510:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            (Text.XML.HaXml.Lex.TokSpecial
                                               Text.XML.HaXml.Lex.ELEMENTx)",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:515:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- onFail
                                            blank (tok Text.XML.HaXml.Lex.TokAnyClose)
                                            failBadP
                                              ((++)
                                                 "expected > terminating ELEMENT decl"
                                                 (++)
                                                   "\
                                                   \    element name was "
                                                   (++)
                                                     show (printableName n)
                                                     (++)
                                                       "\
                                                       \    contentspec was "
                                                       \ (ContentSpec p) -> show p c)",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:581:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            Text.XML.HaXml.Lex.TokBraOpen",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:582:15: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            Text.XML.HaXml.Lex.TokHash",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:585:42: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            Text.XML.HaXml.Lex.TokPipe",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:587:20: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- blank
                                            ((>>)
                                               tok Text.XML.HaXml.Lex.TokBraClose
                                               tok Text.XML.HaXml.Lex.TokStar)",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:596:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            Text.XML.HaXml.Lex.TokSpecialOpen",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:597:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            (Text.XML.HaXml.Lex.TokSpecial
                                               Text.XML.HaXml.Lex.ATTLISTx)",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:600:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- onFail
                                            blank (tok Text.XML.HaXml.Lex.TokAnyClose)
                                            failBadP "missing > terminating ATTLIST"",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:669:12: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            Text.XML.HaXml.Lex.TokSectionOpen",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:670:12: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- peRef
                                            (tok
                                               (Text.XML.HaXml.Lex.TokSection
                                                  Text.XML.HaXml.Lex.INCLUDEx))",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:672:12: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- onFail
                                            tok Text.XML.HaXml.Lex.TokSqOpen
                                            failBadP "missing [ after INCLUDE"",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:674:12: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- onFail
                                            tok Text.XML.HaXml.Lex.TokSectionClose
                                            failBadP
                                              ((++)
                                                 "missing ]]> for INCLUDE section"
                                                 (++)
                                                   "\
                                                   \    begun at "
                                                   show p)",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:679:12: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            Text.XML.HaXml.Lex.TokSectionOpen",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:680:12: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- peRef
                                            (tok
                                               (Text.XML.HaXml.Lex.TokSection
                                                  Text.XML.HaXml.Lex.IGNOREx))",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:682:12: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- onFail
                                            tok Text.XML.HaXml.Lex.TokSqOpen
                                            failBadP "missing [ after IGNORE"",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:683:12: Warning:
    A do-notation statement discarded a result of type [Ignore].
    Suppress this warning by saying "_ <- many newIgnore",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:684:12: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- onFail
                                            tok Text.XML.HaXml.Lex.TokSectionClose
                                            failBadP
                                              ((++)
                                                 "missing ]]> for IGNORE section"
                                                 (++)
                                                   "\
                                                   \    begun at "
                                                   show p)",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:692:10: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            Text.XML.HaXml.Lex.TokSectionOpen",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:693:10: Warning:
    A do-notation statement discarded a result of type [Ignore].
    Suppress this warning by saying "_ <- debug
                                            many newIgnore "IGNORING conditional section"",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:694:10: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            Text.XML.HaXml.Lex.TokSectionClose",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:725:9: Warning:
    This binding for `name' shadows the existing binding
      defined at src/Text/XML/HaXml/Parse.hs:186:1

src/Text/XML/HaXml/Parse.hs:756:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            Text.XML.HaXml.Lex.TokSpecialOpen",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:757:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            (Text.XML.HaXml.Lex.TokSpecial
                                               Text.XML.HaXml.Lex.ENTITYx)",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:760:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- onFail
                                            tok Text.XML.HaXml.Lex.TokAnyClose
                                            failBadP
                                              ((++) "expected > terminating G ENTITY decl " n)",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:766:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            Text.XML.HaXml.Lex.TokSpecialOpen",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:767:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            (Text.XML.HaXml.Lex.TokSpecial
                                               Text.XML.HaXml.Lex.ENTITYx)",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:768:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            Text.XML.HaXml.Lex.TokPercent",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:771:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- onFail
                                            tok Text.XML.HaXml.Lex.TokAnyClose
                                            failBadP
                                              ((++) "expected > terminating P ENTITY decl " n)",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:809:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            Text.XML.HaXml.Lex.TokPIOpen",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:813:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- onFail
                                            tok Text.XML.HaXml.Lex.TokPIClose
                                            failP "expected ?> terminating text decl"",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:831:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- onFail
                                            tok Text.XML.HaXml.Lex.TokEqual
                                            failBadP "expected = in 'encoding' decl"",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:837:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            Text.XML.HaXml.Lex.TokSpecialOpen",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:838:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            (Text.XML.HaXml.Lex.TokSpecial
                                               Text.XML.HaXml.Lex.NOTATIONx)",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:841:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- onFail
                                            tok Text.XML.HaXml.Lex.TokAnyClose
                                            failBadP
                                              ((++) "expected > terminating NOTATION decl " n)",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:853:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            Text.XML.HaXml.Lex.TokQuote",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:856:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- onFail
                                            tok Text.XML.HaXml.Lex.TokQuote
                                            failBadP "expected quote to terminate entityvalue"",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:865:39: Warning:
    This binding for `ev' shadows the existing binding
      defined at src/Text/XML/HaXml/Parse.hs:869:1

src/Text/XML/HaXml/Parse.hs:566:10: Warning:
    Orphan instance: instance Show CP

src/Text/XML/HaXml/Parse.hs:572:10: Warning:
    Orphan instance: instance Show Modifier
[ 9 of 25] Compiling Text.XML.HaXml.Html.Parse ( src/Text/XML/HaXml/Html/Parse.hs, dist/build/Xtract/Xtract-tmp/Text/XML/HaXml/Html/Parse.o )

src/Text/XML/HaXml/Html/Parse.hs:17:1: Warning:
    The import of `Data.Maybe' is redundant
      except perhaps to import instances from `Data.Maybe'
    To import instances alone, use: import Data.Maybe()

src/Text/XML/HaXml/Html/Parse.hs:20:1: Warning:
    The import of `Control.Monad' is redundant
      except perhaps to import instances from `Control.Monad'
    To import instances alone, use: import Control.Monad()

src/Text/XML/HaXml/Html/Parse.hs:74:41: Warning:
    This binding for `avs' shadows the existing binding
      bound at src/Text/XML/HaXml/Html/Parse.hs:63:33

src/Text/XML/HaXml/Html/Parse.hs:74:45: Warning:
    This binding for `cs' shadows the existing binding
      bound at src/Text/XML/HaXml/Html/Parse.hs:63:37

src/Text/XML/HaXml/Html/Parse.hs:143:14: Warning:
    This binding for `tok' shadows the existing binding
      defined at src/Text/XML/HaXml/Html/Parse.hs:133:1

src/Text/XML/HaXml/Html/Parse.hs:190:8: Warning:
    This binding for `fail' shadows the existing binding
      imported from `Control.Monad' at src/Text/XML/HaXml/Html/Parse.hs:20:1-20
      (and originally defined in `GHC.Base')

src/Text/XML/HaXml/Html/Parse.hs:216:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            Text.XML.HaXml.Lex.TokPIOpen",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Html/Parse.hs:220:7: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- onFail
                                            (onFail
                                               tok Text.XML.HaXml.Lex.TokPIClose
                                               tok Text.XML.HaXml.Lex.TokAnyClose)
                                            failP "missing ?> or >"",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Html/Parse.hs:225:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            Text.XML.HaXml.Lex.TokSectionOpen",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Html/Parse.hs:238:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            Text.XML.HaXml.Lex.TokPIOpen",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Html/Parse.hs:242:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- onFail
                                            tok Text.XML.HaXml.Lex.TokPIClose
                                            failBadP "missing ?> in <?xml ...?>"",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Html/Parse.hs:254:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            Text.XML.HaXml.Lex.TokEqual",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Html/Parse.hs:269:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            Text.XML.HaXml.Lex.TokSpecialOpen",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Html/Parse.hs:270:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            (Text.XML.HaXml.Lex.TokSpecial
                                               Text.XML.HaXml.Lex.DOCTYPEx)",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Html/Parse.hs:275:7: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- onFail
                                            tok Text.XML.HaXml.Lex.TokAnyClose
                                            failP "missing > in DOCTYPE decl"",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Html/Parse.hs:304:7: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- onFail
                                            tok Text.XML.HaXml.Lex.TokEqual
                                            failP "missing = in 'standalone' decl"",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Html/Parse.hs:322:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            Text.XML.HaXml.Lex.TokAnyOpen",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Html/Parse.hs:332:15: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            Text.XML.HaXml.Lex.TokEndClose",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Html/Parse.hs:342:15: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            Text.XML.HaXml.Lex.TokAnyClose",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Html/Parse.hs:346:15: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            Text.XML.HaXml.Lex.TokEndClose",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Html/Parse.hs:349:15: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- onFail
                                            tok Text.XML.HaXml.Lex.TokAnyClose
                                            failP "missing > or /> in element tag"",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Html/Parse.hs:356:15: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- commit
                                            (tok Text.XML.HaXml.Lex.TokAnyClose)",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Html/Parse.hs:409:14: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            Text.XML.HaXml.Lex.TokEqual",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Html/Parse.hs:670:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- onFail
                                            tok Text.XML.HaXml.Lex.TokEqual
                                            failBadP "expected = in 'encoding' decl"",
    or by using the flag -fno-warn-unused-do-bind
[10 of 25] Compiling Text.XML.HaXml.ParseLazy ( src/Text/XML/HaXml/ParseLazy.hs, dist/build/Xtract/Xtract-tmp/Text/XML/HaXml/ParseLazy.o )

src/Text/XML/HaXml/ParseLazy.hs:31:1: Warning:
    Module `Prelude' does not export `catch'

src/Text/XML/HaXml/ParseLazy.hs:33:1: Warning:
    The import of `Data.Maybe' is redundant
      except perhaps to import instances from `Data.Maybe'
    To import instances alone, use: import Data.Maybe()

src/Text/XML/HaXml/ParseLazy.hs:36:1: Warning:
    The import of `Control.Monad' is redundant
      except perhaps to import instances from `Control.Monad'
    To import instances alone, use: import Control.Monad()

src/Text/XML/HaXml/ParseLazy.hs:108:11: Warning:
    This binding for `name' shadows the existing binding
      defined at src/Text/XML/HaXml/ParseLazy.hs:191:1

src/Text/XML/HaXml/ParseLazy.hs:109:11: Warning:
    This binding for `name' shadows the existing binding
      defined at src/Text/XML/HaXml/ParseLazy.hs:191:1

src/Text/XML/HaXml/ParseLazy.hs:165:10: Warning:
    A do-notation statement discarded a result of type bra.
    Suppress this warning by saying "_ <- adjustErr
                                            open
                                            ( \ x_ -> (++)
                                                 "Missing opening bracket:\
                                                 \\t" x_ ))",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/ParseLazy.hs:191:14: Warning:
    This binding for `tok' shadows the existing binding
      defined at src/Text/XML/HaXml/ParseLazy.hs:175:1

src/Text/XML/HaXml/ParseLazy.hs:238:8: Warning:
    This binding for `fail' shadows the existing binding
      imported from `Control.Monad' at src/Text/XML/HaXml/ParseLazy.hs:36:1-38
      (and originally defined in `GHC.Base')

src/Text/XML/HaXml/ParseLazy.hs:252:35: Warning:
    This binding for `ev' shadows the existing binding
      defined at src/Text/XML/HaXml/ParseLazy.hs:880:1

src/Text/XML/HaXml/ParseLazy.hs:281:35: Warning:
    This binding for `ev' shadows the existing binding
      defined at src/Text/XML/HaXml/ParseLazy.hs:880:1

src/Text/XML/HaXml/ParseLazy.hs:330:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            Text.XML.HaXml.Lex.TokPIOpen",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/ParseLazy.hs:334:7: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- onFail
                                            tok Text.XML.HaXml.Lex.TokPIClose
                                            failP ((++) "missing ?> in <?" n)",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/ParseLazy.hs:339:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            Text.XML.HaXml.Lex.TokSectionOpen",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/ParseLazy.hs:352:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            Text.XML.HaXml.Lex.TokPIOpen",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/ParseLazy.hs:356:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- onFail
                                            tok Text.XML.HaXml.Lex.TokPIClose
                                            failBadP "missing ?> in <?xml ...?>"",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/ParseLazy.hs:371:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            Text.XML.HaXml.Lex.TokEqual",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/ParseLazy.hs:383:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            Text.XML.HaXml.Lex.TokSpecialOpen",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/ParseLazy.hs:384:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            (Text.XML.HaXml.Lex.TokSpecial
                                               Text.XML.HaXml.Lex.DOCTYPEx)",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/ParseLazy.hs:390:7: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- onFail
                                            blank (tok Text.XML.HaXml.Lex.TokAnyClose)
                                            failP "missing > in DOCTYPE decl"",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/ParseLazy.hs:421:7: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- onFail
                                            tok Text.XML.HaXml.Lex.TokEqual
                                            failP "missing = in 'standalone' decl"",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/ParseLazy.hs:448:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            Text.XML.HaXml.Lex.TokAnyOpen",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/ParseLazy.hs:451:14: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            Text.XML.HaXml.Lex.TokEndClose",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/ParseLazy.hs:454:14: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            Text.XML.HaXml.Lex.TokAnyClose",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/ParseLazy.hs:478:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            Text.XML.HaXml.Lex.TokAnyOpen",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/ParseLazy.hs:480:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            Text.XML.HaXml.Lex.TokAnyClose",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/ParseLazy.hs:487:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            Text.XML.HaXml.Lex.TokEndOpen",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/ParseLazy.hs:490:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            Text.XML.HaXml.Lex.TokAnyClose",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/ParseLazy.hs:496:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- onFail
                                            tok Text.XML.HaXml.Lex.TokEqual
                                            failBadP "missing = in attribute"",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/ParseLazy.hs:519:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            Text.XML.HaXml.Lex.TokSpecialOpen",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/ParseLazy.hs:520:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            (Text.XML.HaXml.Lex.TokSpecial
                                               Text.XML.HaXml.Lex.ELEMENTx)",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/ParseLazy.hs:525:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- onFail
                                            blank (tok Text.XML.HaXml.Lex.TokAnyClose)
                                            failBadP
                                              ((++)
                                                 "expected > terminating ELEMENT decl"
                                                 (++)
                                                   "\
                                                   \    element name was "
                                                   (++)
                                                     show (printableName n)
                                                     (++)
                                                       "\
                                                       \    contentspec was "
                                                       \ (ContentSpec p) -> show p c)",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/ParseLazy.hs:591:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            Text.XML.HaXml.Lex.TokBraOpen",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/ParseLazy.hs:592:15: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            Text.XML.HaXml.Lex.TokHash",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/ParseLazy.hs:595:42: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            Text.XML.HaXml.Lex.TokPipe",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/ParseLazy.hs:597:20: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- blank
                                            ((>>)
                                               tok Text.XML.HaXml.Lex.TokBraClose
                                               tok Text.XML.HaXml.Lex.TokStar)",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/ParseLazy.hs:606:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            Text.XML.HaXml.Lex.TokSpecialOpen",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/ParseLazy.hs:607:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            (Text.XML.HaXml.Lex.TokSpecial
                                               Text.XML.HaXml.Lex.ATTLISTx)",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/ParseLazy.hs:610:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- onFail
                                            blank (tok Text.XML.HaXml.Lex.TokAnyClose)
                                            failBadP "missing > terminating ATTLIST"",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/ParseLazy.hs:679:12: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            Text.XML.HaXml.Lex.TokSectionOpen",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/ParseLazy.hs:680:12: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- peRef
                                            (tok
                                               (Text.XML.HaXml.Lex.TokSection
                                                  Text.XML.HaXml.Lex.INCLUDEx))",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/ParseLazy.hs:682:12: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- onFail
                                            tok Text.XML.HaXml.Lex.TokSqOpen
                                            failBadP "missing [ after INCLUDE"",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/ParseLazy.hs:684:12: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- onFail
                                            tok Text.XML.HaXml.Lex.TokSectionClose
                                            failBadP
                                              ((++)
                                                 "missing ]]> for INCLUDE section"
                                                 (++)
                                                   "\
                                                   \    begun at "
                                                   show p)",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/ParseLazy.hs:689:12: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            Text.XML.HaXml.Lex.TokSectionOpen",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/ParseLazy.hs:690:12: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- peRef
                                            (tok
                                               (Text.XML.HaXml.Lex.TokSection
                                                  Text.XML.HaXml.Lex.IGNOREx))",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/ParseLazy.hs:692:12: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- onFail
                                            tok Text.XML.HaXml.Lex.TokSqOpen
                                            failBadP "missing [ after IGNORE"",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/ParseLazy.hs:693:12: Warning:
    Defined but not used: `i'

src/Text/XML/HaXml/ParseLazy.hs:694:12: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- onFail
                                            tok Text.XML.HaXml.Lex.TokSectionClose
                                            failBadP
                                              ((++)
                                                 "missing ]]> for IGNORE section"
                                                 (++)
                                                   "\
                                                   \    begun at "
                                                   show p)",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/ParseLazy.hs:702:10: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            Text.XML.HaXml.Lex.TokSectionOpen",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/ParseLazy.hs:703:10: Warning:
    A do-notation statement discarded a result of type [Ignore].
    Suppress this warning by saying "_ <- debug
                                            many newIgnore "IGNORING conditional section"",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/ParseLazy.hs:704:10: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            Text.XML.HaXml.Lex.TokSectionClose",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/ParseLazy.hs:735:9: Warning:
    This binding for `name' shadows the existing binding
      defined at src/Text/XML/HaXml/ParseLazy.hs:191:1

src/Text/XML/HaXml/ParseLazy.hs:766:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            Text.XML.HaXml.Lex.TokSpecialOpen",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/ParseLazy.hs:767:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            (Text.XML.HaXml.Lex.TokSpecial
                                               Text.XML.HaXml.Lex.ENTITYx)",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/ParseLazy.hs:770:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- onFail
                                            tok Text.XML.HaXml.Lex.TokAnyClose
                                            failBadP
                                              ((++) "expected > terminating G ENTITY decl " n)",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/ParseLazy.hs:776:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            Text.XML.HaXml.Lex.TokSpecialOpen",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/ParseLazy.hs:777:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            (Text.XML.HaXml.Lex.TokSpecial
                                               Text.XML.HaXml.Lex.ENTITYx)",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/ParseLazy.hs:778:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            Text.XML.HaXml.Lex.TokPercent",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/ParseLazy.hs:781:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- onFail
                                            tok Text.XML.HaXml.Lex.TokAnyClose
                                            failBadP
                                              ((++) "expected > terminating P ENTITY decl " n)",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/ParseLazy.hs:819:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            Text.XML.HaXml.Lex.TokPIOpen",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/ParseLazy.hs:823:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- onFail
                                            tok Text.XML.HaXml.Lex.TokPIClose
                                            failP "expected ?> terminating text decl"",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/ParseLazy.hs:841:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- onFail
                                            tok Text.XML.HaXml.Lex.TokEqual
                                            failBadP "expected = in 'encoding' decl"",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/ParseLazy.hs:847:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            Text.XML.HaXml.Lex.TokSpecialOpen",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/ParseLazy.hs:848:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            (Text.XML.HaXml.Lex.TokSpecial
                                               Text.XML.HaXml.Lex.NOTATIONx)",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/ParseLazy.hs:851:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- onFail
                                            tok Text.XML.HaXml.Lex.TokAnyClose
                                            failBadP
                                              ((++) "expected > terminating NOTATION decl " n)",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/ParseLazy.hs:863:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            Text.XML.HaXml.Lex.TokQuote",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/ParseLazy.hs:866:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- onFail
                                            tok Text.XML.HaXml.Lex.TokQuote
                                            failBadP "expected quote to terminate entityvalue"",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/ParseLazy.hs:876:39: Warning:
    This binding for `ev' shadows the existing binding
      defined at src/Text/XML/HaXml/ParseLazy.hs:880:1

src/Text/XML/HaXml/ParseLazy.hs:576:10: Warning:
    Orphan instance: instance Show CP

src/Text/XML/HaXml/ParseLazy.hs:582:10: Warning:
    Orphan instance: instance Show Modifier
[11 of 25] Compiling Text.XML.HaXml.Pretty ( src/Text/XML/HaXml/Pretty.hs, dist/build/Xtract/Xtract-tmp/Text/XML/HaXml/Pretty.o )

src/Text/XML/HaXml/Pretty.hs:25:1: Warning:
    The import of `Data.Maybe' is redundant
      except perhaps to import instances from `Data.Maybe'
    To import instances alone, use: import Data.Maybe()

src/Text/XML/HaXml/Pretty.hs:276:1: Warning:
    Top-level binding with no type signature: qname :: QName -> Doc
[12 of 25] Compiling Text.XML.HaXml.ByteStringPP ( src/Text/XML/HaXml/ByteStringPP.hs, dist/build/Xtract/Xtract-tmp/Text/XML/HaXml/ByteStringPP.o )

src/Text/XML/HaXml/ByteStringPP.hs:24:1: Warning:
    The import of `Data.Maybe' is redundant
      except perhaps to import instances from `Data.Maybe'
    To import instances alone, use: import Data.Maybe()

src/Text/XML/HaXml/ByteStringPP.hs:334:1: Warning:
    Top-level binding with no type signature:
      qname :: QName -> ByteString
[13 of 25] Compiling Text.XML.HaXml.Combinators ( src/Text/XML/HaXml/Combinators.hs, dist/build/Xtract/Xtract-tmp/Text/XML/HaXml/Combinators.o )

src/Text/XML/HaXml/Combinators.hs:79:9: Warning:
    This binding for `x' shadows the existing binding
      defined at src/Text/XML/HaXml/Combinators.hs:350:3

src/Text/XML/HaXml/Combinators.hs:81:9: Warning:
    This binding for `x' shadows the existing binding
      defined at src/Text/XML/HaXml/Combinators.hs:350:3

src/Text/XML/HaXml/Combinators.hs:81:9: Warning:
    Defined but not used: `x'

src/Text/XML/HaXml/Combinators.hs:110:5: Warning:
    This binding for `x' shadows the existing binding
      defined at src/Text/XML/HaXml/Combinators.hs:350:3

src/Text/XML/HaXml/Combinators.hs:113:5: Warning:
    This binding for `x' shadows the existing binding
      defined at src/Text/XML/HaXml/Combinators.hs:350:3

src/Text/XML/HaXml/Combinators.hs:114:5: Warning:
    This binding for `x' shadows the existing binding
      defined at src/Text/XML/HaXml/Combinators.hs:350:3

src/Text/XML/HaXml/Combinators.hs:117:7: Warning:
    This binding for `x' shadows the existing binding
      defined at src/Text/XML/HaXml/Combinators.hs:350:3

src/Text/XML/HaXml/Combinators.hs:120:11: Warning:
    This binding for `x' shadows the existing binding
      defined at src/Text/XML/HaXml/Combinators.hs:350:3

src/Text/XML/HaXml/Combinators.hs:123:8: Warning:
    This binding for `x' shadows the existing binding
      defined at src/Text/XML/HaXml/Combinators.hs:350:3

src/Text/XML/HaXml/Combinators.hs:126:12: Warning:
    This binding for `x' shadows the existing binding
      defined at src/Text/XML/HaXml/Combinators.hs:350:3

src/Text/XML/HaXml/Combinators.hs:137:1: Warning:
    Pattern match(es) are non-exhaustive
    In an equation for `find':
        Patterns not matched:
            _ _ (CString _ _ _)
            _ _ (CRef _ _)
            _ _ (CMisc _ _)

src/Text/XML/HaXml/Combinators.hs:138:17: Warning:
    This binding for `x' shadows the existing binding
      defined at src/Text/XML/HaXml/Combinators.hs:350:3

src/Text/XML/HaXml/Combinators.hs:189:19: Warning:
    This binding for `x' shadows the existing binding
      defined at src/Text/XML/HaXml/Combinators.hs:350:3

src/Text/XML/HaXml/Combinators.hs:203:16: Warning:
    This binding for `x' shadows the existing binding
      defined at src/Text/XML/HaXml/Combinators.hs:350:3

src/Text/XML/HaXml/Combinators.hs:212:12: Warning:
    This binding for `x' shadows the existing binding
      defined at src/Text/XML/HaXml/Combinators.hs:350:3

src/Text/XML/HaXml/Combinators.hs:301:9: Warning:
    This binding for `attr' shadows the existing binding
      defined at src/Text/XML/HaXml/Combinators.hs:123:1

src/Text/XML/HaXml/Combinators.hs:321:24: Warning:
    This binding for `n' shadows the existing binding
      bound at src/Text/XML/HaXml/Combinators.hs:320:30
[14 of 25] Compiling Text.XML.HaXml.Html.Generate ( src/Text/XML/HaXml/Html/Generate.hs, dist/build/Xtract/Xtract-tmp/Text/XML/HaXml/Html/Generate.o )
[15 of 25] Compiling Text.XML.HaXml.TypeMapping ( src/Text/XML/HaXml/TypeMapping.hs, dist/build/Xtract/Xtract-tmp/Text/XML/HaXml/TypeMapping.o )

src/Text/XML/HaXml/TypeMapping.hs:208:14: Warning:
    This binding for `ht' shadows the existing binding
      bound at src/Text/XML/HaXml/TypeMapping.hs:201:7

src/Text/XML/HaXml/TypeMapping.hs:209:14: Warning:
    This binding for `ht' shadows the existing binding
      bound at src/Text/XML/HaXml/TypeMapping.hs:201:7

src/Text/XML/HaXml/TypeMapping.hs:214:29: Warning:
    This binding for `ht' shadows the existing binding
      bound at src/Text/XML/HaXml/TypeMapping.hs:201:7

src/Text/XML/HaXml/TypeMapping.hs:228:14: Warning:
    This binding for `ht' shadows the existing binding
      bound at src/Text/XML/HaXml/TypeMapping.hs:201:7

src/Text/XML/HaXml/TypeMapping.hs:231:17: Warning:
    This binding for `ht' shadows the existing binding
      bound at src/Text/XML/HaXml/TypeMapping.hs:201:7

src/Text/XML/HaXml/TypeMapping.hs:234:5: Warning:
    Pattern match(es) are non-exhaustive
    In an equation for `declmacro':
        Patterns not matched:
            (Maybe _) _
            (List _) _
            (Tuple _) _
            (Prim _ _) _
            ...

src/Text/XML/HaXml/TypeMapping.hs:234:15: Warning:
    This binding for `ht' shadows the existing binding
      bound at src/Text/XML/HaXml/TypeMapping.hs:201:7

src/Text/XML/HaXml/TypeMapping.hs:238:32: Warning:
    Defined but not used: `s'

src/Text/XML/HaXml/TypeMapping.hs:238:34: Warning:
    Defined but not used: `fv'

src/Text/XML/HaXml/TypeMapping.hs:238:37: Warning:
    Defined but not used: `hts'

src/Text/XML/HaXml/TypeMapping.hs:242:5: Warning:
    Pattern match(es) are non-exhaustive
    In an equation for `declprim':
        Patterns not matched:
            Maybe _
            List _
            Tuple _
            String
            ...

src/Text/XML/HaXml/TypeMapping.hs:250:1: Warning:
    Pattern match(es) are non-exhaustive
    In an equation for `?': Patterns not matched: _ _
[16 of 25] Compiling Text.XML.HaXml.Verbatim ( src/Text/XML/HaXml/Verbatim.hs, dist/build/Xtract/Xtract-tmp/Text/XML/HaXml/Verbatim.o )
[17 of 25] Compiling Text.XML.HaXml.Util ( src/Text/XML/HaXml/Util.hs, dist/build/Xtract/Xtract-tmp/Text/XML/HaXml/Util.o )

src/Text/XML/HaXml/Util.hs:32:16: Warning:
    This binding for `attrs' shadows the existing binding
      defined at src/Text/XML/HaXml/Util.hs:32:1

src/Text/XML/HaXml/Util.hs:35:1: Warning:
    Pattern match(es) are non-exhaustive
    In an equation for `tagTextContent':
        Patterns not matched:
            CString _ _ _
            CRef _ _
            CMisc _ _
[18 of 25] Compiling Text.XML.HaXml.Wrappers ( src/Text/XML/HaXml/Wrappers.hs, dist/build/Xtract/Xtract-tmp/Text/XML/HaXml/Wrappers.o )

src/Text/XML/HaXml/Wrappers.hs:69:5: Warning:
    This binding for `onContent' shadows the existing binding
      defined at src/Text/XML/HaXml/Wrappers.hs:79:1
[19 of 25] Compiling Text.XML.HaXml.XmlContent.Parser ( src/Text/XML/HaXml/XmlContent/Parser.hs, dist/build/Xtract/Xtract-tmp/Text/XML/HaXml/XmlContent/Parser.o )

src/Text/XML/HaXml/XmlContent/Parser.hs:97:1: Warning:
    Pattern match(es) are non-exhaustive
    In an equation for `attval':
        Patterns not matched:
            Elem _ [] _
            Elem _ ((_, AttValue _) : (_ : _)) _
            Elem _ [(_, AttValue _)] (_ : _)

src/Text/XML/HaXml/XmlContent/Parser.hs:613:9: Warning:
    Pattern match(es) are non-exhaustive
    In an equation for `g':
        Patterns not matched:
            ghc-prim:GHC.Types.C# #x
            with
            #x `notElem` ['"', '&', '<', '>', '\'']
[20 of 25] Compiling Text.XML.HaXml.XmlContent ( src/Text/XML/HaXml/XmlContent.hs, dist/build/Xtract/Xtract-tmp/Text/XML/HaXml/XmlContent.o )

src/Text/XML/HaXml/XmlContent.hs:113:16: Warning:
    Pattern match(es) are non-exhaustive
    In a case alternative:
        Patterns not matched:
            (CString _ _ _) : _
            (CRef _ _) : _
            (CMisc _ _) : _

src/Text/XML/HaXml/XmlContent.hs:152:10: Warning:
    Orphan instance: instance XmlContent Char

src/Text/XML/HaXml/XmlContent.hs:162:10: Warning:
    Orphan instance: instance XmlContent a => XmlContent [a]

src/Text/XML/HaXml/XmlContent.hs:176:10: Warning:
    Orphan instance: instance XmlContent a => XmlContent (Maybe a)
[21 of 25] Compiling Text.XML.HaXml.Validate ( src/Text/XML/HaXml/Validate.hs, dist/build/Xtract/Xtract-tmp/Text/XML/HaXml/Validate.o )

src/Text/XML/HaXml/Validate.hs:228:32: Warning:
    This binding for `cps' shadows the existing binding
      bound at src/Text/XML/HaXml/Validate.hs:224:19

src/Text/XML/HaXml/Validate.hs:229:29: Warning:
    This binding for `cps' shadows the existing binding
      bound at src/Text/XML/HaXml/Validate.hs:224:19

src/Text/XML/HaXml/Validate.hs:231:32: Warning:
    This binding for `cps' shadows the existing binding
      bound at src/Text/XML/HaXml/Validate.hs:224:19

src/Text/XML/HaXml/Validate.hs:232:29: Warning:
    This binding for `cps' shadows the existing binding
      bound at src/Text/XML/HaXml/Validate.hs:224:19

src/Text/XML/HaXml/Validate.hs:235:33: Warning:
    This binding for `cps' shadows the existing binding
      bound at src/Text/XML/HaXml/Validate.hs:224:19

src/Text/XML/HaXml/Validate.hs:237:30: Warning:
    This binding for `cps' shadows the existing binding
      bound at src/Text/XML/HaXml/Validate.hs:224:19

src/Text/XML/HaXml/Validate.hs:240:21: Warning:
    This binding for `ns' shadows the existing binding
      bound at src/Text/XML/HaXml/Validate.hs:239:18
[22 of 25] Compiling Text.XML.HaXml.Xtract.Combinators ( src/Text/XML/HaXml/Xtract/Combinators.hs, dist/build/Xtract/Xtract-tmp/Text/XML/HaXml/Xtract/Combinators.o )
[23 of 25] Compiling Text.XML.HaXml.Xtract.Parse ( src/Text/XML/HaXml/Xtract/Parse.hs, dist/build/Xtract/Xtract-tmp/Text/XML/HaXml/Xtract/Parse.o )

src/Text/XML/HaXml/Xtract/Parse.hs:78:8: Warning:
    This binding for `x' shadows the existing binding
      imported from `Text.XML.HaXml.Combinators' at src/Text/XML/HaXml/Xtract/Parse.hs:13:1-38
      (and originally defined
         at src/Text/XML/HaXml/Combinators.hs:350:3-5)

src/Text/XML/HaXml/Xtract/Parse.hs:205:6: Warning:
    This binding for `x' shadows the existing binding
      imported from `Text.XML.HaXml.Combinators' at src/Text/XML/HaXml/Xtract/Parse.hs:13:1-38
      (and originally defined
         at src/Text/XML/HaXml/Combinators.hs:350:3-5)

src/Text/XML/HaXml/Xtract/Parse.hs:255:15: Warning:
    This binding for `attr' shadows the existing binding
      imported from `Text.XML.HaXml.Combinators' at src/Text/XML/HaXml/Xtract/Parse.hs:13:1-38
      (and originally defined
         at src/Text/XML/HaXml/Combinators.hs:123:1-4)

src/Text/XML/HaXml/Xtract/Parse.hs:330:9: Warning:
    Defined but not used: `q2'

src/Text/XML/HaXml/Xtract/Parse.hs:339:9: Warning:
    Defined but not used: `q2'
[24 of 25] Compiling Text.XML.HaXml   ( src/Text/XML/HaXml.hs, dist/build/Xtract/Xtract-tmp/Text/XML/HaXml.o )
[25 of 25] Compiling Main             ( src/tools/Xtract.hs, dist/build/Xtract/Xtract-tmp/Main.o )

src/tools/Xtract.hs:32:1: Warning:
    Top-level binding with no type signature: defaultOptions :: Opts

src/tools/Xtract.hs:51:23: Warning: Defined but not used: `errs'
Linking dist/build/Xtract/Xtract ...
Preprocessing executable 'Validate' for HaXml-1.22.1...
[ 1 of 16] Compiling Text.XML.HaXml.Posn ( src/Text/XML/HaXml/Posn.hs, dist/build/Validate/Validate-tmp/Text/XML/HaXml/Posn.o )
[ 2 of 16] Compiling Text.XML.HaXml.Lex ( src/Text/XML/HaXml/Lex.hs, dist/build/Validate/Validate-tmp/Text/XML/HaXml/Lex.o )

src/Text/XML/HaXml/Lex.hs:205:18: Warning:
    This binding for `lookup' shadows the existing binding
      imported from `Prelude' at src/Text/XML/HaXml/Lex.hs:16:8-25
      (and originally defined in `GHC.List')

src/Text/XML/HaXml/Lex.hs:316:24: Warning:
    This binding for `p' shadows the existing binding
      bound at src/Text/XML/HaXml/Lex.hs:312:9

src/Text/XML/HaXml/Lex.hs:316:29: Warning:
    This binding for `k' shadows the existing binding
      bound at src/Text/XML/HaXml/Lex.hs:312:22

src/Text/XML/HaXml/Lex.hs:319:24: Warning:
    This binding for `p' shadows the existing binding
      bound at src/Text/XML/HaXml/Lex.hs:312:9

src/Text/XML/HaXml/Lex.hs:319:27: Warning:
    This binding for `s' shadows the existing binding
      bound at src/Text/XML/HaXml/Lex.hs:312:12

src/Text/XML/HaXml/Lex.hs:319:29: Warning:
    This binding for `ss' shadows the existing binding
      bound at src/Text/XML/HaXml/Lex.hs:312:14

src/Text/XML/HaXml/Lex.hs:319:33: Warning:
    This binding for `k' shadows the existing binding
      bound at src/Text/XML/HaXml/Lex.hs:312:22
[ 3 of 16] Compiling Text.XML.HaXml.Types ( src/Text/XML/HaXml/Types.hs, dist/build/Validate/Validate-tmp/Text/XML/HaXml/Types.o )

src/Text/XML/HaXml/Types.hs:285:17: Warning:
    Defined but not used: `p'

src/Text/XML/HaXml/Types.hs:285:19: Warning:
    Defined but not used: `n'

src/Text/XML/HaXml/Types.hs:285:25: Warning:
    Defined but not used: `m'

src/Text/XML/HaXml/Types.hs:286:16: Warning:
    Defined but not used: `n'

src/Text/XML/HaXml/Types.hs:286:26: Warning:
    Defined but not used: `q'

src/Text/XML/HaXml/Types.hs:286:28: Warning:
    Defined but not used: `m'
[ 4 of 16] Compiling Text.XML.HaXml.Namespaces ( src/Text/XML/HaXml/Namespaces.hs, dist/build/Validate/Validate-tmp/Text/XML/HaXml/Namespaces.o )

src/Text/XML/HaXml/Namespaces.hs:127:17: Warning:
    This binding for `qualify' shadows the existing binding
      defined at src/Text/XML/HaXml/Namespaces.hs:58:1

src/Text/XML/HaXml/Namespaces.hs:171:15: Warning:
    Pattern match(es) are non-exhaustive
    In an equation for `mkNamespace': Patterns not matched: (QN _ _, _)
[ 5 of 16] Compiling Text.XML.HaXml.Parse ( src/Text/XML/HaXml/Parse.hs, dist/build/Validate/Validate-tmp/Text/XML/HaXml/Parse.o )

src/Text/XML/HaXml/Parse.hs:34:1: Warning:
    The import of `Data.Maybe' is redundant
      except perhaps to import instances from `Data.Maybe'
    To import instances alone, use: import Data.Maybe()

src/Text/XML/HaXml/Parse.hs:37:1: Warning:
    The import of `Control.Monad' is redundant
      except perhaps to import instances from `Control.Monad'
    To import instances alone, use: import Control.Monad()

src/Text/XML/HaXml/Parse.hs:73:11: Warning:
    Defined but not used: `s'

src/Text/XML/HaXml/Parse.hs:101:11: Warning:
    This binding for `name' shadows the existing binding
      defined at src/Text/XML/HaXml/Parse.hs:186:1

src/Text/XML/HaXml/Parse.hs:102:11: Warning:
    This binding for `name' shadows the existing binding
      defined at src/Text/XML/HaXml/Parse.hs:186:1

src/Text/XML/HaXml/Parse.hs:104:11: Warning:
    This binding for `name' shadows the existing binding
      defined at src/Text/XML/HaXml/Parse.hs:186:1

src/Text/XML/HaXml/Parse.hs:105:11: Warning:
    This binding for `name' shadows the existing binding
      defined at src/Text/XML/HaXml/Parse.hs:186:1

src/Text/XML/HaXml/Parse.hs:161:10: Warning:
    A do-notation statement discarded a result of type bra.
    Suppress this warning by saying "_ <- adjustErr
                                            open
                                            ( \ x_ -> (++)
                                                 "Missing opening bracket:\
                                                 \\t" x_ ))",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:186:14: Warning:
    This binding for `tok' shadows the existing binding
      defined at src/Text/XML/HaXml/Parse.hs:170:1

src/Text/XML/HaXml/Parse.hs:233:8: Warning:
    This binding for `fail' shadows the existing binding
      imported from `Control.Monad' at src/Text/XML/HaXml/Parse.hs:37:1-38
      (and originally defined in `GHC.Base')

src/Text/XML/HaXml/Parse.hs:247:35: Warning:
    This binding for `ev' shadows the existing binding
      defined at src/Text/XML/HaXml/Parse.hs:869:1

src/Text/XML/HaXml/Parse.hs:276:35: Warning:
    This binding for `ev' shadows the existing binding
      defined at src/Text/XML/HaXml/Parse.hs:869:1

src/Text/XML/HaXml/Parse.hs:320:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            Text.XML.HaXml.Lex.TokPIOpen",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:324:7: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- onFail
                                            tok Text.XML.HaXml.Lex.TokPIClose
                                            failP ((++) "missing ?> in <?" n)",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:329:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            Text.XML.HaXml.Lex.TokSectionOpen",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:342:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            Text.XML.HaXml.Lex.TokPIOpen",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:346:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- onFail
                                            tok Text.XML.HaXml.Lex.TokPIClose
                                            failBadP "missing ?> in <?xml ...?>"",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:360:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            Text.XML.HaXml.Lex.TokEqual",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:372:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            Text.XML.HaXml.Lex.TokSpecialOpen",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:373:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            (Text.XML.HaXml.Lex.TokSpecial
                                               Text.XML.HaXml.Lex.DOCTYPEx)",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:379:7: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- onFail
                                            blank (tok Text.XML.HaXml.Lex.TokAnyClose)
                                            failP "missing > in DOCTYPE decl"",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:410:7: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- onFail
                                            tok Text.XML.HaXml.Lex.TokEqual
                                            failP "missing = in 'standalone' decl"",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:437:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            Text.XML.HaXml.Lex.TokAnyOpen",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:439:10: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            Text.XML.HaXml.Lex.TokEndClose",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:442:10: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            Text.XML.HaXml.Lex.TokAnyClose",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:468:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            Text.XML.HaXml.Lex.TokAnyOpen",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:470:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            Text.XML.HaXml.Lex.TokAnyClose",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:477:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            Text.XML.HaXml.Lex.TokEndOpen",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:480:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            Text.XML.HaXml.Lex.TokAnyClose",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:486:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- onFail
                                            tok Text.XML.HaXml.Lex.TokEqual
                                            failBadP "missing = in attribute"",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:509:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            Text.XML.HaXml.Lex.TokSpecialOpen",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:510:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            (Text.XML.HaXml.Lex.TokSpecial
                                               Text.XML.HaXml.Lex.ELEMENTx)",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:515:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- onFail
                                            blank (tok Text.XML.HaXml.Lex.TokAnyClose)
                                            failBadP
                                              ((++)
                                                 "expected > terminating ELEMENT decl"
                                                 (++)
                                                   "\
                                                   \    element name was "
                                                   (++)
                                                     show (printableName n)
                                                     (++)
                                                       "\
                                                       \    contentspec was "
                                                       \ (ContentSpec p) -> show p c)",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:581:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            Text.XML.HaXml.Lex.TokBraOpen",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:582:15: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            Text.XML.HaXml.Lex.TokHash",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:585:42: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            Text.XML.HaXml.Lex.TokPipe",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:587:20: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- blank
                                            ((>>)
                                               tok Text.XML.HaXml.Lex.TokBraClose
                                               tok Text.XML.HaXml.Lex.TokStar)",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:596:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            Text.XML.HaXml.Lex.TokSpecialOpen",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:597:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            (Text.XML.HaXml.Lex.TokSpecial
                                               Text.XML.HaXml.Lex.ATTLISTx)",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:600:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- onFail
                                            blank (tok Text.XML.HaXml.Lex.TokAnyClose)
                                            failBadP "missing > terminating ATTLIST"",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:669:12: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            Text.XML.HaXml.Lex.TokSectionOpen",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:670:12: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- peRef
                                            (tok
                                               (Text.XML.HaXml.Lex.TokSection
                                                  Text.XML.HaXml.Lex.INCLUDEx))",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:672:12: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- onFail
                                            tok Text.XML.HaXml.Lex.TokSqOpen
                                            failBadP "missing [ after INCLUDE"",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:674:12: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- onFail
                                            tok Text.XML.HaXml.Lex.TokSectionClose
                                            failBadP
                                              ((++)
                                                 "missing ]]> for INCLUDE section"
                                                 (++)
                                                   "\
                                                   \    begun at "
                                                   show p)",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:679:12: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            Text.XML.HaXml.Lex.TokSectionOpen",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:680:12: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- peRef
                                            (tok
                                               (Text.XML.HaXml.Lex.TokSection
                                                  Text.XML.HaXml.Lex.IGNOREx))",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:682:12: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- onFail
                                            tok Text.XML.HaXml.Lex.TokSqOpen
                                            failBadP "missing [ after IGNORE"",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:683:12: Warning:
    A do-notation statement discarded a result of type [Ignore].
    Suppress this warning by saying "_ <- many newIgnore",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:684:12: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- onFail
                                            tok Text.XML.HaXml.Lex.TokSectionClose
                                            failBadP
                                              ((++)
                                                 "missing ]]> for IGNORE section"
                                                 (++)
                                                   "\
                                                   \    begun at "
                                                   show p)",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:692:10: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            Text.XML.HaXml.Lex.TokSectionOpen",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:693:10: Warning:
    A do-notation statement discarded a result of type [Ignore].
    Suppress this warning by saying "_ <- debug
                                            many newIgnore "IGNORING conditional section"",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:694:10: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            Text.XML.HaXml.Lex.TokSectionClose",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:725:9: Warning:
    This binding for `name' shadows the existing binding
      defined at src/Text/XML/HaXml/Parse.hs:186:1

src/Text/XML/HaXml/Parse.hs:756:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            Text.XML.HaXml.Lex.TokSpecialOpen",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:757:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            (Text.XML.HaXml.Lex.TokSpecial
                                               Text.XML.HaXml.Lex.ENTITYx)",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:760:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- onFail
                                            tok Text.XML.HaXml.Lex.TokAnyClose
                                            failBadP
                                              ((++) "expected > terminating G ENTITY decl " n)",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:766:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            Text.XML.HaXml.Lex.TokSpecialOpen",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:767:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            (Text.XML.HaXml.Lex.TokSpecial
                                               Text.XML.HaXml.Lex.ENTITYx)",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:768:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            Text.XML.HaXml.Lex.TokPercent",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:771:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- onFail
                                            tok Text.XML.HaXml.Lex.TokAnyClose
                                            failBadP
                                              ((++) "expected > terminating P ENTITY decl " n)",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:809:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            Text.XML.HaXml.Lex.TokPIOpen",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:813:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- onFail
                                            tok Text.XML.HaXml.Lex.TokPIClose
                                            failP "expected ?> terminating text decl"",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:831:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- onFail
                                            tok Text.XML.HaXml.Lex.TokEqual
                                            failBadP "expected = in 'encoding' decl"",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:837:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            Text.XML.HaXml.Lex.TokSpecialOpen",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:838:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            (Text.XML.HaXml.Lex.TokSpecial
                                               Text.XML.HaXml.Lex.NOTATIONx)",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:841:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- onFail
                                            tok Text.XML.HaXml.Lex.TokAnyClose
                                            failBadP
                                              ((++) "expected > terminating NOTATION decl " n)",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:853:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            Text.XML.HaXml.Lex.TokQuote",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:856:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- onFail
                                            tok Text.XML.HaXml.Lex.TokQuote
                                            failBadP "expected quote to terminate entityvalue"",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:865:39: Warning:
    This binding for `ev' shadows the existing binding
      defined at src/Text/XML/HaXml/Parse.hs:869:1

src/Text/XML/HaXml/Parse.hs:566:10: Warning:
    Orphan instance: instance Show CP

src/Text/XML/HaXml/Parse.hs:572:10: Warning:
    Orphan instance: instance Show Modifier
[ 6 of 16] Compiling Text.XML.HaXml.ByteStringPP ( src/Text/XML/HaXml/ByteStringPP.hs, dist/build/Validate/Validate-tmp/Text/XML/HaXml/ByteStringPP.o )

src/Text/XML/HaXml/ByteStringPP.hs:24:1: Warning:
    The import of `Data.Maybe' is redundant
      except perhaps to import instances from `Data.Maybe'
    To import instances alone, use: import Data.Maybe()

src/Text/XML/HaXml/ByteStringPP.hs:334:1: Warning:
    Top-level binding with no type signature:
      qname :: QName -> ByteString
[ 7 of 16] Compiling Text.XML.HaXml.Combinators ( src/Text/XML/HaXml/Combinators.hs, dist/build/Validate/Validate-tmp/Text/XML/HaXml/Combinators.o )

src/Text/XML/HaXml/Combinators.hs:79:9: Warning:
    This binding for `x' shadows the existing binding
      defined at src/Text/XML/HaXml/Combinators.hs:350:3

src/Text/XML/HaXml/Combinators.hs:81:9: Warning:
    This binding for `x' shadows the existing binding
      defined at src/Text/XML/HaXml/Combinators.hs:350:3

src/Text/XML/HaXml/Combinators.hs:81:9: Warning:
    Defined but not used: `x'

src/Text/XML/HaXml/Combinators.hs:110:5: Warning:
    This binding for `x' shadows the existing binding
      defined at src/Text/XML/HaXml/Combinators.hs:350:3

src/Text/XML/HaXml/Combinators.hs:113:5: Warning:
    This binding for `x' shadows the existing binding
      defined at src/Text/XML/HaXml/Combinators.hs:350:3

src/Text/XML/HaXml/Combinators.hs:114:5: Warning:
    This binding for `x' shadows the existing binding
      defined at src/Text/XML/HaXml/Combinators.hs:350:3

src/Text/XML/HaXml/Combinators.hs:117:7: Warning:
    This binding for `x' shadows the existing binding
      defined at src/Text/XML/HaXml/Combinators.hs:350:3

src/Text/XML/HaXml/Combinators.hs:120:11: Warning:
    This binding for `x' shadows the existing binding
      defined at src/Text/XML/HaXml/Combinators.hs:350:3

src/Text/XML/HaXml/Combinators.hs:123:8: Warning:
    This binding for `x' shadows the existing binding
      defined at src/Text/XML/HaXml/Combinators.hs:350:3

src/Text/XML/HaXml/Combinators.hs:126:12: Warning:
    This binding for `x' shadows the existing binding
      defined at src/Text/XML/HaXml/Combinators.hs:350:3

src/Text/XML/HaXml/Combinators.hs:137:1: Warning:
    Pattern match(es) are non-exhaustive
    In an equation for `find':
        Patterns not matched:
            _ _ (CString _ _ _)
            _ _ (CRef _ _)
            _ _ (CMisc _ _)

src/Text/XML/HaXml/Combinators.hs:138:17: Warning:
    This binding for `x' shadows the existing binding
      defined at src/Text/XML/HaXml/Combinators.hs:350:3

src/Text/XML/HaXml/Combinators.hs:189:19: Warning:
    This binding for `x' shadows the existing binding
      defined at src/Text/XML/HaXml/Combinators.hs:350:3

src/Text/XML/HaXml/Combinators.hs:203:16: Warning:
    This binding for `x' shadows the existing binding
      defined at src/Text/XML/HaXml/Combinators.hs:350:3

src/Text/XML/HaXml/Combinators.hs:212:12: Warning:
    This binding for `x' shadows the existing binding
      defined at src/Text/XML/HaXml/Combinators.hs:350:3

src/Text/XML/HaXml/Combinators.hs:301:9: Warning:
    This binding for `attr' shadows the existing binding
      defined at src/Text/XML/HaXml/Combinators.hs:123:1

src/Text/XML/HaXml/Combinators.hs:321:24: Warning:
    This binding for `n' shadows the existing binding
      bound at src/Text/XML/HaXml/Combinators.hs:320:30
[ 8 of 16] Compiling Text.XML.HaXml.Html.Parse ( src/Text/XML/HaXml/Html/Parse.hs, dist/build/Validate/Validate-tmp/Text/XML/HaXml/Html/Parse.o )

src/Text/XML/HaXml/Html/Parse.hs:17:1: Warning:
    The import of `Data.Maybe' is redundant
      except perhaps to import instances from `Data.Maybe'
    To import instances alone, use: import Data.Maybe()

src/Text/XML/HaXml/Html/Parse.hs:20:1: Warning:
    The import of `Control.Monad' is redundant
      except perhaps to import instances from `Control.Monad'
    To import instances alone, use: import Control.Monad()

src/Text/XML/HaXml/Html/Parse.hs:74:41: Warning:
    This binding for `avs' shadows the existing binding
      bound at src/Text/XML/HaXml/Html/Parse.hs:63:33

src/Text/XML/HaXml/Html/Parse.hs:74:45: Warning:
    This binding for `cs' shadows the existing binding
      bound at src/Text/XML/HaXml/Html/Parse.hs:63:37

src/Text/XML/HaXml/Html/Parse.hs:143:14: Warning:
    This binding for `tok' shadows the existing binding
      defined at src/Text/XML/HaXml/Html/Parse.hs:133:1

src/Text/XML/HaXml/Html/Parse.hs:190:8: Warning:
    This binding for `fail' shadows the existing binding
      imported from `Control.Monad' at src/Text/XML/HaXml/Html/Parse.hs:20:1-20
      (and originally defined in `GHC.Base')

src/Text/XML/HaXml/Html/Parse.hs:216:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            Text.XML.HaXml.Lex.TokPIOpen",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Html/Parse.hs:220:7: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- onFail
                                            (onFail
                                               tok Text.XML.HaXml.Lex.TokPIClose
                                               tok Text.XML.HaXml.Lex.TokAnyClose)
                                            failP "missing ?> or >"",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Html/Parse.hs:225:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            Text.XML.HaXml.Lex.TokSectionOpen",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Html/Parse.hs:238:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            Text.XML.HaXml.Lex.TokPIOpen",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Html/Parse.hs:242:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- onFail
                                            tok Text.XML.HaXml.Lex.TokPIClose
                                            failBadP "missing ?> in <?xml ...?>"",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Html/Parse.hs:254:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            Text.XML.HaXml.Lex.TokEqual",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Html/Parse.hs:269:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            Text.XML.HaXml.Lex.TokSpecialOpen",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Html/Parse.hs:270:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            (Text.XML.HaXml.Lex.TokSpecial
                                               Text.XML.HaXml.Lex.DOCTYPEx)",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Html/Parse.hs:275:7: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- onFail
                                            tok Text.XML.HaXml.Lex.TokAnyClose
                                            failP "missing > in DOCTYPE decl"",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Html/Parse.hs:304:7: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- onFail
                                            tok Text.XML.HaXml.Lex.TokEqual
                                            failP "missing = in 'standalone' decl"",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Html/Parse.hs:322:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            Text.XML.HaXml.Lex.TokAnyOpen",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Html/Parse.hs:332:15: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            Text.XML.HaXml.Lex.TokEndClose",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Html/Parse.hs:342:15: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            Text.XML.HaXml.Lex.TokAnyClose",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Html/Parse.hs:346:15: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            Text.XML.HaXml.Lex.TokEndClose",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Html/Parse.hs:349:15: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- onFail
                                            tok Text.XML.HaXml.Lex.TokAnyClose
                                            failP "missing > or /> in element tag"",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Html/Parse.hs:356:15: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- commit
                                            (tok Text.XML.HaXml.Lex.TokAnyClose)",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Html/Parse.hs:409:14: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            Text.XML.HaXml.Lex.TokEqual",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Html/Parse.hs:670:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- onFail
                                            tok Text.XML.HaXml.Lex.TokEqual
                                            failBadP "expected = in 'encoding' decl"",
    or by using the flag -fno-warn-unused-do-bind
[ 9 of 16] Compiling Text.XML.HaXml.Pretty ( src/Text/XML/HaXml/Pretty.hs, dist/build/Validate/Validate-tmp/Text/XML/HaXml/Pretty.o )

src/Text/XML/HaXml/Pretty.hs:25:1: Warning:
    The import of `Data.Maybe' is redundant
      except perhaps to import instances from `Data.Maybe'
    To import instances alone, use: import Data.Maybe()

src/Text/XML/HaXml/Pretty.hs:276:1: Warning:
    Top-level binding with no type signature: qname :: QName -> Doc
[10 of 16] Compiling Text.XML.HaXml.Wrappers ( src/Text/XML/HaXml/Wrappers.hs, dist/build/Validate/Validate-tmp/Text/XML/HaXml/Wrappers.o )

src/Text/XML/HaXml/Wrappers.hs:69:5: Warning:
    This binding for `onContent' shadows the existing binding
      defined at src/Text/XML/HaXml/Wrappers.hs:79:1
[11 of 16] Compiling Text.XML.HaXml.TypeMapping ( src/Text/XML/HaXml/TypeMapping.hs, dist/build/Validate/Validate-tmp/Text/XML/HaXml/TypeMapping.o )

src/Text/XML/HaXml/TypeMapping.hs:208:14: Warning:
    This binding for `ht' shadows the existing binding
      bound at src/Text/XML/HaXml/TypeMapping.hs:201:7

src/Text/XML/HaXml/TypeMapping.hs:209:14: Warning:
    This binding for `ht' shadows the existing binding
      bound at src/Text/XML/HaXml/TypeMapping.hs:201:7

src/Text/XML/HaXml/TypeMapping.hs:214:29: Warning:
    This binding for `ht' shadows the existing binding
      bound at src/Text/XML/HaXml/TypeMapping.hs:201:7

src/Text/XML/HaXml/TypeMapping.hs:228:14: Warning:
    This binding for `ht' shadows the existing binding
      bound at src/Text/XML/HaXml/TypeMapping.hs:201:7

src/Text/XML/HaXml/TypeMapping.hs:231:17: Warning:
    This binding for `ht' shadows the existing binding
      bound at src/Text/XML/HaXml/TypeMapping.hs:201:7

src/Text/XML/HaXml/TypeMapping.hs:234:5: Warning:
    Pattern match(es) are non-exhaustive
    In an equation for `declmacro':
        Patterns not matched:
            (Maybe _) _
            (List _) _
            (Tuple _) _
            (Prim _ _) _
            ...

src/Text/XML/HaXml/TypeMapping.hs:234:15: Warning:
    This binding for `ht' shadows the existing binding
      bound at src/Text/XML/HaXml/TypeMapping.hs:201:7

src/Text/XML/HaXml/TypeMapping.hs:238:32: Warning:
    Defined but not used: `s'

src/Text/XML/HaXml/TypeMapping.hs:238:34: Warning:
    Defined but not used: `fv'

src/Text/XML/HaXml/TypeMapping.hs:238:37: Warning:
    Defined but not used: `hts'

src/Text/XML/HaXml/TypeMapping.hs:242:5: Warning:
    Pattern match(es) are non-exhaustive
    In an equation for `declprim':
        Patterns not matched:
            Maybe _
            List _
            Tuple _
            String
            ...

src/Text/XML/HaXml/TypeMapping.hs:250:1: Warning:
    Pattern match(es) are non-exhaustive
    In an equation for `?': Patterns not matched: _ _
[12 of 16] Compiling Text.XML.HaXml.Verbatim ( src/Text/XML/HaXml/Verbatim.hs, dist/build/Validate/Validate-tmp/Text/XML/HaXml/Verbatim.o )
[13 of 16] Compiling Text.XML.HaXml.XmlContent.Parser ( src/Text/XML/HaXml/XmlContent/Parser.hs, dist/build/Validate/Validate-tmp/Text/XML/HaXml/XmlContent/Parser.o )

src/Text/XML/HaXml/XmlContent/Parser.hs:97:1: Warning:
    Pattern match(es) are non-exhaustive
    In an equation for `attval':
        Patterns not matched:
            Elem _ [] _
            Elem _ ((_, AttValue _) : (_ : _)) _
            Elem _ [(_, AttValue _)] (_ : _)

src/Text/XML/HaXml/XmlContent/Parser.hs:613:9: Warning:
    Pattern match(es) are non-exhaustive
    In an equation for `g':
        Patterns not matched:
            ghc-prim:GHC.Types.C# #x
            with
            #x `notElem` ['"', '&', '<', '>', '\'']
[14 of 16] Compiling Text.XML.HaXml.XmlContent ( src/Text/XML/HaXml/XmlContent.hs, dist/build/Validate/Validate-tmp/Text/XML/HaXml/XmlContent.o )

src/Text/XML/HaXml/XmlContent.hs:113:16: Warning:
    Pattern match(es) are non-exhaustive
    In a case alternative:
        Patterns not matched:
            (CString _ _ _) : _
            (CRef _ _) : _
            (CMisc _ _) : _

src/Text/XML/HaXml/XmlContent.hs:152:10: Warning:
    Orphan instance: instance XmlContent Char

src/Text/XML/HaXml/XmlContent.hs:162:10: Warning:
    Orphan instance: instance XmlContent a => XmlContent [a]

src/Text/XML/HaXml/XmlContent.hs:176:10: Warning:
    Orphan instance: instance XmlContent a => XmlContent (Maybe a)
[15 of 16] Compiling Text.XML.HaXml.Validate ( src/Text/XML/HaXml/Validate.hs, dist/build/Validate/Validate-tmp/Text/XML/HaXml/Validate.o )

src/Text/XML/HaXml/Validate.hs:228:32: Warning:
    This binding for `cps' shadows the existing binding
      bound at src/Text/XML/HaXml/Validate.hs:224:19

src/Text/XML/HaXml/Validate.hs:229:29: Warning:
    This binding for `cps' shadows the existing binding
      bound at src/Text/XML/HaXml/Validate.hs:224:19

src/Text/XML/HaXml/Validate.hs:231:32: Warning:
    This binding for `cps' shadows the existing binding
      bound at src/Text/XML/HaXml/Validate.hs:224:19

src/Text/XML/HaXml/Validate.hs:232:29: Warning:
    This binding for `cps' shadows the existing binding
      bound at src/Text/XML/HaXml/Validate.hs:224:19

src/Text/XML/HaXml/Validate.hs:235:33: Warning:
    This binding for `cps' shadows the existing binding
      bound at src/Text/XML/HaXml/Validate.hs:224:19

src/Text/XML/HaXml/Validate.hs:237:30: Warning:
    This binding for `cps' shadows the existing binding
      bound at src/Text/XML/HaXml/Validate.hs:224:19

src/Text/XML/HaXml/Validate.hs:240:21: Warning:
    This binding for `ns' shadows the existing binding
      bound at src/Text/XML/HaXml/Validate.hs:239:18
[16 of 16] Compiling Main             ( src/tools/Validate.hs, dist/build/Validate/Validate-tmp/Main.o )
Linking dist/build/Validate/Validate ...
Preprocessing executable 'MkOneOf' for HaXml-1.22.1...
[ 1 of 19] Compiling Text.XML.HaXml.Posn ( src/Text/XML/HaXml/Posn.hs, dist/build/MkOneOf/MkOneOf-tmp/Text/XML/HaXml/Posn.o )
[ 2 of 19] Compiling Text.XML.HaXml.Lex ( src/Text/XML/HaXml/Lex.hs, dist/build/MkOneOf/MkOneOf-tmp/Text/XML/HaXml/Lex.o )

src/Text/XML/HaXml/Lex.hs:205:18: Warning:
    This binding for `lookup' shadows the existing binding
      imported from `Prelude' at src/Text/XML/HaXml/Lex.hs:16:8-25
      (and originally defined in `GHC.List')

src/Text/XML/HaXml/Lex.hs:316:24: Warning:
    This binding for `p' shadows the existing binding
      bound at src/Text/XML/HaXml/Lex.hs:312:9

src/Text/XML/HaXml/Lex.hs:316:29: Warning:
    This binding for `k' shadows the existing binding
      bound at src/Text/XML/HaXml/Lex.hs:312:22

src/Text/XML/HaXml/Lex.hs:319:24: Warning:
    This binding for `p' shadows the existing binding
      bound at src/Text/XML/HaXml/Lex.hs:312:9

src/Text/XML/HaXml/Lex.hs:319:27: Warning:
    This binding for `s' shadows the existing binding
      bound at src/Text/XML/HaXml/Lex.hs:312:12

src/Text/XML/HaXml/Lex.hs:319:29: Warning:
    This binding for `ss' shadows the existing binding
      bound at src/Text/XML/HaXml/Lex.hs:312:14

src/Text/XML/HaXml/Lex.hs:319:33: Warning:
    This binding for `k' shadows the existing binding
      bound at src/Text/XML/HaXml/Lex.hs:312:22
[ 3 of 19] Compiling Text.XML.HaXml.Types ( src/Text/XML/HaXml/Types.hs, dist/build/MkOneOf/MkOneOf-tmp/Text/XML/HaXml/Types.o )

src/Text/XML/HaXml/Types.hs:285:17: Warning:
    Defined but not used: `p'

src/Text/XML/HaXml/Types.hs:285:19: Warning:
    Defined but not used: `n'

src/Text/XML/HaXml/Types.hs:285:25: Warning:
    Defined but not used: `m'

src/Text/XML/HaXml/Types.hs:286:16: Warning:
    Defined but not used: `n'

src/Text/XML/HaXml/Types.hs:286:26: Warning:
    Defined but not used: `q'

src/Text/XML/HaXml/Types.hs:286:28: Warning:
    Defined but not used: `m'
[ 4 of 19] Compiling Text.XML.HaXml.Escape ( src/Text/XML/HaXml/Escape.hs, dist/build/MkOneOf/MkOneOf-tmp/Text/XML/HaXml/Escape.o )
[ 5 of 19] Compiling Text.XML.HaXml.Namespaces ( src/Text/XML/HaXml/Namespaces.hs, dist/build/MkOneOf/MkOneOf-tmp/Text/XML/HaXml/Namespaces.o )

src/Text/XML/HaXml/Namespaces.hs:127:17: Warning:
    This binding for `qualify' shadows the existing binding
      defined at src/Text/XML/HaXml/Namespaces.hs:58:1

src/Text/XML/HaXml/Namespaces.hs:171:15: Warning:
    Pattern match(es) are non-exhaustive
    In an equation for `mkNamespace': Patterns not matched: (QN _ _, _)
[ 6 of 19] Compiling Text.XML.HaXml.Combinators ( src/Text/XML/HaXml/Combinators.hs, dist/build/MkOneOf/MkOneOf-tmp/Text/XML/HaXml/Combinators.o )

src/Text/XML/HaXml/Combinators.hs:79:9: Warning:
    This binding for `x' shadows the existing binding
      defined at src/Text/XML/HaXml/Combinators.hs:350:3

src/Text/XML/HaXml/Combinators.hs:81:9: Warning:
    This binding for `x' shadows the existing binding
      defined at src/Text/XML/HaXml/Combinators.hs:350:3

src/Text/XML/HaXml/Combinators.hs:81:9: Warning:
    Defined but not used: `x'

src/Text/XML/HaXml/Combinators.hs:110:5: Warning:
    This binding for `x' shadows the existing binding
      defined at src/Text/XML/HaXml/Combinators.hs:350:3

src/Text/XML/HaXml/Combinators.hs:113:5: Warning:
    This binding for `x' shadows the existing binding
      defined at src/Text/XML/HaXml/Combinators.hs:350:3

src/Text/XML/HaXml/Combinators.hs:114:5: Warning:
    This binding for `x' shadows the existing binding
      defined at src/Text/XML/HaXml/Combinators.hs:350:3

src/Text/XML/HaXml/Combinators.hs:117:7: Warning:
    This binding for `x' shadows the existing binding
      defined at src/Text/XML/HaXml/Combinators.hs:350:3

src/Text/XML/HaXml/Combinators.hs:120:11: Warning:
    This binding for `x' shadows the existing binding
      defined at src/Text/XML/HaXml/Combinators.hs:350:3

src/Text/XML/HaXml/Combinators.hs:123:8: Warning:
    This binding for `x' shadows the existing binding
      defined at src/Text/XML/HaXml/Combinators.hs:350:3

src/Text/XML/HaXml/Combinators.hs:126:12: Warning:
    This binding for `x' shadows the existing binding
      defined at src/Text/XML/HaXml/Combinators.hs:350:3

src/Text/XML/HaXml/Combinators.hs:137:1: Warning:
    Pattern match(es) are non-exhaustive
    In an equation for `find':
        Patterns not matched:
            _ _ (CString _ _ _)
            _ _ (CRef _ _)
            _ _ (CMisc _ _)

src/Text/XML/HaXml/Combinators.hs:138:17: Warning:
    This binding for `x' shadows the existing binding
      defined at src/Text/XML/HaXml/Combinators.hs:350:3

src/Text/XML/HaXml/Combinators.hs:189:19: Warning:
    This binding for `x' shadows the existing binding
      defined at src/Text/XML/HaXml/Combinators.hs:350:3

src/Text/XML/HaXml/Combinators.hs:203:16: Warning:
    This binding for `x' shadows the existing binding
      defined at src/Text/XML/HaXml/Combinators.hs:350:3

src/Text/XML/HaXml/Combinators.hs:212:12: Warning:
    This binding for `x' shadows the existing binding
      defined at src/Text/XML/HaXml/Combinators.hs:350:3

src/Text/XML/HaXml/Combinators.hs:301:9: Warning:
    This binding for `attr' shadows the existing binding
      defined at src/Text/XML/HaXml/Combinators.hs:123:1

src/Text/XML/HaXml/Combinators.hs:321:24: Warning:
    This binding for `n' shadows the existing binding
      bound at src/Text/XML/HaXml/Combinators.hs:320:30
[ 7 of 19] Compiling Text.XML.HaXml.Parse ( src/Text/XML/HaXml/Parse.hs, dist/build/MkOneOf/MkOneOf-tmp/Text/XML/HaXml/Parse.o )

src/Text/XML/HaXml/Parse.hs:34:1: Warning:
    The import of `Data.Maybe' is redundant
      except perhaps to import instances from `Data.Maybe'
    To import instances alone, use: import Data.Maybe()

src/Text/XML/HaXml/Parse.hs:37:1: Warning:
    The import of `Control.Monad' is redundant
      except perhaps to import instances from `Control.Monad'
    To import instances alone, use: import Control.Monad()

src/Text/XML/HaXml/Parse.hs:73:11: Warning:
    Defined but not used: `s'

src/Text/XML/HaXml/Parse.hs:101:11: Warning:
    This binding for `name' shadows the existing binding
      defined at src/Text/XML/HaXml/Parse.hs:186:1

src/Text/XML/HaXml/Parse.hs:102:11: Warning:
    This binding for `name' shadows the existing binding
      defined at src/Text/XML/HaXml/Parse.hs:186:1

src/Text/XML/HaXml/Parse.hs:104:11: Warning:
    This binding for `name' shadows the existing binding
      defined at src/Text/XML/HaXml/Parse.hs:186:1

src/Text/XML/HaXml/Parse.hs:105:11: Warning:
    This binding for `name' shadows the existing binding
      defined at src/Text/XML/HaXml/Parse.hs:186:1

src/Text/XML/HaXml/Parse.hs:161:10: Warning:
    A do-notation statement discarded a result of type bra.
    Suppress this warning by saying "_ <- adjustErr
                                            open
                                            ( \ x_ -> (++)
                                                 "Missing opening bracket:\
                                                 \\t" x_ ))",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:186:14: Warning:
    This binding for `tok' shadows the existing binding
      defined at src/Text/XML/HaXml/Parse.hs:170:1

src/Text/XML/HaXml/Parse.hs:233:8: Warning:
    This binding for `fail' shadows the existing binding
      imported from `Control.Monad' at src/Text/XML/HaXml/Parse.hs:37:1-38
      (and originally defined in `GHC.Base')

src/Text/XML/HaXml/Parse.hs:247:35: Warning:
    This binding for `ev' shadows the existing binding
      defined at src/Text/XML/HaXml/Parse.hs:869:1

src/Text/XML/HaXml/Parse.hs:276:35: Warning:
    This binding for `ev' shadows the existing binding
      defined at src/Text/XML/HaXml/Parse.hs:869:1

src/Text/XML/HaXml/Parse.hs:320:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            Text.XML.HaXml.Lex.TokPIOpen",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:324:7: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- onFail
                                            tok Text.XML.HaXml.Lex.TokPIClose
                                            failP ((++) "missing ?> in <?" n)",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:329:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            Text.XML.HaXml.Lex.TokSectionOpen",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:342:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            Text.XML.HaXml.Lex.TokPIOpen",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:346:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- onFail
                                            tok Text.XML.HaXml.Lex.TokPIClose
                                            failBadP "missing ?> in <?xml ...?>"",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:360:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            Text.XML.HaXml.Lex.TokEqual",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:372:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            Text.XML.HaXml.Lex.TokSpecialOpen",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:373:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            (Text.XML.HaXml.Lex.TokSpecial
                                               Text.XML.HaXml.Lex.DOCTYPEx)",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:379:7: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- onFail
                                            blank (tok Text.XML.HaXml.Lex.TokAnyClose)
                                            failP "missing > in DOCTYPE decl"",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:410:7: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- onFail
                                            tok Text.XML.HaXml.Lex.TokEqual
                                            failP "missing = in 'standalone' decl"",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:437:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            Text.XML.HaXml.Lex.TokAnyOpen",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:439:10: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            Text.XML.HaXml.Lex.TokEndClose",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:442:10: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            Text.XML.HaXml.Lex.TokAnyClose",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:468:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            Text.XML.HaXml.Lex.TokAnyOpen",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:470:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            Text.XML.HaXml.Lex.TokAnyClose",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:477:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            Text.XML.HaXml.Lex.TokEndOpen",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:480:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            Text.XML.HaXml.Lex.TokAnyClose",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:486:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- onFail
                                            tok Text.XML.HaXml.Lex.TokEqual
                                            failBadP "missing = in attribute"",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:509:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            Text.XML.HaXml.Lex.TokSpecialOpen",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:510:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            (Text.XML.HaXml.Lex.TokSpecial
                                               Text.XML.HaXml.Lex.ELEMENTx)",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:515:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- onFail
                                            blank (tok Text.XML.HaXml.Lex.TokAnyClose)
                                            failBadP
                                              ((++)
                                                 "expected > terminating ELEMENT decl"
                                                 (++)
                                                   "\
                                                   \    element name was "
                                                   (++)
                                                     show (printableName n)
                                                     (++)
                                                       "\
                                                       \    contentspec was "
                                                       \ (ContentSpec p) -> show p c)",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:581:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            Text.XML.HaXml.Lex.TokBraOpen",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:582:15: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            Text.XML.HaXml.Lex.TokHash",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:585:42: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            Text.XML.HaXml.Lex.TokPipe",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:587:20: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- blank
                                            ((>>)
                                               tok Text.XML.HaXml.Lex.TokBraClose
                                               tok Text.XML.HaXml.Lex.TokStar)",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:596:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            Text.XML.HaXml.Lex.TokSpecialOpen",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:597:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            (Text.XML.HaXml.Lex.TokSpecial
                                               Text.XML.HaXml.Lex.ATTLISTx)",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:600:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- onFail
                                            blank (tok Text.XML.HaXml.Lex.TokAnyClose)
                                            failBadP "missing > terminating ATTLIST"",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:669:12: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            Text.XML.HaXml.Lex.TokSectionOpen",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:670:12: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- peRef
                                            (tok
                                               (Text.XML.HaXml.Lex.TokSection
                                                  Text.XML.HaXml.Lex.INCLUDEx))",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:672:12: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- onFail
                                            tok Text.XML.HaXml.Lex.TokSqOpen
                                            failBadP "missing [ after INCLUDE"",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:674:12: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- onFail
                                            tok Text.XML.HaXml.Lex.TokSectionClose
                                            failBadP
                                              ((++)
                                                 "missing ]]> for INCLUDE section"
                                                 (++)
                                                   "\
                                                   \    begun at "
                                                   show p)",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:679:12: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            Text.XML.HaXml.Lex.TokSectionOpen",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:680:12: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- peRef
                                            (tok
                                               (Text.XML.HaXml.Lex.TokSection
                                                  Text.XML.HaXml.Lex.IGNOREx))",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:682:12: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- onFail
                                            tok Text.XML.HaXml.Lex.TokSqOpen
                                            failBadP "missing [ after IGNORE"",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:683:12: Warning:
    A do-notation statement discarded a result of type [Ignore].
    Suppress this warning by saying "_ <- many newIgnore",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:684:12: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- onFail
                                            tok Text.XML.HaXml.Lex.TokSectionClose
                                            failBadP
                                              ((++)
                                                 "missing ]]> for IGNORE section"
                                                 (++)
                                                   "\
                                                   \    begun at "
                                                   show p)",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:692:10: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            Text.XML.HaXml.Lex.TokSectionOpen",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:693:10: Warning:
    A do-notation statement discarded a result of type [Ignore].
    Suppress this warning by saying "_ <- debug
                                            many newIgnore "IGNORING conditional section"",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:694:10: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            Text.XML.HaXml.Lex.TokSectionClose",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:725:9: Warning:
    This binding for `name' shadows the existing binding
      defined at src/Text/XML/HaXml/Parse.hs:186:1

src/Text/XML/HaXml/Parse.hs:756:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            Text.XML.HaXml.Lex.TokSpecialOpen",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:757:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            (Text.XML.HaXml.Lex.TokSpecial
                                               Text.XML.HaXml.Lex.ENTITYx)",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:760:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- onFail
                                            tok Text.XML.HaXml.Lex.TokAnyClose
                                            failBadP
                                              ((++) "expected > terminating G ENTITY decl " n)",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:766:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            Text.XML.HaXml.Lex.TokSpecialOpen",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:767:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            (Text.XML.HaXml.Lex.TokSpecial
                                               Text.XML.HaXml.Lex.ENTITYx)",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:768:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            Text.XML.HaXml.Lex.TokPercent",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:771:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- onFail
                                            tok Text.XML.HaXml.Lex.TokAnyClose
                                            failBadP
                                              ((++) "expected > terminating P ENTITY decl " n)",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:809:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            Text.XML.HaXml.Lex.TokPIOpen",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:813:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- onFail
                                            tok Text.XML.HaXml.Lex.TokPIClose
                                            failP "expected ?> terminating text decl"",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:831:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- onFail
                                            tok Text.XML.HaXml.Lex.TokEqual
                                            failBadP "expected = in 'encoding' decl"",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:837:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            Text.XML.HaXml.Lex.TokSpecialOpen",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:838:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            (Text.XML.HaXml.Lex.TokSpecial
                                               Text.XML.HaXml.Lex.NOTATIONx)",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:841:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- onFail
                                            tok Text.XML.HaXml.Lex.TokAnyClose
                                            failBadP
                                              ((++) "expected > terminating NOTATION decl " n)",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:853:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            Text.XML.HaXml.Lex.TokQuote",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:856:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- onFail
                                            tok Text.XML.HaXml.Lex.TokQuote
                                            failBadP "expected quote to terminate entityvalue"",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:865:39: Warning:
    This binding for `ev' shadows the existing binding
      defined at src/Text/XML/HaXml/Parse.hs:869:1

src/Text/XML/HaXml/Parse.hs:566:10: Warning:
    Orphan instance: instance Show CP

src/Text/XML/HaXml/Parse.hs:572:10: Warning:
    Orphan instance: instance Show Modifier
[ 8 of 19] Compiling Text.XML.HaXml.Pretty ( src/Text/XML/HaXml/Pretty.hs, dist/build/MkOneOf/MkOneOf-tmp/Text/XML/HaXml/Pretty.o )

src/Text/XML/HaXml/Pretty.hs:25:1: Warning:
    The import of `Data.Maybe' is redundant
      except perhaps to import instances from `Data.Maybe'
    To import instances alone, use: import Data.Maybe()

src/Text/XML/HaXml/Pretty.hs:276:1: Warning:
    Top-level binding with no type signature: qname :: QName -> Doc
[ 9 of 19] Compiling Text.XML.HaXml.Html.Generate ( src/Text/XML/HaXml/Html/Generate.hs, dist/build/MkOneOf/MkOneOf-tmp/Text/XML/HaXml/Html/Generate.o )
[10 of 19] Compiling Text.XML.HaXml.Html.Parse ( src/Text/XML/HaXml/Html/Parse.hs, dist/build/MkOneOf/MkOneOf-tmp/Text/XML/HaXml/Html/Parse.o )

src/Text/XML/HaXml/Html/Parse.hs:17:1: Warning:
    The import of `Data.Maybe' is redundant
      except perhaps to import instances from `Data.Maybe'
    To import instances alone, use: import Data.Maybe()

src/Text/XML/HaXml/Html/Parse.hs:20:1: Warning:
    The import of `Control.Monad' is redundant
      except perhaps to import instances from `Control.Monad'
    To import instances alone, use: import Control.Monad()

src/Text/XML/HaXml/Html/Parse.hs:74:41: Warning:
    This binding for `avs' shadows the existing binding
      bound at src/Text/XML/HaXml/Html/Parse.hs:63:33

src/Text/XML/HaXml/Html/Parse.hs:74:45: Warning:
    This binding for `cs' shadows the existing binding
      bound at src/Text/XML/HaXml/Html/Parse.hs:63:37

src/Text/XML/HaXml/Html/Parse.hs:143:14: Warning:
    This binding for `tok' shadows the existing binding
      defined at src/Text/XML/HaXml/Html/Parse.hs:133:1

src/Text/XML/HaXml/Html/Parse.hs:190:8: Warning:
    This binding for `fail' shadows the existing binding
      imported from `Control.Monad' at src/Text/XML/HaXml/Html/Parse.hs:20:1-20
      (and originally defined in `GHC.Base')

src/Text/XML/HaXml/Html/Parse.hs:216:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            Text.XML.HaXml.Lex.TokPIOpen",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Html/Parse.hs:220:7: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- onFail
                                            (onFail
                                               tok Text.XML.HaXml.Lex.TokPIClose
                                               tok Text.XML.HaXml.Lex.TokAnyClose)
                                            failP "missing ?> or >"",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Html/Parse.hs:225:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            Text.XML.HaXml.Lex.TokSectionOpen",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Html/Parse.hs:238:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            Text.XML.HaXml.Lex.TokPIOpen",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Html/Parse.hs:242:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- onFail
                                            tok Text.XML.HaXml.Lex.TokPIClose
                                            failBadP "missing ?> in <?xml ...?>"",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Html/Parse.hs:254:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            Text.XML.HaXml.Lex.TokEqual",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Html/Parse.hs:269:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            Text.XML.HaXml.Lex.TokSpecialOpen",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Html/Parse.hs:270:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            (Text.XML.HaXml.Lex.TokSpecial
                                               Text.XML.HaXml.Lex.DOCTYPEx)",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Html/Parse.hs:275:7: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- onFail
                                            tok Text.XML.HaXml.Lex.TokAnyClose
                                            failP "missing > in DOCTYPE decl"",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Html/Parse.hs:304:7: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- onFail
                                            tok Text.XML.HaXml.Lex.TokEqual
                                            failP "missing = in 'standalone' decl"",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Html/Parse.hs:322:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            Text.XML.HaXml.Lex.TokAnyOpen",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Html/Parse.hs:332:15: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            Text.XML.HaXml.Lex.TokEndClose",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Html/Parse.hs:342:15: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            Text.XML.HaXml.Lex.TokAnyClose",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Html/Parse.hs:346:15: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            Text.XML.HaXml.Lex.TokEndClose",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Html/Parse.hs:349:15: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- onFail
                                            tok Text.XML.HaXml.Lex.TokAnyClose
                                            failP "missing > or /> in element tag"",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Html/Parse.hs:356:15: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- commit
                                            (tok Text.XML.HaXml.Lex.TokAnyClose)",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Html/Parse.hs:409:14: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            Text.XML.HaXml.Lex.TokEqual",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Html/Parse.hs:670:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- onFail
                                            tok Text.XML.HaXml.Lex.TokEqual
                                            failBadP "expected = in 'encoding' decl"",
    or by using the flag -fno-warn-unused-do-bind
[11 of 19] Compiling Text.XML.HaXml.Wrappers ( src/Text/XML/HaXml/Wrappers.hs, dist/build/MkOneOf/MkOneOf-tmp/Text/XML/HaXml/Wrappers.o )

src/Text/XML/HaXml/Wrappers.hs:69:5: Warning:
    This binding for `onContent' shadows the existing binding
      defined at src/Text/XML/HaXml/Wrappers.hs:79:1
[12 of 19] Compiling Text.XML.HaXml.Verbatim ( src/Text/XML/HaXml/Verbatim.hs, dist/build/MkOneOf/MkOneOf-tmp/Text/XML/HaXml/Verbatim.o )
[13 of 19] Compiling Text.XML.HaXml.ByteStringPP ( src/Text/XML/HaXml/ByteStringPP.hs, dist/build/MkOneOf/MkOneOf-tmp/Text/XML/HaXml/ByteStringPP.o )

src/Text/XML/HaXml/ByteStringPP.hs:24:1: Warning:
    The import of `Data.Maybe' is redundant
      except perhaps to import instances from `Data.Maybe'
    To import instances alone, use: import Data.Maybe()

src/Text/XML/HaXml/ByteStringPP.hs:334:1: Warning:
    Top-level binding with no type signature:
      qname :: QName -> ByteString
[14 of 19] Compiling Text.XML.HaXml.TypeMapping ( src/Text/XML/HaXml/TypeMapping.hs, dist/build/MkOneOf/MkOneOf-tmp/Text/XML/HaXml/TypeMapping.o )

src/Text/XML/HaXml/TypeMapping.hs:208:14: Warning:
    This binding for `ht' shadows the existing binding
      bound at src/Text/XML/HaXml/TypeMapping.hs:201:7

src/Text/XML/HaXml/TypeMapping.hs:209:14: Warning:
    This binding for `ht' shadows the existing binding
      bound at src/Text/XML/HaXml/TypeMapping.hs:201:7

src/Text/XML/HaXml/TypeMapping.hs:214:29: Warning:
    This binding for `ht' shadows the existing binding
      bound at src/Text/XML/HaXml/TypeMapping.hs:201:7

src/Text/XML/HaXml/TypeMapping.hs:228:14: Warning:
    This binding for `ht' shadows the existing binding
      bound at src/Text/XML/HaXml/TypeMapping.hs:201:7

src/Text/XML/HaXml/TypeMapping.hs:231:17: Warning:
    This binding for `ht' shadows the existing binding
      bound at src/Text/XML/HaXml/TypeMapping.hs:201:7

src/Text/XML/HaXml/TypeMapping.hs:234:5: Warning:
    Pattern match(es) are non-exhaustive
    In an equation for `declmacro':
        Patterns not matched:
            (Maybe _) _
            (List _) _
            (Tuple _) _
            (Prim _ _) _
            ...

src/Text/XML/HaXml/TypeMapping.hs:234:15: Warning:
    This binding for `ht' shadows the existing binding
      bound at src/Text/XML/HaXml/TypeMapping.hs:201:7

src/Text/XML/HaXml/TypeMapping.hs:238:32: Warning:
    Defined but not used: `s'

src/Text/XML/HaXml/TypeMapping.hs:238:34: Warning:
    Defined but not used: `fv'

src/Text/XML/HaXml/TypeMapping.hs:238:37: Warning:
    Defined but not used: `hts'

src/Text/XML/HaXml/TypeMapping.hs:242:5: Warning:
    Pattern match(es) are non-exhaustive
    In an equation for `declprim':
        Patterns not matched:
            Maybe _
            List _
            Tuple _
            String
            ...

src/Text/XML/HaXml/TypeMapping.hs:250:1: Warning:
    Pattern match(es) are non-exhaustive
    In an equation for `?': Patterns not matched: _ _
[15 of 19] Compiling Text.XML.HaXml.XmlContent.Parser ( src/Text/XML/HaXml/XmlContent/Parser.hs, dist/build/MkOneOf/MkOneOf-tmp/Text/XML/HaXml/XmlContent/Parser.o )

src/Text/XML/HaXml/XmlContent/Parser.hs:97:1: Warning:
    Pattern match(es) are non-exhaustive
    In an equation for `attval':
        Patterns not matched:
            Elem _ [] _
            Elem _ ((_, AttValue _) : (_ : _)) _
            Elem _ [(_, AttValue _)] (_ : _)

src/Text/XML/HaXml/XmlContent/Parser.hs:613:9: Warning:
    Pattern match(es) are non-exhaustive
    In an equation for `g':
        Patterns not matched:
            ghc-prim:GHC.Types.C# #x
            with
            #x `notElem` ['"', '&', '<', '>', '\'']
[16 of 19] Compiling Text.XML.HaXml.XmlContent ( src/Text/XML/HaXml/XmlContent.hs, dist/build/MkOneOf/MkOneOf-tmp/Text/XML/HaXml/XmlContent.o )

src/Text/XML/HaXml/XmlContent.hs:113:16: Warning:
    Pattern match(es) are non-exhaustive
    In a case alternative:
        Patterns not matched:
            (CString _ _ _) : _
            (CRef _ _) : _
            (CMisc _ _) : _

src/Text/XML/HaXml/XmlContent.hs:152:10: Warning:
    Orphan instance: instance XmlContent Char

src/Text/XML/HaXml/XmlContent.hs:162:10: Warning:
    Orphan instance: instance XmlContent a => XmlContent [a]

src/Text/XML/HaXml/XmlContent.hs:176:10: Warning:
    Orphan instance: instance XmlContent a => XmlContent (Maybe a)
[17 of 19] Compiling Text.XML.HaXml.Validate ( src/Text/XML/HaXml/Validate.hs, dist/build/MkOneOf/MkOneOf-tmp/Text/XML/HaXml/Validate.o )

src/Text/XML/HaXml/Validate.hs:228:32: Warning:
    This binding for `cps' shadows the existing binding
      bound at src/Text/XML/HaXml/Validate.hs:224:19

src/Text/XML/HaXml/Validate.hs:229:29: Warning:
    This binding for `cps' shadows the existing binding
      bound at src/Text/XML/HaXml/Validate.hs:224:19

src/Text/XML/HaXml/Validate.hs:231:32: Warning:
    This binding for `cps' shadows the existing binding
      bound at src/Text/XML/HaXml/Validate.hs:224:19

src/Text/XML/HaXml/Validate.hs:232:29: Warning:
    This binding for `cps' shadows the existing binding
      bound at src/Text/XML/HaXml/Validate.hs:224:19

src/Text/XML/HaXml/Validate.hs:235:33: Warning:
    This binding for `cps' shadows the existing binding
      bound at src/Text/XML/HaXml/Validate.hs:224:19

src/Text/XML/HaXml/Validate.hs:237:30: Warning:
    This binding for `cps' shadows the existing binding
      bound at src/Text/XML/HaXml/Validate.hs:224:19

src/Text/XML/HaXml/Validate.hs:240:21: Warning:
    This binding for `ns' shadows the existing binding
      bound at src/Text/XML/HaXml/Validate.hs:239:18
[18 of 19] Compiling Text.XML.HaXml   ( src/Text/XML/HaXml.hs, dist/build/MkOneOf/MkOneOf-tmp/Text/XML/HaXml.o )
[19 of 19] Compiling Main             ( src/tools/MkOneOf.hs, dist/build/MkOneOf/MkOneOf-tmp/Main.o )
Linking dist/build/MkOneOf/MkOneOf ...
Preprocessing executable 'DtdToHaskell' for HaXml-1.22.1...
[ 1 of 22] Compiling Text.XML.HaXml.Posn ( src/Text/XML/HaXml/Posn.hs, dist/build/DtdToHaskell/DtdToHaskell-tmp/Text/XML/HaXml/Posn.o )
[ 2 of 22] Compiling Text.XML.HaXml.Lex ( src/Text/XML/HaXml/Lex.hs, dist/build/DtdToHaskell/DtdToHaskell-tmp/Text/XML/HaXml/Lex.o )

src/Text/XML/HaXml/Lex.hs:205:18: Warning:
    This binding for `lookup' shadows the existing binding
      imported from `Prelude' at src/Text/XML/HaXml/Lex.hs:16:8-25
      (and originally defined in `GHC.List')

src/Text/XML/HaXml/Lex.hs:316:24: Warning:
    This binding for `p' shadows the existing binding
      bound at src/Text/XML/HaXml/Lex.hs:312:9

src/Text/XML/HaXml/Lex.hs:316:29: Warning:
    This binding for `k' shadows the existing binding
      bound at src/Text/XML/HaXml/Lex.hs:312:22

src/Text/XML/HaXml/Lex.hs:319:24: Warning:
    This binding for `p' shadows the existing binding
      bound at src/Text/XML/HaXml/Lex.hs:312:9

src/Text/XML/HaXml/Lex.hs:319:27: Warning:
    This binding for `s' shadows the existing binding
      bound at src/Text/XML/HaXml/Lex.hs:312:12

src/Text/XML/HaXml/Lex.hs:319:29: Warning:
    This binding for `ss' shadows the existing binding
      bound at src/Text/XML/HaXml/Lex.hs:312:14

src/Text/XML/HaXml/Lex.hs:319:33: Warning:
    This binding for `k' shadows the existing binding
      bound at src/Text/XML/HaXml/Lex.hs:312:22
[ 3 of 22] Compiling Text.XML.HaXml.DtdToHaskell.TypeDef ( src/Text/XML/HaXml/DtdToHaskell/TypeDef.hs, dist/build/DtdToHaskell/DtdToHaskell-tmp/Text/XML/HaXml/DtdToHaskell/TypeDef.o )

src/Text/XML/HaXml/DtdToHaskell/TypeDef.hs:195:1: Warning:
    Pattern match(es) are non-exhaustive
    In an equation for `mangle': Patterns not matched: []

src/Text/XML/HaXml/DtdToHaskell/TypeDef.hs:238:1: Warning:
    Pattern match(es) are non-exhaustive
    In an equation for `manglef': Patterns not matched: []
[ 4 of 22] Compiling Text.XML.HaXml.DtdToHaskell.Instance ( src/Text/XML/HaXml/DtdToHaskell/Instance.hs, dist/build/DtdToHaskell/DtdToHaskell-tmp/Text/XML/HaXml/DtdToHaskell/Instance.o )
[ 5 of 22] Compiling Text.XML.HaXml.Types ( src/Text/XML/HaXml/Types.hs, dist/build/DtdToHaskell/DtdToHaskell-tmp/Text/XML/HaXml/Types.o )

src/Text/XML/HaXml/Types.hs:285:17: Warning:
    Defined but not used: `p'

src/Text/XML/HaXml/Types.hs:285:19: Warning:
    Defined but not used: `n'

src/Text/XML/HaXml/Types.hs:285:25: Warning:
    Defined but not used: `m'

src/Text/XML/HaXml/Types.hs:286:16: Warning:
    Defined but not used: `n'

src/Text/XML/HaXml/Types.hs:286:26: Warning:
    Defined but not used: `q'

src/Text/XML/HaXml/Types.hs:286:28: Warning:
    Defined but not used: `m'
[ 6 of 22] Compiling Text.XML.HaXml.Namespaces ( src/Text/XML/HaXml/Namespaces.hs, dist/build/DtdToHaskell/DtdToHaskell-tmp/Text/XML/HaXml/Namespaces.o )

src/Text/XML/HaXml/Namespaces.hs:127:17: Warning:
    This binding for `qualify' shadows the existing binding
      defined at src/Text/XML/HaXml/Namespaces.hs:58:1

src/Text/XML/HaXml/Namespaces.hs:171:15: Warning:
    Pattern match(es) are non-exhaustive
    In an equation for `mkNamespace': Patterns not matched: (QN _ _, _)
[ 7 of 22] Compiling Text.XML.HaXml.Parse ( src/Text/XML/HaXml/Parse.hs, dist/build/DtdToHaskell/DtdToHaskell-tmp/Text/XML/HaXml/Parse.o )

src/Text/XML/HaXml/Parse.hs:34:1: Warning:
    The import of `Data.Maybe' is redundant
      except perhaps to import instances from `Data.Maybe'
    To import instances alone, use: import Data.Maybe()

src/Text/XML/HaXml/Parse.hs:37:1: Warning:
    The import of `Control.Monad' is redundant
      except perhaps to import instances from `Control.Monad'
    To import instances alone, use: import Control.Monad()

src/Text/XML/HaXml/Parse.hs:73:11: Warning:
    Defined but not used: `s'

src/Text/XML/HaXml/Parse.hs:101:11: Warning:
    This binding for `name' shadows the existing binding
      defined at src/Text/XML/HaXml/Parse.hs:186:1

src/Text/XML/HaXml/Parse.hs:102:11: Warning:
    This binding for `name' shadows the existing binding
      defined at src/Text/XML/HaXml/Parse.hs:186:1

src/Text/XML/HaXml/Parse.hs:104:11: Warning:
    This binding for `name' shadows the existing binding
      defined at src/Text/XML/HaXml/Parse.hs:186:1

src/Text/XML/HaXml/Parse.hs:105:11: Warning:
    This binding for `name' shadows the existing binding
      defined at src/Text/XML/HaXml/Parse.hs:186:1

src/Text/XML/HaXml/Parse.hs:161:10: Warning:
    A do-notation statement discarded a result of type bra.
    Suppress this warning by saying "_ <- adjustErr
                                            open
                                            ( \ x_ -> (++)
                                                 "Missing opening bracket:\
                                                 \\t" x_ ))",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:186:14: Warning:
    This binding for `tok' shadows the existing binding
      defined at src/Text/XML/HaXml/Parse.hs:170:1

src/Text/XML/HaXml/Parse.hs:233:8: Warning:
    This binding for `fail' shadows the existing binding
      imported from `Control.Monad' at src/Text/XML/HaXml/Parse.hs:37:1-38
      (and originally defined in `GHC.Base')

src/Text/XML/HaXml/Parse.hs:247:35: Warning:
    This binding for `ev' shadows the existing binding
      defined at src/Text/XML/HaXml/Parse.hs:869:1

src/Text/XML/HaXml/Parse.hs:276:35: Warning:
    This binding for `ev' shadows the existing binding
      defined at src/Text/XML/HaXml/Parse.hs:869:1

src/Text/XML/HaXml/Parse.hs:320:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            Text.XML.HaXml.Lex.TokPIOpen",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:324:7: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- onFail
                                            tok Text.XML.HaXml.Lex.TokPIClose
                                            failP ((++) "missing ?> in <?" n)",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:329:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            Text.XML.HaXml.Lex.TokSectionOpen",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:342:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            Text.XML.HaXml.Lex.TokPIOpen",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:346:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- onFail
                                            tok Text.XML.HaXml.Lex.TokPIClose
                                            failBadP "missing ?> in <?xml ...?>"",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:360:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            Text.XML.HaXml.Lex.TokEqual",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:372:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            Text.XML.HaXml.Lex.TokSpecialOpen",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:373:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            (Text.XML.HaXml.Lex.TokSpecial
                                               Text.XML.HaXml.Lex.DOCTYPEx)",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:379:7: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- onFail
                                            blank (tok Text.XML.HaXml.Lex.TokAnyClose)
                                            failP "missing > in DOCTYPE decl"",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:410:7: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- onFail
                                            tok Text.XML.HaXml.Lex.TokEqual
                                            failP "missing = in 'standalone' decl"",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:437:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            Text.XML.HaXml.Lex.TokAnyOpen",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:439:10: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            Text.XML.HaXml.Lex.TokEndClose",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:442:10: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            Text.XML.HaXml.Lex.TokAnyClose",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:468:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            Text.XML.HaXml.Lex.TokAnyOpen",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:470:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            Text.XML.HaXml.Lex.TokAnyClose",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:477:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            Text.XML.HaXml.Lex.TokEndOpen",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:480:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            Text.XML.HaXml.Lex.TokAnyClose",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:486:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- onFail
                                            tok Text.XML.HaXml.Lex.TokEqual
                                            failBadP "missing = in attribute"",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:509:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            Text.XML.HaXml.Lex.TokSpecialOpen",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:510:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            (Text.XML.HaXml.Lex.TokSpecial
                                               Text.XML.HaXml.Lex.ELEMENTx)",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:515:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- onFail
                                            blank (tok Text.XML.HaXml.Lex.TokAnyClose)
                                            failBadP
                                              ((++)
                                                 "expected > terminating ELEMENT decl"
                                                 (++)
                                                   "\
                                                   \    element name was "
                                                   (++)
                                                     show (printableName n)
                                                     (++)
                                                       "\
                                                       \    contentspec was "
                                                       \ (ContentSpec p) -> show p c)",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:581:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            Text.XML.HaXml.Lex.TokBraOpen",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:582:15: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            Text.XML.HaXml.Lex.TokHash",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:585:42: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            Text.XML.HaXml.Lex.TokPipe",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:587:20: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- blank
                                            ((>>)
                                               tok Text.XML.HaXml.Lex.TokBraClose
                                               tok Text.XML.HaXml.Lex.TokStar)",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:596:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            Text.XML.HaXml.Lex.TokSpecialOpen",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:597:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            (Text.XML.HaXml.Lex.TokSpecial
                                               Text.XML.HaXml.Lex.ATTLISTx)",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:600:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- onFail
                                            blank (tok Text.XML.HaXml.Lex.TokAnyClose)
                                            failBadP "missing > terminating ATTLIST"",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:669:12: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            Text.XML.HaXml.Lex.TokSectionOpen",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:670:12: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- peRef
                                            (tok
                                               (Text.XML.HaXml.Lex.TokSection
                                                  Text.XML.HaXml.Lex.INCLUDEx))",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:672:12: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- onFail
                                            tok Text.XML.HaXml.Lex.TokSqOpen
                                            failBadP "missing [ after INCLUDE"",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:674:12: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- onFail
                                            tok Text.XML.HaXml.Lex.TokSectionClose
                                            failBadP
                                              ((++)
                                                 "missing ]]> for INCLUDE section"
                                                 (++)
                                                   "\
                                                   \    begun at "
                                                   show p)",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:679:12: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            Text.XML.HaXml.Lex.TokSectionOpen",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:680:12: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- peRef
                                            (tok
                                               (Text.XML.HaXml.Lex.TokSection
                                                  Text.XML.HaXml.Lex.IGNOREx))",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:682:12: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- onFail
                                            tok Text.XML.HaXml.Lex.TokSqOpen
                                            failBadP "missing [ after IGNORE"",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:683:12: Warning:
    A do-notation statement discarded a result of type [Ignore].
    Suppress this warning by saying "_ <- many newIgnore",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:684:12: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- onFail
                                            tok Text.XML.HaXml.Lex.TokSectionClose
                                            failBadP
                                              ((++)
                                                 "missing ]]> for IGNORE section"
                                                 (++)
                                                   "\
                                                   \    begun at "
                                                   show p)",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:692:10: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            Text.XML.HaXml.Lex.TokSectionOpen",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:693:10: Warning:
    A do-notation statement discarded a result of type [Ignore].
    Suppress this warning by saying "_ <- debug
                                            many newIgnore "IGNORING conditional section"",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:694:10: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            Text.XML.HaXml.Lex.TokSectionClose",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:725:9: Warning:
    This binding for `name' shadows the existing binding
      defined at src/Text/XML/HaXml/Parse.hs:186:1

src/Text/XML/HaXml/Parse.hs:756:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            Text.XML.HaXml.Lex.TokSpecialOpen",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:757:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            (Text.XML.HaXml.Lex.TokSpecial
                                               Text.XML.HaXml.Lex.ENTITYx)",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:760:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- onFail
                                            tok Text.XML.HaXml.Lex.TokAnyClose
                                            failBadP
                                              ((++) "expected > terminating G ENTITY decl " n)",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:766:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            Text.XML.HaXml.Lex.TokSpecialOpen",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:767:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            (Text.XML.HaXml.Lex.TokSpecial
                                               Text.XML.HaXml.Lex.ENTITYx)",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:768:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            Text.XML.HaXml.Lex.TokPercent",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:771:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- onFail
                                            tok Text.XML.HaXml.Lex.TokAnyClose
                                            failBadP
                                              ((++) "expected > terminating P ENTITY decl " n)",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:809:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            Text.XML.HaXml.Lex.TokPIOpen",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:813:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- onFail
                                            tok Text.XML.HaXml.Lex.TokPIClose
                                            failP "expected ?> terminating text decl"",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:831:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- onFail
                                            tok Text.XML.HaXml.Lex.TokEqual
                                            failBadP "expected = in 'encoding' decl"",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:837:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            Text.XML.HaXml.Lex.TokSpecialOpen",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:838:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            (Text.XML.HaXml.Lex.TokSpecial
                                               Text.XML.HaXml.Lex.NOTATIONx)",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:841:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- onFail
                                            tok Text.XML.HaXml.Lex.TokAnyClose
                                            failBadP
                                              ((++) "expected > terminating NOTATION decl " n)",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:853:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            Text.XML.HaXml.Lex.TokQuote",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:856:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- onFail
                                            tok Text.XML.HaXml.Lex.TokQuote
                                            failBadP "expected quote to terminate entityvalue"",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:865:39: Warning:
    This binding for `ev' shadows the existing binding
      defined at src/Text/XML/HaXml/Parse.hs:869:1

src/Text/XML/HaXml/Parse.hs:566:10: Warning:
    Orphan instance: instance Show CP

src/Text/XML/HaXml/Parse.hs:572:10: Warning:
    Orphan instance: instance Show Modifier
[ 8 of 22] Compiling Text.XML.HaXml.DtdToHaskell.Convert ( src/Text/XML/HaXml/DtdToHaskell/Convert.hs, dist/build/DtdToHaskell/DtdToHaskell-tmp/Text/XML/HaXml/DtdToHaskell/Convert.o )

src/Text/XML/HaXml/DtdToHaskell/Convert.hs:54:1: Warning:
    Pattern match(es) are non-exhaustive
    In an equation for `convert': Patterns not matched: (QN _ _, _)

src/Text/XML/HaXml/DtdToHaskell/Convert.hs:62:62: Warning:
    This binding for `n' shadows the existing binding
      bound at src/Text/XML/HaXml/DtdToHaskell/Convert.hs:54:12

src/Text/XML/HaXml/DtdToHaskell/Convert.hs:65:11: Warning:
    Pattern match(es) are non-exhaustive
    In a case alternative: Patterns not matched: TagName (QN _ _) _

src/Text/XML/HaXml/DtdToHaskell/Convert.hs:81:5: Warning:
    Pattern match(es) are non-exhaustive
    In an equation for `inner':
        Patterns not matched: TagName (QN _ _) _

src/Text/XML/HaXml/DtdToHaskell/Convert.hs:98:5: Warning:
    Pattern match(es) are non-exhaustive
    In an equation for `flatten': Patterns not matched: Defaultable _ _

src/Text/XML/HaXml/DtdToHaskell/Convert.hs:111:1: Warning:
    Pattern match(es) are non-exhaustive
    In an equation for `mkAttrDef':
        Patterns not matched:
            (QN _ _) (AttDef _ (EnumeratedType _) _)
            (N _) (AttDef (QN _ _) (EnumeratedType _) _)

src/Text/XML/HaXml/DtdToHaskell/Convert.hs:122:1: Warning:
    Pattern match(es) are non-exhaustive
    In an equation for `mkAttrField':
        Patterns not matched:
            (QN _ _) _
            (N _) (AttDef (QN _ _) _ _)
[ 9 of 22] Compiling Text.XML.HaXml.ByteStringPP ( src/Text/XML/HaXml/ByteStringPP.hs, dist/build/DtdToHaskell/DtdToHaskell-tmp/Text/XML/HaXml/ByteStringPP.o )

src/Text/XML/HaXml/ByteStringPP.hs:24:1: Warning:
    The import of `Data.Maybe' is redundant
      except perhaps to import instances from `Data.Maybe'
    To import instances alone, use: import Data.Maybe()

src/Text/XML/HaXml/ByteStringPP.hs:334:1: Warning:
    Top-level binding with no type signature:
      qname :: QName -> ByteString
[10 of 22] Compiling Text.XML.HaXml.Combinators ( src/Text/XML/HaXml/Combinators.hs, dist/build/DtdToHaskell/DtdToHaskell-tmp/Text/XML/HaXml/Combinators.o )

src/Text/XML/HaXml/Combinators.hs:79:9: Warning:
    This binding for `x' shadows the existing binding
      defined at src/Text/XML/HaXml/Combinators.hs:350:3

src/Text/XML/HaXml/Combinators.hs:81:9: Warning:
    This binding for `x' shadows the existing binding
      defined at src/Text/XML/HaXml/Combinators.hs:350:3

src/Text/XML/HaXml/Combinators.hs:81:9: Warning:
    Defined but not used: `x'

src/Text/XML/HaXml/Combinators.hs:110:5: Warning:
    This binding for `x' shadows the existing binding
      defined at src/Text/XML/HaXml/Combinators.hs:350:3

src/Text/XML/HaXml/Combinators.hs:113:5: Warning:
    This binding for `x' shadows the existing binding
      defined at src/Text/XML/HaXml/Combinators.hs:350:3

src/Text/XML/HaXml/Combinators.hs:114:5: Warning:
    This binding for `x' shadows the existing binding
      defined at src/Text/XML/HaXml/Combinators.hs:350:3

src/Text/XML/HaXml/Combinators.hs:117:7: Warning:
    This binding for `x' shadows the existing binding
      defined at src/Text/XML/HaXml/Combinators.hs:350:3

src/Text/XML/HaXml/Combinators.hs:120:11: Warning:
    This binding for `x' shadows the existing binding
      defined at src/Text/XML/HaXml/Combinators.hs:350:3

src/Text/XML/HaXml/Combinators.hs:123:8: Warning:
    This binding for `x' shadows the existing binding
      defined at src/Text/XML/HaXml/Combinators.hs:350:3

src/Text/XML/HaXml/Combinators.hs:126:12: Warning:
    This binding for `x' shadows the existing binding
      defined at src/Text/XML/HaXml/Combinators.hs:350:3

src/Text/XML/HaXml/Combinators.hs:137:1: Warning:
    Pattern match(es) are non-exhaustive
    In an equation for `find':
        Patterns not matched:
            _ _ (CString _ _ _)
            _ _ (CRef _ _)
            _ _ (CMisc _ _)

src/Text/XML/HaXml/Combinators.hs:138:17: Warning:
    This binding for `x' shadows the existing binding
      defined at src/Text/XML/HaXml/Combinators.hs:350:3

src/Text/XML/HaXml/Combinators.hs:189:19: Warning:
    This binding for `x' shadows the existing binding
      defined at src/Text/XML/HaXml/Combinators.hs:350:3

src/Text/XML/HaXml/Combinators.hs:203:16: Warning:
    This binding for `x' shadows the existing binding
      defined at src/Text/XML/HaXml/Combinators.hs:350:3

src/Text/XML/HaXml/Combinators.hs:212:12: Warning:
    This binding for `x' shadows the existing binding
      defined at src/Text/XML/HaXml/Combinators.hs:350:3

src/Text/XML/HaXml/Combinators.hs:301:9: Warning:
    This binding for `attr' shadows the existing binding
      defined at src/Text/XML/HaXml/Combinators.hs:123:1

src/Text/XML/HaXml/Combinators.hs:321:24: Warning:
    This binding for `n' shadows the existing binding
      bound at src/Text/XML/HaXml/Combinators.hs:320:30
[11 of 22] Compiling Text.XML.HaXml.Escape ( src/Text/XML/HaXml/Escape.hs, dist/build/DtdToHaskell/DtdToHaskell-tmp/Text/XML/HaXml/Escape.o )
[12 of 22] Compiling Text.XML.HaXml.Html.Generate ( src/Text/XML/HaXml/Html/Generate.hs, dist/build/DtdToHaskell/DtdToHaskell-tmp/Text/XML/HaXml/Html/Generate.o )
[13 of 22] Compiling Text.XML.HaXml.Html.Parse ( src/Text/XML/HaXml/Html/Parse.hs, dist/build/DtdToHaskell/DtdToHaskell-tmp/Text/XML/HaXml/Html/Parse.o )

src/Text/XML/HaXml/Html/Parse.hs:17:1: Warning:
    The import of `Data.Maybe' is redundant
      except perhaps to import instances from `Data.Maybe'
    To import instances alone, use: import Data.Maybe()

src/Text/XML/HaXml/Html/Parse.hs:20:1: Warning:
    The import of `Control.Monad' is redundant
      except perhaps to import instances from `Control.Monad'
    To import instances alone, use: import Control.Monad()

src/Text/XML/HaXml/Html/Parse.hs:74:41: Warning:
    This binding for `avs' shadows the existing binding
      bound at src/Text/XML/HaXml/Html/Parse.hs:63:33

src/Text/XML/HaXml/Html/Parse.hs:74:45: Warning:
    This binding for `cs' shadows the existing binding
      bound at src/Text/XML/HaXml/Html/Parse.hs:63:37

src/Text/XML/HaXml/Html/Parse.hs:143:14: Warning:
    This binding for `tok' shadows the existing binding
      defined at src/Text/XML/HaXml/Html/Parse.hs:133:1

src/Text/XML/HaXml/Html/Parse.hs:190:8: Warning:
    This binding for `fail' shadows the existing binding
      imported from `Control.Monad' at src/Text/XML/HaXml/Html/Parse.hs:20:1-20
      (and originally defined in `GHC.Base')

src/Text/XML/HaXml/Html/Parse.hs:216:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            Text.XML.HaXml.Lex.TokPIOpen",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Html/Parse.hs:220:7: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- onFail
                                            (onFail
                                               tok Text.XML.HaXml.Lex.TokPIClose
                                               tok Text.XML.HaXml.Lex.TokAnyClose)
                                            failP "missing ?> or >"",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Html/Parse.hs:225:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            Text.XML.HaXml.Lex.TokSectionOpen",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Html/Parse.hs:238:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            Text.XML.HaXml.Lex.TokPIOpen",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Html/Parse.hs:242:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- onFail
                                            tok Text.XML.HaXml.Lex.TokPIClose
                                            failBadP "missing ?> in <?xml ...?>"",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Html/Parse.hs:254:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            Text.XML.HaXml.Lex.TokEqual",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Html/Parse.hs:269:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            Text.XML.HaXml.Lex.TokSpecialOpen",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Html/Parse.hs:270:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            (Text.XML.HaXml.Lex.TokSpecial
                                               Text.XML.HaXml.Lex.DOCTYPEx)",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Html/Parse.hs:275:7: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- onFail
                                            tok Text.XML.HaXml.Lex.TokAnyClose
                                            failP "missing > in DOCTYPE decl"",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Html/Parse.hs:304:7: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- onFail
                                            tok Text.XML.HaXml.Lex.TokEqual
                                            failP "missing = in 'standalone' decl"",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Html/Parse.hs:322:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            Text.XML.HaXml.Lex.TokAnyOpen",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Html/Parse.hs:332:15: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            Text.XML.HaXml.Lex.TokEndClose",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Html/Parse.hs:342:15: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            Text.XML.HaXml.Lex.TokAnyClose",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Html/Parse.hs:346:15: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            Text.XML.HaXml.Lex.TokEndClose",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Html/Parse.hs:349:15: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- onFail
                                            tok Text.XML.HaXml.Lex.TokAnyClose
                                            failP "missing > or /> in element tag"",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Html/Parse.hs:356:15: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- commit
                                            (tok Text.XML.HaXml.Lex.TokAnyClose)",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Html/Parse.hs:409:14: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            Text.XML.HaXml.Lex.TokEqual",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Html/Parse.hs:670:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- onFail
                                            tok Text.XML.HaXml.Lex.TokEqual
                                            failBadP "expected = in 'encoding' decl"",
    or by using the flag -fno-warn-unused-do-bind
[14 of 22] Compiling Text.XML.HaXml.Pretty ( src/Text/XML/HaXml/Pretty.hs, dist/build/DtdToHaskell/DtdToHaskell-tmp/Text/XML/HaXml/Pretty.o )

src/Text/XML/HaXml/Pretty.hs:25:1: Warning:
    The import of `Data.Maybe' is redundant
      except perhaps to import instances from `Data.Maybe'
    To import instances alone, use: import Data.Maybe()

src/Text/XML/HaXml/Pretty.hs:276:1: Warning:
    Top-level binding with no type signature: qname :: QName -> Doc
[15 of 22] Compiling Text.XML.HaXml.TypeMapping ( src/Text/XML/HaXml/TypeMapping.hs, dist/build/DtdToHaskell/DtdToHaskell-tmp/Text/XML/HaXml/TypeMapping.o )

src/Text/XML/HaXml/TypeMapping.hs:208:14: Warning:
    This binding for `ht' shadows the existing binding
      bound at src/Text/XML/HaXml/TypeMapping.hs:201:7

src/Text/XML/HaXml/TypeMapping.hs:209:14: Warning:
    This binding for `ht' shadows the existing binding
      bound at src/Text/XML/HaXml/TypeMapping.hs:201:7

src/Text/XML/HaXml/TypeMapping.hs:214:29: Warning:
    This binding for `ht' shadows the existing binding
      bound at src/Text/XML/HaXml/TypeMapping.hs:201:7

src/Text/XML/HaXml/TypeMapping.hs:228:14: Warning:
    This binding for `ht' shadows the existing binding
      bound at src/Text/XML/HaXml/TypeMapping.hs:201:7

src/Text/XML/HaXml/TypeMapping.hs:231:17: Warning:
    This binding for `ht' shadows the existing binding
      bound at src/Text/XML/HaXml/TypeMapping.hs:201:7

src/Text/XML/HaXml/TypeMapping.hs:234:5: Warning:
    Pattern match(es) are non-exhaustive
    In an equation for `declmacro':
        Patterns not matched:
            (Maybe _) _
            (List _) _
            (Tuple _) _
            (Prim _ _) _
            ...

src/Text/XML/HaXml/TypeMapping.hs:234:15: Warning:
    This binding for `ht' shadows the existing binding
      bound at src/Text/XML/HaXml/TypeMapping.hs:201:7

src/Text/XML/HaXml/TypeMapping.hs:238:32: Warning:
    Defined but not used: `s'

src/Text/XML/HaXml/TypeMapping.hs:238:34: Warning:
    Defined but not used: `fv'

src/Text/XML/HaXml/TypeMapping.hs:238:37: Warning:
    Defined but not used: `hts'

src/Text/XML/HaXml/TypeMapping.hs:242:5: Warning:
    Pattern match(es) are non-exhaustive
    In an equation for `declprim':
        Patterns not matched:
            Maybe _
            List _
            Tuple _
            String
            ...

src/Text/XML/HaXml/TypeMapping.hs:250:1: Warning:
    Pattern match(es) are non-exhaustive
    In an equation for `?': Patterns not matched: _ _
[16 of 22] Compiling Text.XML.HaXml.Verbatim ( src/Text/XML/HaXml/Verbatim.hs, dist/build/DtdToHaskell/DtdToHaskell-tmp/Text/XML/HaXml/Verbatim.o )
[17 of 22] Compiling Text.XML.HaXml.Wrappers ( src/Text/XML/HaXml/Wrappers.hs, dist/build/DtdToHaskell/DtdToHaskell-tmp/Text/XML/HaXml/Wrappers.o )

src/Text/XML/HaXml/Wrappers.hs:69:5: Warning:
    This binding for `onContent' shadows the existing binding
      defined at src/Text/XML/HaXml/Wrappers.hs:79:1
[18 of 22] Compiling Text.XML.HaXml.XmlContent.Parser ( src/Text/XML/HaXml/XmlContent/Parser.hs, dist/build/DtdToHaskell/DtdToHaskell-tmp/Text/XML/HaXml/XmlContent/Parser.o )

src/Text/XML/HaXml/XmlContent/Parser.hs:97:1: Warning:
    Pattern match(es) are non-exhaustive
    In an equation for `attval':
        Patterns not matched:
            Elem _ [] _
            Elem _ ((_, AttValue _) : (_ : _)) _
            Elem _ [(_, AttValue _)] (_ : _)

src/Text/XML/HaXml/XmlContent/Parser.hs:613:9: Warning:
    Pattern match(es) are non-exhaustive
    In an equation for `g':
        Patterns not matched:
            ghc-prim:GHC.Types.C# #x
            with
            #x `notElem` ['"', '&', '<', '>', '\'']
[19 of 22] Compiling Text.XML.HaXml.XmlContent ( src/Text/XML/HaXml/XmlContent.hs, dist/build/DtdToHaskell/DtdToHaskell-tmp/Text/XML/HaXml/XmlContent.o )

src/Text/XML/HaXml/XmlContent.hs:113:16: Warning:
    Pattern match(es) are non-exhaustive
    In a case alternative:
        Patterns not matched:
            (CString _ _ _) : _
            (CRef _ _) : _
            (CMisc _ _) : _

src/Text/XML/HaXml/XmlContent.hs:152:10: Warning:
    Orphan instance: instance XmlContent Char

src/Text/XML/HaXml/XmlContent.hs:162:10: Warning:
    Orphan instance: instance XmlContent a => XmlContent [a]

src/Text/XML/HaXml/XmlContent.hs:176:10: Warning:
    Orphan instance: instance XmlContent a => XmlContent (Maybe a)
[20 of 22] Compiling Text.XML.HaXml.Validate ( src/Text/XML/HaXml/Validate.hs, dist/build/DtdToHaskell/DtdToHaskell-tmp/Text/XML/HaXml/Validate.o )

src/Text/XML/HaXml/Validate.hs:228:32: Warning:
    This binding for `cps' shadows the existing binding
      bound at src/Text/XML/HaXml/Validate.hs:224:19

src/Text/XML/HaXml/Validate.hs:229:29: Warning:
    This binding for `cps' shadows the existing binding
      bound at src/Text/XML/HaXml/Validate.hs:224:19

src/Text/XML/HaXml/Validate.hs:231:32: Warning:
    This binding for `cps' shadows the existing binding
      bound at src/Text/XML/HaXml/Validate.hs:224:19

src/Text/XML/HaXml/Validate.hs:232:29: Warning:
    This binding for `cps' shadows the existing binding
      bound at src/Text/XML/HaXml/Validate.hs:224:19

src/Text/XML/HaXml/Validate.hs:235:33: Warning:
    This binding for `cps' shadows the existing binding
      bound at src/Text/XML/HaXml/Validate.hs:224:19

src/Text/XML/HaXml/Validate.hs:237:30: Warning:
    This binding for `cps' shadows the existing binding
      bound at src/Text/XML/HaXml/Validate.hs:224:19

src/Text/XML/HaXml/Validate.hs:240:21: Warning:
    This binding for `ns' shadows the existing binding
      bound at src/Text/XML/HaXml/Validate.hs:239:18
[21 of 22] Compiling Text.XML.HaXml   ( src/Text/XML/HaXml.hs, dist/build/DtdToHaskell/DtdToHaskell-tmp/Text/XML/HaXml.o )
[22 of 22] Compiling Main             ( src/tools/DtdToHaskell.hs, dist/build/DtdToHaskell/DtdToHaskell-tmp/Main.o )

src/tools/DtdToHaskell.hs:12:1: Warning:
    The import of `takeWhile, dropWhile'
    from module `Data.List' is redundant

src/tools/DtdToHaskell.hs:20:1: Warning:
    The import of `TypeDef'
    from module `Text.XML.HaXml.DtdToHaskell.TypeDef' is redundant
Linking dist/build/DtdToHaskell/DtdToHaskell ...
Preprocessing executable 'XsdToHaskell' for HaXml-1.22.1...
[ 1 of 27] Compiling Text.XML.HaXml.Posn ( src/Text/XML/HaXml/Posn.hs, dist/build/XsdToHaskell/XsdToHaskell-tmp/Text/XML/HaXml/Posn.o )
[ 2 of 27] Compiling Text.XML.HaXml.Lex ( src/Text/XML/HaXml/Lex.hs, dist/build/XsdToHaskell/XsdToHaskell-tmp/Text/XML/HaXml/Lex.o )

src/Text/XML/HaXml/Lex.hs:205:18: Warning:
    This binding for `lookup' shadows the existing binding
      imported from `Prelude' at src/Text/XML/HaXml/Lex.hs:16:8-25
      (and originally defined in `GHC.List')

src/Text/XML/HaXml/Lex.hs:316:24: Warning:
    This binding for `p' shadows the existing binding
      bound at src/Text/XML/HaXml/Lex.hs:312:9

src/Text/XML/HaXml/Lex.hs:316:29: Warning:
    This binding for `k' shadows the existing binding
      bound at src/Text/XML/HaXml/Lex.hs:312:22

src/Text/XML/HaXml/Lex.hs:319:24: Warning:
    This binding for `p' shadows the existing binding
      bound at src/Text/XML/HaXml/Lex.hs:312:9

src/Text/XML/HaXml/Lex.hs:319:27: Warning:
    This binding for `s' shadows the existing binding
      bound at src/Text/XML/HaXml/Lex.hs:312:12

src/Text/XML/HaXml/Lex.hs:319:29: Warning:
    This binding for `ss' shadows the existing binding
      bound at src/Text/XML/HaXml/Lex.hs:312:14

src/Text/XML/HaXml/Lex.hs:319:33: Warning:
    This binding for `k' shadows the existing binding
      bound at src/Text/XML/HaXml/Lex.hs:312:22
[ 3 of 27] Compiling Text.XML.HaXml.Types ( src/Text/XML/HaXml/Types.hs, dist/build/XsdToHaskell/XsdToHaskell-tmp/Text/XML/HaXml/Types.o )

src/Text/XML/HaXml/Types.hs:285:17: Warning:
    Defined but not used: `p'

src/Text/XML/HaXml/Types.hs:285:19: Warning:
    Defined but not used: `n'

src/Text/XML/HaXml/Types.hs:285:25: Warning:
    Defined but not used: `m'

src/Text/XML/HaXml/Types.hs:286:16: Warning:
    Defined but not used: `n'

src/Text/XML/HaXml/Types.hs:286:26: Warning:
    Defined but not used: `q'

src/Text/XML/HaXml/Types.hs:286:28: Warning:
    Defined but not used: `m'
[ 4 of 27] Compiling Text.XML.HaXml.Namespaces ( src/Text/XML/HaXml/Namespaces.hs, dist/build/XsdToHaskell/XsdToHaskell-tmp/Text/XML/HaXml/Namespaces.o )

src/Text/XML/HaXml/Namespaces.hs:127:17: Warning:
    This binding for `qualify' shadows the existing binding
      defined at src/Text/XML/HaXml/Namespaces.hs:58:1

src/Text/XML/HaXml/Namespaces.hs:171:15: Warning:
    Pattern match(es) are non-exhaustive
    In an equation for `mkNamespace': Patterns not matched: (QN _ _, _)
[ 5 of 27] Compiling Text.XML.HaXml.Parse ( src/Text/XML/HaXml/Parse.hs, dist/build/XsdToHaskell/XsdToHaskell-tmp/Text/XML/HaXml/Parse.o )

src/Text/XML/HaXml/Parse.hs:34:1: Warning:
    The import of `Data.Maybe' is redundant
      except perhaps to import instances from `Data.Maybe'
    To import instances alone, use: import Data.Maybe()

src/Text/XML/HaXml/Parse.hs:37:1: Warning:
    The import of `Control.Monad' is redundant
      except perhaps to import instances from `Control.Monad'
    To import instances alone, use: import Control.Monad()

src/Text/XML/HaXml/Parse.hs:73:11: Warning:
    Defined but not used: `s'

src/Text/XML/HaXml/Parse.hs:101:11: Warning:
    This binding for `name' shadows the existing binding
      defined at src/Text/XML/HaXml/Parse.hs:186:1

src/Text/XML/HaXml/Parse.hs:102:11: Warning:
    This binding for `name' shadows the existing binding
      defined at src/Text/XML/HaXml/Parse.hs:186:1

src/Text/XML/HaXml/Parse.hs:104:11: Warning:
    This binding for `name' shadows the existing binding
      defined at src/Text/XML/HaXml/Parse.hs:186:1

src/Text/XML/HaXml/Parse.hs:105:11: Warning:
    This binding for `name' shadows the existing binding
      defined at src/Text/XML/HaXml/Parse.hs:186:1

src/Text/XML/HaXml/Parse.hs:161:10: Warning:
    A do-notation statement discarded a result of type bra.
    Suppress this warning by saying "_ <- adjustErr
                                            open
                                            ( \ x_ -> (++)
                                                 "Missing opening bracket:\
                                                 \\t" x_ ))",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:186:14: Warning:
    This binding for `tok' shadows the existing binding
      defined at src/Text/XML/HaXml/Parse.hs:170:1

src/Text/XML/HaXml/Parse.hs:233:8: Warning:
    This binding for `fail' shadows the existing binding
      imported from `Control.Monad' at src/Text/XML/HaXml/Parse.hs:37:1-38
      (and originally defined in `GHC.Base')

src/Text/XML/HaXml/Parse.hs:247:35: Warning:
    This binding for `ev' shadows the existing binding
      defined at src/Text/XML/HaXml/Parse.hs:869:1

src/Text/XML/HaXml/Parse.hs:276:35: Warning:
    This binding for `ev' shadows the existing binding
      defined at src/Text/XML/HaXml/Parse.hs:869:1

src/Text/XML/HaXml/Parse.hs:320:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            Text.XML.HaXml.Lex.TokPIOpen",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:324:7: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- onFail
                                            tok Text.XML.HaXml.Lex.TokPIClose
                                            failP ((++) "missing ?> in <?" n)",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:329:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            Text.XML.HaXml.Lex.TokSectionOpen",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:342:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            Text.XML.HaXml.Lex.TokPIOpen",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:346:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- onFail
                                            tok Text.XML.HaXml.Lex.TokPIClose
                                            failBadP "missing ?> in <?xml ...?>"",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:360:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            Text.XML.HaXml.Lex.TokEqual",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:372:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            Text.XML.HaXml.Lex.TokSpecialOpen",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:373:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            (Text.XML.HaXml.Lex.TokSpecial
                                               Text.XML.HaXml.Lex.DOCTYPEx)",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:379:7: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- onFail
                                            blank (tok Text.XML.HaXml.Lex.TokAnyClose)
                                            failP "missing > in DOCTYPE decl"",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:410:7: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- onFail
                                            tok Text.XML.HaXml.Lex.TokEqual
                                            failP "missing = in 'standalone' decl"",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:437:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            Text.XML.HaXml.Lex.TokAnyOpen",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:439:10: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            Text.XML.HaXml.Lex.TokEndClose",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:442:10: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            Text.XML.HaXml.Lex.TokAnyClose",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:468:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            Text.XML.HaXml.Lex.TokAnyOpen",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:470:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            Text.XML.HaXml.Lex.TokAnyClose",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:477:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            Text.XML.HaXml.Lex.TokEndOpen",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:480:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            Text.XML.HaXml.Lex.TokAnyClose",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:486:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- onFail
                                            tok Text.XML.HaXml.Lex.TokEqual
                                            failBadP "missing = in attribute"",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:509:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            Text.XML.HaXml.Lex.TokSpecialOpen",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:510:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            (Text.XML.HaXml.Lex.TokSpecial
                                               Text.XML.HaXml.Lex.ELEMENTx)",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:515:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- onFail
                                            blank (tok Text.XML.HaXml.Lex.TokAnyClose)
                                            failBadP
                                              ((++)
                                                 "expected > terminating ELEMENT decl"
                                                 (++)
                                                   "\
                                                   \    element name was "
                                                   (++)
                                                     show (printableName n)
                                                     (++)
                                                       "\
                                                       \    contentspec was "
                                                       \ (ContentSpec p) -> show p c)",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:581:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            Text.XML.HaXml.Lex.TokBraOpen",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:582:15: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            Text.XML.HaXml.Lex.TokHash",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:585:42: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            Text.XML.HaXml.Lex.TokPipe",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:587:20: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- blank
                                            ((>>)
                                               tok Text.XML.HaXml.Lex.TokBraClose
                                               tok Text.XML.HaXml.Lex.TokStar)",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:596:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            Text.XML.HaXml.Lex.TokSpecialOpen",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:597:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            (Text.XML.HaXml.Lex.TokSpecial
                                               Text.XML.HaXml.Lex.ATTLISTx)",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:600:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- onFail
                                            blank (tok Text.XML.HaXml.Lex.TokAnyClose)
                                            failBadP "missing > terminating ATTLIST"",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:669:12: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            Text.XML.HaXml.Lex.TokSectionOpen",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:670:12: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- peRef
                                            (tok
                                               (Text.XML.HaXml.Lex.TokSection
                                                  Text.XML.HaXml.Lex.INCLUDEx))",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:672:12: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- onFail
                                            tok Text.XML.HaXml.Lex.TokSqOpen
                                            failBadP "missing [ after INCLUDE"",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:674:12: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- onFail
                                            tok Text.XML.HaXml.Lex.TokSectionClose
                                            failBadP
                                              ((++)
                                                 "missing ]]> for INCLUDE section"
                                                 (++)
                                                   "\
                                                   \    begun at "
                                                   show p)",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:679:12: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            Text.XML.HaXml.Lex.TokSectionOpen",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:680:12: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- peRef
                                            (tok
                                               (Text.XML.HaXml.Lex.TokSection
                                                  Text.XML.HaXml.Lex.IGNOREx))",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:682:12: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- onFail
                                            tok Text.XML.HaXml.Lex.TokSqOpen
                                            failBadP "missing [ after IGNORE"",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:683:12: Warning:
    A do-notation statement discarded a result of type [Ignore].
    Suppress this warning by saying "_ <- many newIgnore",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:684:12: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- onFail
                                            tok Text.XML.HaXml.Lex.TokSectionClose
                                            failBadP
                                              ((++)
                                                 "missing ]]> for IGNORE section"
                                                 (++)
                                                   "\
                                                   \    begun at "
                                                   show p)",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:692:10: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            Text.XML.HaXml.Lex.TokSectionOpen",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:693:10: Warning:
    A do-notation statement discarded a result of type [Ignore].
    Suppress this warning by saying "_ <- debug
                                            many newIgnore "IGNORING conditional section"",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:694:10: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            Text.XML.HaXml.Lex.TokSectionClose",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:725:9: Warning:
    This binding for `name' shadows the existing binding
      defined at src/Text/XML/HaXml/Parse.hs:186:1

src/Text/XML/HaXml/Parse.hs:756:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            Text.XML.HaXml.Lex.TokSpecialOpen",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:757:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            (Text.XML.HaXml.Lex.TokSpecial
                                               Text.XML.HaXml.Lex.ENTITYx)",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:760:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- onFail
                                            tok Text.XML.HaXml.Lex.TokAnyClose
                                            failBadP
                                              ((++) "expected > terminating G ENTITY decl " n)",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:766:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            Text.XML.HaXml.Lex.TokSpecialOpen",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:767:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            (Text.XML.HaXml.Lex.TokSpecial
                                               Text.XML.HaXml.Lex.ENTITYx)",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:768:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            Text.XML.HaXml.Lex.TokPercent",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:771:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- onFail
                                            tok Text.XML.HaXml.Lex.TokAnyClose
                                            failBadP
                                              ((++) "expected > terminating P ENTITY decl " n)",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:809:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            Text.XML.HaXml.Lex.TokPIOpen",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:813:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- onFail
                                            tok Text.XML.HaXml.Lex.TokPIClose
                                            failP "expected ?> terminating text decl"",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:831:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- onFail
                                            tok Text.XML.HaXml.Lex.TokEqual
                                            failBadP "expected = in 'encoding' decl"",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:837:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            Text.XML.HaXml.Lex.TokSpecialOpen",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:838:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            (Text.XML.HaXml.Lex.TokSpecial
                                               Text.XML.HaXml.Lex.NOTATIONx)",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:841:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- onFail
                                            tok Text.XML.HaXml.Lex.TokAnyClose
                                            failBadP
                                              ((++) "expected > terminating NOTATION decl " n)",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:853:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            Text.XML.HaXml.Lex.TokQuote",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:856:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- onFail
                                            tok Text.XML.HaXml.Lex.TokQuote
                                            failBadP "expected quote to terminate entityvalue"",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Parse.hs:865:39: Warning:
    This binding for `ev' shadows the existing binding
      defined at src/Text/XML/HaXml/Parse.hs:869:1

src/Text/XML/HaXml/Parse.hs:566:10: Warning:
    Orphan instance: instance Show CP

src/Text/XML/HaXml/Parse.hs:572:10: Warning:
    Orphan instance: instance Show Modifier
[ 6 of 27] Compiling Text.XML.HaXml.Schema.NameConversion ( src/Text/XML/HaXml/Schema/NameConversion.hs, dist/build/XsdToHaskell/XsdToHaskell-tmp/Text/XML/HaXml/Schema/NameConversion.o )

src/Text/XML/HaXml/Schema/NameConversion.hs:8:1: Warning:
    The import of `Text.XML.HaXml.Namespaces' is redundant
      except perhaps to import instances from `Text.XML.HaXml.Namespaces'
    To import instances alone, use: import Text.XML.HaXml.Namespaces()

src/Text/XML/HaXml/Schema/NameConversion.hs:62:5: Warning:
    Pattern match(es) are non-exhaustive
    In an equation for `mkConid':
        Patterns not matched:
            []
            _ : (_ : (_ : _))

src/Text/XML/HaXml/Schema/NameConversion.hs:66:5: Warning:
    Pattern match(es) are non-exhaustive
    In an equation for `mkVarid':
        Patterns not matched:
            []
            _ : (_ : (_ : _))

src/Text/XML/HaXml/Schema/NameConversion.hs:69:5: Warning:
    Pattern match(es) are non-exhaustive
    In an equation for `first': Patterns not matched: _ []

src/Text/XML/HaXml/Schema/NameConversion.hs:72:5: Warning:
    This binding for `last' shadows the existing binding
      imported from `Data.List' at src/Text/XML/HaXml/Schema/NameConversion.hs:11:1-16
      (and originally defined in `GHC.List')

src/Text/XML/HaXml/Schema/NameConversion.hs:72:5: Warning:
    Pattern match(es) are non-exhaustive
    In an equation for `last': Patterns not matched: _ []

src/Text/XML/HaXml/Schema/NameConversion.hs:115:5: Warning:
    Pattern match(es) are non-exhaustive
    In an equation for `cap': Patterns not matched: []

src/Text/XML/HaXml/Schema/NameConversion.hs:129:9: Warning:
    This binding for `pred' shadows the existing binding
      imported from `Prelude' at src/Text/XML/HaXml/Schema/NameConversion.hs:3:8-43
      (and originally defined in `GHC.Enum')

src/Text/XML/HaXml/Schema/NameConversion.hs:130:18: Warning:
    Defined but not used: `p'

src/Text/XML/HaXml/Schema/NameConversion.hs:131:18: Warning:
    Defined but not used: `p'

src/Text/XML/HaXml/Schema/NameConversion.hs:165:5: Warning:
    Pattern match(es) are non-exhaustive
    In an equation for `mkVarId': Patterns not matched: []

src/Text/XML/HaXml/Schema/NameConversion.hs:167:5: Warning:
    Pattern match(es) are non-exhaustive
    In an equation for `mkConId': Patterns not matched: []

src/Text/XML/HaXml/Schema/NameConversion.hs:199:36: Warning:
    Pattern match(es) are non-exhaustive
    In a case alternative: Patterns not matched: (_, [])

src/Text/XML/HaXml/Schema/NameConversion.hs:200:46: Warning:
    Defined but not used: `suf'
[ 7 of 27] Compiling Text.XML.HaXml.ByteStringPP ( src/Text/XML/HaXml/ByteStringPP.hs, dist/build/XsdToHaskell/XsdToHaskell-tmp/Text/XML/HaXml/ByteStringPP.o )

src/Text/XML/HaXml/ByteStringPP.hs:24:1: Warning:
    The import of `Data.Maybe' is redundant
      except perhaps to import instances from `Data.Maybe'
    To import instances alone, use: import Data.Maybe()

src/Text/XML/HaXml/ByteStringPP.hs:334:1: Warning:
    Top-level binding with no type signature:
      qname :: QName -> ByteString
[ 8 of 27] Compiling Text.XML.HaXml.Combinators ( src/Text/XML/HaXml/Combinators.hs, dist/build/XsdToHaskell/XsdToHaskell-tmp/Text/XML/HaXml/Combinators.o )

src/Text/XML/HaXml/Combinators.hs:79:9: Warning:
    This binding for `x' shadows the existing binding
      defined at src/Text/XML/HaXml/Combinators.hs:350:3

src/Text/XML/HaXml/Combinators.hs:81:9: Warning:
    This binding for `x' shadows the existing binding
      defined at src/Text/XML/HaXml/Combinators.hs:350:3

src/Text/XML/HaXml/Combinators.hs:81:9: Warning:
    Defined but not used: `x'

src/Text/XML/HaXml/Combinators.hs:110:5: Warning:
    This binding for `x' shadows the existing binding
      defined at src/Text/XML/HaXml/Combinators.hs:350:3

src/Text/XML/HaXml/Combinators.hs:113:5: Warning:
    This binding for `x' shadows the existing binding
      defined at src/Text/XML/HaXml/Combinators.hs:350:3

src/Text/XML/HaXml/Combinators.hs:114:5: Warning:
    This binding for `x' shadows the existing binding
      defined at src/Text/XML/HaXml/Combinators.hs:350:3

src/Text/XML/HaXml/Combinators.hs:117:7: Warning:
    This binding for `x' shadows the existing binding
      defined at src/Text/XML/HaXml/Combinators.hs:350:3

src/Text/XML/HaXml/Combinators.hs:120:11: Warning:
    This binding for `x' shadows the existing binding
      defined at src/Text/XML/HaXml/Combinators.hs:350:3

src/Text/XML/HaXml/Combinators.hs:123:8: Warning:
    This binding for `x' shadows the existing binding
      defined at src/Text/XML/HaXml/Combinators.hs:350:3

src/Text/XML/HaXml/Combinators.hs:126:12: Warning:
    This binding for `x' shadows the existing binding
      defined at src/Text/XML/HaXml/Combinators.hs:350:3

src/Text/XML/HaXml/Combinators.hs:137:1: Warning:
    Pattern match(es) are non-exhaustive
    In an equation for `find':
        Patterns not matched:
            _ _ (CString _ _ _)
            _ _ (CRef _ _)
            _ _ (CMisc _ _)

src/Text/XML/HaXml/Combinators.hs:138:17: Warning:
    This binding for `x' shadows the existing binding
      defined at src/Text/XML/HaXml/Combinators.hs:350:3

src/Text/XML/HaXml/Combinators.hs:189:19: Warning:
    This binding for `x' shadows the existing binding
      defined at src/Text/XML/HaXml/Combinators.hs:350:3

src/Text/XML/HaXml/Combinators.hs:203:16: Warning:
    This binding for `x' shadows the existing binding
      defined at src/Text/XML/HaXml/Combinators.hs:350:3

src/Text/XML/HaXml/Combinators.hs:212:12: Warning:
    This binding for `x' shadows the existing binding
      defined at src/Text/XML/HaXml/Combinators.hs:350:3

src/Text/XML/HaXml/Combinators.hs:301:9: Warning:
    This binding for `attr' shadows the existing binding
      defined at src/Text/XML/HaXml/Combinators.hs:123:1

src/Text/XML/HaXml/Combinators.hs:321:24: Warning:
    This binding for `n' shadows the existing binding
      bound at src/Text/XML/HaXml/Combinators.hs:320:30
[ 9 of 27] Compiling Text.XML.HaXml.Escape ( src/Text/XML/HaXml/Escape.hs, dist/build/XsdToHaskell/XsdToHaskell-tmp/Text/XML/HaXml/Escape.o )
[10 of 27] Compiling Text.XML.HaXml.Html.Generate ( src/Text/XML/HaXml/Html/Generate.hs, dist/build/XsdToHaskell/XsdToHaskell-tmp/Text/XML/HaXml/Html/Generate.o )
[11 of 27] Compiling Text.XML.HaXml.Html.Parse ( src/Text/XML/HaXml/Html/Parse.hs, dist/build/XsdToHaskell/XsdToHaskell-tmp/Text/XML/HaXml/Html/Parse.o )

src/Text/XML/HaXml/Html/Parse.hs:17:1: Warning:
    The import of `Data.Maybe' is redundant
      except perhaps to import instances from `Data.Maybe'
    To import instances alone, use: import Data.Maybe()

src/Text/XML/HaXml/Html/Parse.hs:20:1: Warning:
    The import of `Control.Monad' is redundant
      except perhaps to import instances from `Control.Monad'
    To import instances alone, use: import Control.Monad()

src/Text/XML/HaXml/Html/Parse.hs:74:41: Warning:
    This binding for `avs' shadows the existing binding
      bound at src/Text/XML/HaXml/Html/Parse.hs:63:33

src/Text/XML/HaXml/Html/Parse.hs:74:45: Warning:
    This binding for `cs' shadows the existing binding
      bound at src/Text/XML/HaXml/Html/Parse.hs:63:37

src/Text/XML/HaXml/Html/Parse.hs:143:14: Warning:
    This binding for `tok' shadows the existing binding
      defined at src/Text/XML/HaXml/Html/Parse.hs:133:1

src/Text/XML/HaXml/Html/Parse.hs:190:8: Warning:
    This binding for `fail' shadows the existing binding
      imported from `Control.Monad' at src/Text/XML/HaXml/Html/Parse.hs:20:1-20
      (and originally defined in `GHC.Base')

src/Text/XML/HaXml/Html/Parse.hs:216:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            Text.XML.HaXml.Lex.TokPIOpen",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Html/Parse.hs:220:7: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- onFail
                                            (onFail
                                               tok Text.XML.HaXml.Lex.TokPIClose
                                               tok Text.XML.HaXml.Lex.TokAnyClose)
                                            failP "missing ?> or >"",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Html/Parse.hs:225:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            Text.XML.HaXml.Lex.TokSectionOpen",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Html/Parse.hs:238:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            Text.XML.HaXml.Lex.TokPIOpen",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Html/Parse.hs:242:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- onFail
                                            tok Text.XML.HaXml.Lex.TokPIClose
                                            failBadP "missing ?> in <?xml ...?>"",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Html/Parse.hs:254:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            Text.XML.HaXml.Lex.TokEqual",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Html/Parse.hs:269:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            Text.XML.HaXml.Lex.TokSpecialOpen",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Html/Parse.hs:270:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            (Text.XML.HaXml.Lex.TokSpecial
                                               Text.XML.HaXml.Lex.DOCTYPEx)",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Html/Parse.hs:275:7: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- onFail
                                            tok Text.XML.HaXml.Lex.TokAnyClose
                                            failP "missing > in DOCTYPE decl"",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Html/Parse.hs:304:7: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- onFail
                                            tok Text.XML.HaXml.Lex.TokEqual
                                            failP "missing = in 'standalone' decl"",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Html/Parse.hs:322:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            Text.XML.HaXml.Lex.TokAnyOpen",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Html/Parse.hs:332:15: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            Text.XML.HaXml.Lex.TokEndClose",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Html/Parse.hs:342:15: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            Text.XML.HaXml.Lex.TokAnyClose",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Html/Parse.hs:346:15: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            Text.XML.HaXml.Lex.TokEndClose",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Html/Parse.hs:349:15: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- onFail
                                            tok Text.XML.HaXml.Lex.TokAnyClose
                                            failP "missing > or /> in element tag"",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Html/Parse.hs:356:15: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- commit
                                            (tok Text.XML.HaXml.Lex.TokAnyClose)",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Html/Parse.hs:409:14: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- tok
                                            Text.XML.HaXml.Lex.TokEqual",
    or by using the flag -fno-warn-unused-do-bind

src/Text/XML/HaXml/Html/Parse.hs:670:5: Warning:
    A do-notation statement discarded a result of type TokenT.
    Suppress this warning by saying "_ <- onFail
                                            tok Text.XML.HaXml.Lex.TokEqual
                                            failBadP "expected = in 'encoding' decl"",
    or by using the flag -fno-warn-unused-do-bind
[12 of 27] Compiling Text.XML.HaXml.Pretty ( src/Text/XML/HaXml/Pretty.hs, dist/build/XsdToHaskell/XsdToHaskell-tmp/Text/XML/HaXml/Pretty.o )

src/Text/XML/HaXml/Pretty.hs:25:1: Warning:
    The import of `Data.Maybe' is redundant
      except perhaps to import instances from `Data.Maybe'
    To import instances alone, use: import Data.Maybe()

src/Text/XML/HaXml/Pretty.hs:276:1: Warning:
    Top-level binding with no type signature: qname :: QName -> Doc
[13 of 27] Compiling Text.XML.HaXml.Schema.XSDTypeModel ( src/Text/XML/HaXml/Schema/XSDTypeModel.hs, dist/build/XsdToHaskell/XsdToHaskell-tmp/Text/XML/HaXml/Schema/XSDTypeModel.o )
[14 of 27] Compiling Text.XML.HaXml.TypeMapping ( src/Text/XML/HaXml/TypeMapping.hs, dist/build/XsdToHaskell/XsdToHaskell-tmp/Text/XML/HaXml/TypeMapping.o )

src/Text/XML/HaXml/TypeMapping.hs:208:14: Warning:
    This binding for `ht' shadows the existing binding
      bound at src/Text/XML/HaXml/TypeMapping.hs:201:7

src/Text/XML/HaXml/TypeMapping.hs:209:14: Warning:
    This binding for `ht' shadows the existing binding
      bound at src/Text/XML/HaXml/TypeMapping.hs:201:7

src/Text/XML/HaXml/TypeMapping.hs:214:29: Warning:
    This binding for `ht' shadows the existing binding
      bound at src/Text/XML/HaXml/TypeMapping.hs:201:7

src/Text/XML/HaXml/TypeMapping.hs:228:14: Warning:
    This binding for `ht' shadows the existing binding
      bound at src/Text/XML/HaXml/TypeMapping.hs:201:7

src/Text/XML/HaXml/TypeMapping.hs:231:17: Warning:
    This binding for `ht' shadows the existing binding
      bound at src/Text/XML/HaXml/TypeMapping.hs:201:7

src/Text/XML/HaXml/TypeMapping.hs:234:5: Warning:
    Pattern match(es) are non-exhaustive
    In an equation for `declmacro':
        Patterns not matched:
            (Maybe _) _
            (List _) _
            (Tuple _) _
            (Prim _ _) _
            ...

src/Text/XML/HaXml/TypeMapping.hs:234:15: Warning:
    This binding for `ht' shadows the existing binding
      bound at src/Text/XML/HaXml/TypeMapping.hs:201:7

src/Text/XML/HaXml/TypeMapping.hs:238:32: Warning:
    Defined but not used: `s'

src/Text/XML/HaXml/TypeMapping.hs:238:34: Warning:
    Defined but not used: `fv'

src/Text/XML/HaXml/TypeMapping.hs:238:37: Warning:
    Defined but not used: `hts'

src/Text/XML/HaXml/TypeMapping.hs:242:5: Warning:
    Pattern match(es) are non-exhaustive
    In an equation for `declprim':
        Patterns not matched:
            Maybe _
            List _
            Tuple _
            String
            ...

src/Text/XML/HaXml/TypeMapping.hs:250:1: Warning:
    Pattern match(es) are non-exhaustive
    In an equation for `?': Patterns not matched: _ _
[15 of 27] Compiling Text.XML.HaXml.Verbatim ( src/Text/XML/HaXml/Verbatim.hs, dist/build/XsdToHaskell/XsdToHaskell-tmp/Text/XML/HaXml/Verbatim.o )
[16 of 27] Compiling Text.XML.HaXml.Util ( src/Text/XML/HaXml/Util.hs, dist/build/XsdToHaskell/XsdToHaskell-tmp/Text/XML/HaXml/Util.o )

src/Text/XML/HaXml/Util.hs:32:16: Warning:
    This binding for `attrs' shadows the existing binding
      defined at src/Text/XML/HaXml/Util.hs:32:1

src/Text/XML/HaXml/Util.hs:35:1: Warning:
    Pattern match(es) are non-exhaustive
    In an equation for `tagTextContent':
        Patterns not matched:
            CString _ _ _
            CRef _ _
            CMisc _ _
[17 of 27] Compiling Text.XML.HaXml.Wrappers ( src/Text/XML/HaXml/Wrappers.hs, dist/build/XsdToHaskell/XsdToHaskell-tmp/Text/XML/HaXml/Wrappers.o )

src/Text/XML/HaXml/Wrappers.hs:69:5: Warning:
    This binding for `onContent' shadows the existing binding
      defined at src/Text/XML/HaXml/Wrappers.hs:79:1
[18 of 27] Compiling Text.XML.HaXml.XmlContent.Parser ( src/Text/XML/HaXml/XmlContent/Parser.hs, dist/build/XsdToHaskell/XsdToHaskell-tmp/Text/XML/HaXml/XmlContent/Parser.o )

src/Text/XML/HaXml/XmlContent/Parser.hs:97:1: Warning:
    Pattern match(es) are non-exhaustive
    In an equation for `attval':
        Patterns not matched:
            Elem _ [] _
            Elem _ ((_, AttValue _) : (_ : _)) _
            Elem _ [(_, AttValue _)] (_ : _)

src/Text/XML/HaXml/XmlContent/Parser.hs:613:9: Warning:
    Pattern match(es) are non-exhaustive
    In an equation for `g':
        Patterns not matched:
            ghc-prim:GHC.Types.C# #x
            with
            #x `notElem` ['"', '&', '<', '>', '\'']
[19 of 27] Compiling Text.XML.HaXml.Schema.Parse ( src/Text/XML/HaXml/Schema/Parse.hs, dist/build/XsdToHaskell/XsdToHaskell-tmp/Text/XML/HaXml/Schema/Parse.o )

src/Text/XML/HaXml/Schema/Parse.hs:6:1: Warning:
    The import of `Data.List' is redundant
      except perhaps to import instances from `Data.List'
    To import instances alone, use: import Data.List()

src/Text/XML/HaXml/Schema/Parse.hs:11:1: Warning:
    The import item `Attribute(..)' suggests that
    `Attribute' has (in-scope) constructors or class methods,
    but it has none

src/Text/XML/HaXml/Schema/Parse.hs:26:5: Warning:
    This binding for `name' shadows the existing binding
      defined at src/Text/XML/HaXml/Schema/Parse.hs:644:1

src/Text/XML/HaXml/Schema/Parse.hs:140:5: Warning:
    Pattern match(es) are non-exhaustive
    In an equation for `deQN': Patterns not matched: N _

src/Text/XML/HaXml/Schema/Parse.hs:147:16: Warning:
    Defined but not used: `n'

src/Text/XML/HaXml/Schema/Parse.hs:147:21: Warning:
    Defined but not used: `m'

src/Text/XML/HaXml/Schema/Parse.hs:160:20: Warning:
    This binding for `uri' shadows the existing binding
      defined at src/Text/XML/HaXml/Schema/Parse.hs:597:1

src/Text/XML/HaXml/Schema/Parse.hs:164:10: Warning:
    Defined but not used: `p'

src/Text/XML/HaXml/Schema/Parse.hs:184:1: Warning:
    Top-level binding with no type signature:
      schema :: Parser (Content Posn) Schema

src/Text/XML/HaXml/Schema/Parse.hs:243:12: Warning:
    This binding for `qual' shadows the existing binding
      defined at src/Text/XML/HaXml/Schema/Parse.hs:172:1

src/Text/XML/HaXml/Schema/Parse.hs:380:12: Warning:
    Defined but not used: `e'

src/Text/XML/HaXml/Schema/Parse.hs:538:17: Warning:
    A do-notation statement discarded a result of type String.
    Suppress this warning by saying "_ <- isWord "unbounded"",
    or by using the flag -fno-warn-unused-do-bind
[20 of 27] Compiling Text.XML.HaXml.Schema.Environment ( src/Text/XML/HaXml/Schema/Environment.hs, dist/build/XsdToHaskell/XsdToHaskell-tmp/Text/XML/HaXml/Schema/Environment.o )

src/Text/XML/HaXml/Schema/Environment.hs:6:1: Warning:
    The import item `Name(..)' suggests that
    `Name' has (in-scope) constructors or class methods,
    but it has none

src/Text/XML/HaXml/Schema/Environment.hs:6:1: Warning:
    The import of `Name'
    from module `Text.XML.HaXml.Types' is redundant

src/Text/XML/HaXml/Schema/Environment.hs:69:20: Warning:
    This binding for `init' shadows the existing binding
      imported from `Prelude' at src/Text/XML/HaXml/Schema/Environment.hs:2:8-40
      (and originally defined in `GHC.List')

src/Text/XML/HaXml/Schema/Environment.hs:84:16: Warning:
    This binding for `s' shadows the existing binding
      bound at src/Text/XML/HaXml/Schema/Environment.hs:69:18

src/Text/XML/HaXml/Schema/Environment.hs:87:16: Warning:
    This binding for `s' shadows the existing binding
      bound at src/Text/XML/HaXml/Schema/Environment.hs:69:18

src/Text/XML/HaXml/Schema/Environment.hs:90:16: Warning:
    This binding for `s' shadows the existing binding
      bound at src/Text/XML/HaXml/Schema/Environment.hs:69:18

src/Text/XML/HaXml/Schema/Environment.hs:100:5: Warning:
    Pattern match(es) are non-exhaustive
    In an equation for `complex': Patterns not matched: _ _

src/Text/XML/HaXml/Schema/Environment.hs:104:29: Warning:
    This binding for `env' shadows the existing binding
      bound at src/Text/XML/HaXml/Schema/Environment.hs:100:13

src/Text/XML/HaXml/Schema/Environment.hs:114:24: Warning:
    Defined but not used: `x'

src/Text/XML/HaXml/Schema/Environment.hs:134:5: Warning:
    Pattern match(es) are non-exhaustive
    In an equation for `elementDecl': Patterns not matched: _ _

src/Text/XML/HaXml/Schema/Environment.hs:135:15: Warning:
    Defined but not used: `r'

src/Text/XML/HaXml/Schema/Environment.hs:144:29: Warning:
    This binding for `env' shadows the existing binding
      bound at src/Text/XML/HaXml/Schema/Environment.hs:134:17

src/Text/XML/HaXml/Schema/Environment.hs:152:5: Warning:
    Pattern match(es) are non-exhaustive
    In an equation for `attributeDecl': Patterns not matched: _ _

src/Text/XML/HaXml/Schema/Environment.hs:153:15: Warning:
    Defined but not used: `r'

src/Text/XML/HaXml/Schema/Environment.hs:157:5: Warning:
    Pattern match(es) are non-exhaustive
    In an equation for `attrGroup': Patterns not matched: _ _

src/Text/XML/HaXml/Schema/Environment.hs:158:15: Warning:
    Defined but not used: `r'

src/Text/XML/HaXml/Schema/Environment.hs:162:5: Warning:
    Pattern match(es) are non-exhaustive
    In an equation for `group': Patterns not matched: _ _

src/Text/XML/HaXml/Schema/Environment.hs:163:15: Warning:
    Defined but not used: `r'

src/Text/XML/HaXml/Schema/Environment.hs:169:30: Warning:
    This binding for `env' shadows the existing binding
      bound at src/Text/XML/HaXml/Schema/Environment.hs:168:11
[21 of 27] Compiling Text.XML.HaXml.Schema.HaskellTypeModel ( src/Text/XML/HaXml/Schema/HaskellTypeModel.hs, dist/build/XsdToHaskell/XsdToHaskell-tmp/Text/XML/HaXml/Schema/HaskellTypeModel.o )
[22 of 27] Compiling Text.XML.HaXml.Schema.TypeConversion ( src/Text/XML/HaXml/Schema/TypeConversion.hs, dist/build/XsdToHaskell/XsdToHaskell-tmp/Text/XML/HaXml/Schema/TypeConversion.o )

src/Text/XML/HaXml/Schema/TypeConversion.hs:6:1: Warning:
    The import item `Name(..)' suggests that
    `Name' has (in-scope) constructors or class methods,
    but it has none

src/Text/XML/HaXml/Schema/TypeConversion.hs:6:1: Warning:
    The import of `Name'
    from module `Text.XML.HaXml.Types' is redundant

src/Text/XML/HaXml/Schema/TypeConversion.hs:15:1: Warning:
    The import of `Data.Map' is redundant
      except perhaps to import instances from `Data.Map'
    To import instances alone, use: import Data.Map()

src/Text/XML/HaXml/Schema/TypeConversion.hs:16:1: Warning:
    The import of `Data.List' is redundant
      except perhaps to import instances from `Data.List'
    To import instances alone, use: import Data.List()

src/Text/XML/HaXml/Schema/TypeConversion.hs:17:1: Warning:
    The import of `fromJust' from module `Data.Maybe' is redundant

src/Text/XML/HaXml/Schema/TypeConversion.hs:36:27: Warning:
    Defined but not used: `ad'

src/Text/XML/HaXml/Schema/TypeConversion.hs:37:26: Warning:
    Defined but not used: `ag'

src/Text/XML/HaXml/Schema/TypeConversion.hs:40:23: Warning:
    Defined but not used: `prim'

src/Text/XML/HaXml/Schema/TypeConversion.hs:41:12: Warning:
    This binding for `s' shadows the existing binding
      bound at src/Text/XML/HaXml/Schema/TypeConversion.hs:24:13

src/Text/XML/HaXml/Schema/TypeConversion.hs:41:30: Warning:
    Defined but not used: `f'

src/Text/XML/HaXml/Schema/TypeConversion.hs:52:20: Warning:
    Defined but not used: `a'

src/Text/XML/HaXml/Schema/TypeConversion.hs:52:22: Warning:
    Defined but not used: `n'

src/Text/XML/HaXml/Schema/TypeConversion.hs:52:24: Warning:
    Defined but not used: `f'

src/Text/XML/HaXml/Schema/TypeConversion.hs:52:26: Warning:
    Defined but not used: `t'

src/Text/XML/HaXml/Schema/TypeConversion.hs:55:12: Warning:
    This binding for `s' shadows the existing binding
      bound at src/Text/XML/HaXml/Schema/TypeConversion.hs:24:13

src/Text/XML/HaXml/Schema/TypeConversion.hs:55:27: Warning:
    Defined but not used: `f'

src/Text/XML/HaXml/Schema/TypeConversion.hs:55:29: Warning:
    Defined but not used: `u'

src/Text/XML/HaXml/Schema/TypeConversion.hs:70:26: Warning:
    Defined but not used: `ann'

src/Text/XML/HaXml/Schema/TypeConversion.hs:70:30: Warning:
    Defined but not used: `base'

src/Text/XML/HaXml/Schema/TypeConversion.hs:70:35: Warning:
    Defined but not used: `r1'

src/Text/XML/HaXml/Schema/TypeConversion.hs:77:53: Warning:
    This binding for `s' shadows the existing binding
      bound at src/Text/XML/HaXml/Schema/TypeConversion.hs:24:13

src/Text/XML/HaXml/Schema/TypeConversion.hs:91:22: Warning:
    Defined but not used: `r'

src/Text/XML/HaXml/Schema/TypeConversion.hs:105:22: Warning:
    Defined but not used: `r'

src/Text/XML/HaXml/Schema/TypeConversion.hs:133:25: Warning:
    Defined but not used: es'

src/Text/XML/HaXml/Schema/TypeConversion.hs:157:9: Warning:
    Defined but not used: `c'

src/Text/XML/HaXml/Schema/TypeConversion.hs:279:15: Warning:
    Defined but not used: `n'

src/Text/XML/HaXml/Schema/TypeConversion.hs:312:31: Warning:
    Defined but not used: `ann'

src/Text/XML/HaXml/Schema/TypeConversion.hs:312:35: Warning:
    Defined but not used: `eds'

src/Text/XML/HaXml/Schema/TypeConversion.hs:317:31: Warning:
    Defined but not used: `ann'

src/Text/XML/HaXml/Schema/TypeConversion.hs:326:5: Warning:
    This binding for `any' shadows the existing binding
      imported from `Prelude' at src/Text/XML/HaXml/Schema/TypeConversion.hs:2:8-43
      (and originally defined in `GHC.List')

src/Text/XML/HaXml/Schema/TypeConversion.hs:346:9: Warning:
    This binding for `simple' shadows the existing binding
      bound at src/Text/XML/HaXml/Schema/TypeConversion.hs:40:5

src/Text/XML/HaXml/Schema/TypeConversion.hs:349:9: Warning:
    This binding for `complex' shadows the existing binding
      bound at src/Text/XML/HaXml/Schema/TypeConversion.hs:84:5

src/Text/XML/HaXml/Schema/TypeConversion.hs:356:15: Warning:
    This binding for `e' shadows the existing binding
      bound at src/Text/XML/HaXml/Schema/TypeConversion.hs:342:23

src/Text/XML/HaXml/Schema/TypeConversion.hs:371:12: Warning:
    Defined but not used: `s'

src/Text/XML/HaXml/Schema/TypeConversion.hs:381:14: Warning:
    Defined but not used: `s'

src/Text/XML/HaXml/Schema/TypeConversion.hs:384:26: Warning:
    Defined but not used: `ann'

src/Text/XML/HaXml/Schema/TypeConversion.hs:384:30: Warning:
    Defined but not used: `base'

src/Text/XML/HaXml/Schema/TypeConversion.hs:384:35: Warning:
    Defined but not used: `r1'

src/Text/XML/HaXml/Schema/TypeConversion.hs:420:1: Warning:
    Pattern match(es) are non-exhaustive
    In an equation for `consolidate':
        Patterns not matched:
            (Occurs _ _) (OrderedNumericTotalDigits, _, _)
            (Occurs _ _) (OrderedNumericFractionDigits, _, _)
            (Occurs _ _) (UnorderedPattern, _, _)
            (Occurs _ _) (UnorderedEnumeration, _, _)
            ...

src/Text/XML/HaXml/Schema/TypeConversion.hs:420:21: Warning:
    This binding for `min' shadows the existing binding
      imported from `Prelude' at src/Text/XML/HaXml/Schema/TypeConversion.hs:2:8-43
      (and originally defined in `ghc-prim:GHC.Classes')

src/Text/XML/HaXml/Schema/TypeConversion.hs:420:21: Warning:
    Defined but not used: `min'

src/Text/XML/HaXml/Schema/TypeConversion.hs:420:25: Warning:
    This binding for `max' shadows the existing binding
      imported from `Prelude' at src/Text/XML/HaXml/Schema/TypeConversion.hs:2:8-43
      (and originally defined in `ghc-prim:GHC.Classes')

src/Text/XML/HaXml/Schema/TypeConversion.hs:422:21: Warning:
    This binding for `min' shadows the existing binding
      imported from `Prelude' at src/Text/XML/HaXml/Schema/TypeConversion.hs:2:8-43
      (and originally defined in `ghc-prim:GHC.Classes')

src/Text/XML/HaXml/Schema/TypeConversion.hs:422:21: Warning:
    Defined but not used: `min'

src/Text/XML/HaXml/Schema/TypeConversion.hs:422:25: Warning:
    This binding for `max' shadows the existing binding
      imported from `Prelude' at src/Text/XML/HaXml/Schema/TypeConversion.hs:2:8-43
      (and originally defined in `ghc-prim:GHC.Classes')

src/Text/XML/HaXml/Schema/TypeConversion.hs:424:21: Warning:
    This binding for `min' shadows the existing binding
      imported from `Prelude' at src/Text/XML/HaXml/Schema/TypeConversion.hs:2:8-43
      (and originally defined in `ghc-prim:GHC.Classes')

src/Text/XML/HaXml/Schema/TypeConversion.hs:424:25: Warning:
    This binding for `max' shadows the existing binding
      imported from `Prelude' at src/Text/XML/HaXml/Schema/TypeConversion.hs:2:8-43
      (and originally defined in `ghc-prim:GHC.Classes')

src/Text/XML/HaXml/Schema/TypeConversion.hs:424:25: Warning:
    Defined but not used: `max'

src/Text/XML/HaXml/Schema/TypeConversion.hs:426:21: Warning:
    This binding for `min' shadows the existing binding
      imported from `Prelude' at src/Text/XML/HaXml/Schema/TypeConversion.hs:2:8-43
      (and originally defined in `ghc-prim:GHC.Classes')

src/Text/XML/HaXml/Schema/TypeConversion.hs:426:25: Warning:
    This binding for `max' shadows the existing binding
      imported from `Prelude' at src/Text/XML/HaXml/Schema/TypeConversion.hs:2:8-43
      (and originally defined in `ghc-prim:GHC.Classes')

src/Text/XML/HaXml/Schema/TypeConversion.hs:426:25: Warning:
    Defined but not used: `max'

src/Text/XML/HaXml/Schema/TypeConversion.hs:428:21: Warning:
    This binding for `min' shadows the existing binding
      imported from `Prelude' at src/Text/XML/HaXml/Schema/TypeConversion.hs:2:8-43
      (and originally defined in `ghc-prim:GHC.Classes')

src/Text/XML/HaXml/Schema/TypeConversion.hs:428:21: Warning:
    Defined but not used: `min'

src/Text/XML/HaXml/Schema/TypeConversion.hs:428:25: Warning:
    This binding for `max' shadows the existing binding
      imported from `Prelude' at src/Text/XML/HaXml/Schema/TypeConversion.hs:2:8-43
      (and originally defined in `ghc-prim:GHC.Classes')

src/Text/XML/HaXml/Schema/TypeConversion.hs:428:25: Warning:
    Defined but not used: `max'

src/Text/XML/HaXml/Schema/TypeConversion.hs:430:21: Warning:
    This binding for `min' shadows the existing binding
      imported from `Prelude' at src/Text/XML/HaXml/Schema/TypeConversion.hs:2:8-43
      (and originally defined in `ghc-prim:GHC.Classes')

src/Text/XML/HaXml/Schema/TypeConversion.hs:430:21: Warning:
    Defined but not used: `min'

src/Text/XML/HaXml/Schema/TypeConversion.hs:430:25: Warning:
    This binding for `max' shadows the existing binding
      imported from `Prelude' at src/Text/XML/HaXml/Schema/TypeConversion.hs:2:8-43
      (and originally defined in `ghc-prim:GHC.Classes')

src/Text/XML/HaXml/Schema/TypeConversion.hs:432:21: Warning:
    This binding for `min' shadows the existing binding
      imported from `Prelude' at src/Text/XML/HaXml/Schema/TypeConversion.hs:2:8-43
      (and originally defined in `ghc-prim:GHC.Classes')

src/Text/XML/HaXml/Schema/TypeConversion.hs:432:25: Warning:
    This binding for `max' shadows the existing binding
      imported from `Prelude' at src/Text/XML/HaXml/Schema/TypeConversion.hs:2:8-43
      (and originally defined in `ghc-prim:GHC.Classes')

src/Text/XML/HaXml/Schema/TypeConversion.hs:432:25: Warning:
    Defined but not used: `max'
[23 of 27] Compiling Text.XML.HaXml.Schema.PrettyHaskell ( src/Text/XML/HaXml/Schema/PrettyHaskell.hs, dist/build/XsdToHaskell/XsdToHaskell-tmp/Text/XML/HaXml/Schema/PrettyHaskell.o )

src/Text/XML/HaXml/Schema/PrettyHaskell.hs:21:1: Warning:
    The import of `notElem' from module `Data.List' is redundant

src/Text/XML/HaXml/Schema/PrettyHaskell.hs:22:1: Warning:
    The import of `catMaybes' from module `Data.Maybe' is redundant

src/Text/XML/HaXml/Schema/PrettyHaskell.hs:27:14: Warning:
    This binding for `sep' shadows the existing binding
      imported from `Text.PrettyPrint.HughesPJ' at src/Text/XML/HaXml/Schema/PrettyHaskell.hs:19:1-38

src/Text/XML/HaXml/Schema/PrettyHaskell.hs:27:14: Warning:
    Defined but not used: `sep'

src/Text/XML/HaXml/Schema/PrettyHaskell.hs:27:24: Warning:
    Defined but not used: `pp'

src/Text/XML/HaXml/Schema/PrettyHaskell.hs:28:14: Warning:
    This binding for `sep' shadows the existing binding
      imported from `Text.PrettyPrint.HughesPJ' at src/Text/XML/HaXml/Schema/PrettyHaskell.hs:19:1-38

src/Text/XML/HaXml/Schema/PrettyHaskell.hs:59:1: Warning:
    Defined but not used: `ppVarId'

src/Text/XML/HaXml/Schema/PrettyHaskell.hs:61:1: Warning:
    Defined but not used: `ppUnqVarId'

src/Text/XML/HaXml/Schema/PrettyHaskell.hs:131:26: Warning:
    This binding for `mod' shadows the existing binding
      imported from `Prelude' at src/Text/XML/HaXml/Schema/PrettyHaskell.hs:5:8-42
      (and originally defined in `GHC.Real')

src/Text/XML/HaXml/Schema/PrettyHaskell.hs:149:8: Warning:
    Defined but not used: `nx'

src/Text/XML/HaXml/Schema/PrettyHaskell.hs:151:8: Warning:
    Defined but not used: `nx'

src/Text/XML/HaXml/Schema/PrettyHaskell.hs:151:11: Warning:
    Defined but not used: `e'

src/Text/XML/HaXml/Schema/PrettyHaskell.hs:158:13: Warning:
    This binding for `n' shadows the existing binding
      bound at src/Text/XML/HaXml/Schema/PrettyHaskell.hs:157:5

src/Text/XML/HaXml/Schema/PrettyHaskell.hs:158:16: Warning:
    This binding for `e' shadows the existing binding
      bound at src/Text/XML/HaXml/Schema/PrettyHaskell.hs:152:11

src/Text/XML/HaXml/Schema/PrettyHaskell.hs:166:16: Warning:
    This binding for `e' shadows the existing binding
      bound at src/Text/XML/HaXml/Schema/PrettyHaskell.hs:152:11

src/Text/XML/HaXml/Schema/PrettyHaskell.hs:168:37: Warning:
    This binding for `e' shadows the existing binding
      bound at src/Text/XML/HaXml/Schema/PrettyHaskell.hs:152:11

src/Text/XML/HaXml/Schema/PrettyHaskell.hs:178:1: Warning:
    Pattern match(es) are non-exhaustive
    In an equation for `ppHighLevelDecl':
        Patterns not matched:
            _ (ElementOfType (OneOf _ _ _))
            _ (ElementOfType (AnyElem _ _))
            _ (ElementOfType Text)

src/Text/XML/HaXml/Schema/PrettyHaskell.hs:204:28: Warning:
    This binding for `comm' shadows the existing binding
      bound at src/Text/XML/HaXml/Schema/PrettyHaskell.hs:183:46

src/Text/XML/HaXml/Schema/PrettyHaskell.hs:204:28: Warning:
    Defined but not used: `comm'

src/Text/XML/HaXml/Schema/PrettyHaskell.hs:206:32: Warning:
    This binding for `comm' shadows the existing binding
      bound at src/Text/XML/HaXml/Schema/PrettyHaskell.hs:183:46

src/Text/XML/HaXml/Schema/PrettyHaskell.hs:206:32: Warning:
    Defined but not used: `comm'

src/Text/XML/HaXml/Schema/PrettyHaskell.hs:210:31: Warning:
    This binding for `comm' shadows the existing binding
      bound at src/Text/XML/HaXml/Schema/PrettyHaskell.hs:183:46

src/Text/XML/HaXml/Schema/PrettyHaskell.hs:210:31: Warning:
    Defined but not used: `comm'

src/Text/XML/HaXml/Schema/PrettyHaskell.hs:241:16: Warning:
    This binding for `as' shadows the existing binding
      bound at src/Text/XML/HaXml/Schema/PrettyHaskell.hs:214:42

src/Text/XML/HaXml/Schema/PrettyHaskell.hs:250:40: Warning:
    Defined but not used: `sts'

src/Text/XML/HaXml/Schema/PrettyHaskell.hs:294:17: Warning:
    This binding for `as' shadows the existing binding
      bound at src/Text/XML/HaXml/Schema/PrettyHaskell.hs:276:40

src/Text/XML/HaXml/Schema/PrettyHaskell.hs:313:28: Warning:
    This binding for `mod' shadows the existing binding
      imported from `Prelude' at src/Text/XML/HaXml/Schema/PrettyHaskell.hs:5:8-42
      (and originally defined in `GHC.Real')

src/Text/XML/HaXml/Schema/PrettyHaskell.hs:313:28: Warning:
    Defined but not used: `mod'

src/Text/XML/HaXml/Schema/PrettyHaskell.hs:323:5: Warning:
    Pattern match(es) are non-exhaustive
    In an equation for `ppFwdDecl': Patterns not matched: (_, Nothing)

src/Text/XML/HaXml/Schema/PrettyHaskell.hs:323:26: Warning:
    This binding for `mod' shadows the existing binding
      imported from `Prelude' at src/Text/XML/HaXml/Schema/PrettyHaskell.hs:5:8-42
      (and originally defined in `GHC.Real')

src/Text/XML/HaXml/Schema/PrettyHaskell.hs:342:58: Warning:
    Defined but not used: `comm'

src/Text/XML/HaXml/Schema/PrettyHaskell.hs:355:57: Warning:
    Defaulting the following constraint(s) to type `Integer'
      (Enum a0)
        arising from the arithmetic sequence `1 .. '
        at src/Text/XML/HaXml/Schema/PrettyHaskell.hs:355:57-61
      (Num a0)
        arising from the literal `1'
        at src/Text/XML/HaXml/Schema/PrettyHaskell.hs:355:58
      (Show a0)
        arising from a use of `choices'
        at src/Text/XML/HaXml/Schema/PrettyHaskell.hs:355:41-47
    In the second argument of `zip', namely `[1 .. ]'
    In the fifth argument of `ppvList', namely `(zip es [1 .. ])'
    In the second argument of `nest', namely
      `(ppvList "=" "|" "" choices (zip es [1 .. ]))'

src/Text/XML/HaXml/Schema/PrettyHaskell.hs:363:17: Warning:
    Defined but not used: `nx'

src/Text/XML/HaXml/Schema/PrettyHaskell.hs:363:27: Warning:
    Defined but not used: `t'

src/Text/XML/HaXml/Schema/PrettyHaskell.hs:363:29: Warning:
    Defined but not used: `es'

src/Text/XML/HaXml/Schema/PrettyHaskell.hs:363:32: Warning:
    Defined but not used: `comm'

src/Text/XML/HaXml/Schema/PrettyHaskell.hs:424:17: Warning:
    Defined but not used: `nx'

src/Text/XML/HaXml/Schema/PrettyHaskell.hs:432:1: Warning:
    Pattern match(es) are non-exhaustive
    In an equation for `ppHighLevelInstances':
        Patterns not matched:
            _ (NamedSimpleType _ _ _)
            _ (RestrictSimpleType _ _ _ _)
            _ (ExtendSimpleType _ _ _ _)
            _ (UnionSimpleTypes _ _ _)
            ...

src/Text/XML/HaXml/Schema/PrettyHaskell.hs:432:56: Warning:
    Defined but not used: `comm'

src/Text/XML/HaXml/Schema/PrettyHaskell.hs:452:50: Warning:
    Defined but not used: `n'

src/Text/XML/HaXml/Schema/PrettyHaskell.hs:452:52: Warning:
    Defined but not used: `t'

src/Text/XML/HaXml/Schema/PrettyHaskell.hs:452:63: Warning:
    Defined but not used: `comm'

src/Text/XML/HaXml/Schema/PrettyHaskell.hs:459:22: Warning:
    Defined but not used: `nx'

src/Text/XML/HaXml/Schema/PrettyHaskell.hs:459:44: Warning:
    Defined but not used: `t'

src/Text/XML/HaXml/Schema/PrettyHaskell.hs:459:46: Warning:
    Defined but not used: `s'

src/Text/XML/HaXml/Schema/PrettyHaskell.hs:459:48: Warning:
    Defined but not used: `oes'

src/Text/XML/HaXml/Schema/PrettyHaskell.hs:459:52: Warning:
    Defined but not used: `oas'

src/Text/XML/HaXml/Schema/PrettyHaskell.hs:459:56: Warning:
    Defined but not used: `es'

src/Text/XML/HaXml/Schema/PrettyHaskell.hs:459:59: Warning:
    Defined but not used: `as'

src/Text/XML/HaXml/Schema/PrettyHaskell.hs:460:39: Warning:
    Defined but not used: `fwdReqd'

src/Text/XML/HaXml/Schema/PrettyHaskell.hs:460:47: Warning:
    Defined but not used: `absSup'

src/Text/XML/HaXml/Schema/PrettyHaskell.hs:460:54: Warning:
    Defined but not used: `grandsuper'

src/Text/XML/HaXml/Schema/PrettyHaskell.hs:460:65: Warning:
    Defined but not used: `comm'

src/Text/XML/HaXml/Schema/PrettyHaskell.hs:467:54: Warning:
    Defined but not used: `s'

src/Text/XML/HaXml/Schema/PrettyHaskell.hs:468:52: Warning:
    Defined but not used: `fwdReqd'

src/Text/XML/HaXml/Schema/PrettyHaskell.hs:468:60: Warning:
    Defined but not used: `grandsuper'

src/Text/XML/HaXml/Schema/PrettyHaskell.hs:476:1: Warning:
    Top-level binding with no type signature:
      ppElementAbstractOfType :: NameConverter -> Decl -> Doc

src/Text/XML/HaXml/Schema/PrettyHaskell.hs:476:1: Warning:
    Pattern match(es) are non-exhaustive
    In an equation for `ppElementAbstractOfType':
        Patterns not matched:
            _ (NamedSimpleType _ _ _)
            _ (RestrictSimpleType _ _ _ _)
            _ (ExtendSimpleType _ _ _ _)
            _ (UnionSimpleTypes _ _ _)
            ...

src/Text/XML/HaXml/Schema/PrettyHaskell.hs:522:12: Warning:
    This binding for `t' shadows the existing binding
      bound at src/Text/XML/HaXml/Schema/PrettyHaskell.hs:500:16

src/Text/XML/HaXml/Schema/PrettyHaskell.hs:522:14: Warning:
    This binding for `es' shadows the existing binding
      bound at src/Text/XML/HaXml/Schema/PrettyHaskell.hs:500:50

src/Text/XML/HaXml/Schema/PrettyHaskell.hs:522:17: Warning:
    This binding for `as' shadows the existing binding
      bound at src/Text/XML/HaXml/Schema/PrettyHaskell.hs:500:53

src/Text/XML/HaXml/Schema/PrettyHaskell.hs:523:73: Warning:
    Defaulting the following constraint(s) to type `Integer'
      (Enum a0)
        arising from the arithmetic sequence `0 .. '
        at src/Text/XML/HaXml/Schema/PrettyHaskell.hs:523:73-77
      (Num a0)
        arising from the literal `0'
        at src/Text/XML/HaXml/Schema/PrettyHaskell.hs:523:74
      (Show a0)
        arising from a use of `show'
        at src/Text/XML/HaXml/Schema/PrettyHaskell.hs:523:60-63
    In the expression: [0 .. ]
    In a stmt of a list comprehension: n <- [0 .. ]
    In the second argument of `take', namely
      `[text ('a' : show n) | n <- [0 .. ]]'

src/Text/XML/HaXml/Schema/PrettyHaskell.hs:524:73: Warning:
    Defaulting the following constraint(s) to type `Integer'
      (Enum a0)
        arising from the arithmetic sequence `0 .. '
        at src/Text/XML/HaXml/Schema/PrettyHaskell.hs:524:73-77
      (Num a0)
        arising from the literal `0'
        at src/Text/XML/HaXml/Schema/PrettyHaskell.hs:524:74
      (Show a0)
        arising from a use of `show'
        at src/Text/XML/HaXml/Schema/PrettyHaskell.hs:524:60-63
    In the expression: [0 .. ]
    In a stmt of a list comprehension: n <- [0 .. ]
    In the second argument of `take', namely
      `[text ('e' : show n) | n <- [0 .. ]]'

src/Text/XML/HaXml/Schema/PrettyHaskell.hs:543:1: Warning:
    Pattern match(es) are non-exhaustive
    In an equation for `ppSuperExtension':
        Patterns not matched: _ _ [] (_, Just _)

src/Text/XML/HaXml/Schema/PrettyHaskell.hs:543:21: Warning:
    Defined but not used: `super'

src/Text/XML/HaXml/Schema/PrettyHaskell.hs:543:50: Warning:
    This binding for `mod' shadows the existing binding
      imported from `Prelude' at src/Text/XML/HaXml/Schema/PrettyHaskell.hs:5:8-42
      (and originally defined in `GHC.Real')

src/Text/XML/HaXml/Schema/PrettyHaskell.hs:551:5: Warning:
    Pattern match(es) are non-exhaustive
    In an equation for `ppSuper': Patterns not matched: _ []

src/Text/XML/HaXml/Schema/PrettyHaskell.hs:551:13: Warning:
    This binding for `t' shadows the existing binding
      bound at src/Text/XML/HaXml/Schema/PrettyHaskell.hs:547:40

src/Text/XML/HaXml/Schema/PrettyHaskell.hs:562:10: Warning:
    Defined but not used: `nx'

src/Text/XML/HaXml/Schema/PrettyHaskell.hs:562:13: Warning:
    Defined but not used: `t'

src/Text/XML/HaXml/Schema/PrettyHaskell.hs:592:12: Warning:
    This binding for `e' shadows the existing binding
      bound at src/Text/XML/HaXml/Schema/PrettyHaskell.hs:586:25

src/Text/XML/HaXml/Schema/PrettyHaskell.hs:596:16: Warning:
    Defined but not used: `nx'

src/Text/XML/HaXml/Schema/PrettyHaskell.hs:599:16: Warning:
    Defined but not used: `nx'

src/Text/XML/HaXml/Schema/PrettyHaskell.hs:599:19: Warning:
    Defined but not used: `brack'

src/Text/XML/HaXml/Schema/PrettyHaskell.hs:599:25: Warning:
    Defined but not used: `e'

src/Text/XML/HaXml/Schema/PrettyHaskell.hs:617:1: Warning:
    Top-level binding with no type signature:
      ppElemModifier :: Modifier -> Doc -> Doc

src/Text/XML/HaXml/Schema/PrettyHaskell.hs:628:14: Warning:
    Defined but not used: `i'

src/Text/XML/HaXml/Schema/PrettyHaskell.hs:636:8: Warning:
    Defined but not used: `seen'

src/Text/XML/HaXml/Schema/PrettyHaskell.hs:643:9: Warning:
    This binding for `pred' shadows the existing binding
      imported from `Prelude' at src/Text/XML/HaXml/Schema/PrettyHaskell.hs:5:8-42
      (and originally defined in `GHC.Enum')

src/Text/XML/HaXml/Schema/PrettyHaskell.hs:644:69: Warning:
    Defaulting the following constraint(s) to type `Integer'
      (Enum a0)
        arising from the arithmetic sequence `2 .. '
        at src/Text/XML/HaXml/Schema/PrettyHaskell.hs:644:69-73
      (Num a0)
        arising from the literal `2'
        at src/Text/XML/HaXml/Schema/PrettyHaskell.hs:644:70
      (Show a0)
        arising from a use of `show'
        at src/Text/XML/HaXml/Schema/PrettyHaskell.hs:644:54-57
    In the expression: [2 .. ]
    In a stmt of a list comprehension: i <- [2 .. ]
    In the second argument of `dropWhile', namely
      `[(n ++ show i) | i <- [2 .. ]]'

src/Text/XML/HaXml/Schema/PrettyHaskell.hs:645:9: Warning:
    This binding for `pred' shadows the existing binding
      imported from `Prelude' at src/Text/XML/HaXml/Schema/PrettyHaskell.hs:5:8-42
      (and originally defined in `GHC.Enum')

src/Text/XML/HaXml/Schema/PrettyHaskell.hs:646:69: Warning:
    Defaulting the following constraint(s) to type `Integer'
      (Enum a0)
        arising from the arithmetic sequence `2 .. '
        at src/Text/XML/HaXml/Schema/PrettyHaskell.hs:646:69-73
      (Num a0)
        arising from the literal `2'
        at src/Text/XML/HaXml/Schema/PrettyHaskell.hs:646:70
      (Show a0)
        arising from a use of `show'
        at src/Text/XML/HaXml/Schema/PrettyHaskell.hs:646:54-57
    In the expression: [2 .. ]
    In a stmt of a list comprehension: i <- [2 .. ]
    In the second argument of `dropWhile', namely
      `[(n ++ show i) | i <- [2 .. ]]'
[24 of 27] Compiling Text.XML.HaXml.XmlContent ( src/Text/XML/HaXml/XmlContent.hs, dist/build/XsdToHaskell/XsdToHaskell-tmp/Text/XML/HaXml/XmlContent.o )

src/Text/XML/HaXml/XmlContent.hs:113:16: Warning:
    Pattern match(es) are non-exhaustive
    In a case alternative:
        Patterns not matched:
            (CString _ _ _) : _
            (CRef _ _) : _
            (CMisc _ _) : _

src/Text/XML/HaXml/XmlContent.hs:152:10: Warning:
    Orphan instance: instance XmlContent Char

src/Text/XML/HaXml/XmlContent.hs:162:10: Warning:
    Orphan instance: instance XmlContent a => XmlContent [a]

src/Text/XML/HaXml/XmlContent.hs:176:10: Warning:
    Orphan instance: instance XmlContent a => XmlContent (Maybe a)
[25 of 27] Compiling Text.XML.HaXml.Validate ( src/Text/XML/HaXml/Validate.hs, dist/build/XsdToHaskell/XsdToHaskell-tmp/Text/XML/HaXml/Validate.o )

src/Text/XML/HaXml/Validate.hs:228:32: Warning:
    This binding for `cps' shadows the existing binding
      bound at src/Text/XML/HaXml/Validate.hs:224:19

src/Text/XML/HaXml/Validate.hs:229:29: Warning:
    This binding for `cps' shadows the existing binding
      bound at src/Text/XML/HaXml/Validate.hs:224:19

src/Text/XML/HaXml/Validate.hs:231:32: Warning:
    This binding for `cps' shadows the existing binding
      bound at src/Text/XML/HaXml/Validate.hs:224:19

src/Text/XML/HaXml/Validate.hs:232:29: Warning:
    This binding for `cps' shadows the existing binding
      bound at src/Text/XML/HaXml/Validate.hs:224:19

src/Text/XML/HaXml/Validate.hs:235:33: Warning:
    This binding for `cps' shadows the existing binding
      bound at src/Text/XML/HaXml/Validate.hs:224:19

src/Text/XML/HaXml/Validate.hs:237:30: Warning:
    This binding for `cps' shadows the existing binding
      bound at src/Text/XML/HaXml/Validate.hs:224:19

src/Text/XML/HaXml/Validate.hs:240:21: Warning:
    This binding for `ns' shadows the existing binding
      bound at src/Text/XML/HaXml/Validate.hs:239:18
[26 of 27] Compiling Text.XML.HaXml   ( src/Text/XML/HaXml.hs, dist/build/XsdToHaskell/XsdToHaskell-tmp/Text/XML/HaXml.o )
[27 of 27] Compiling Main             ( src/tools/XsdToHaskell.hs, dist/build/XsdToHaskell/XsdToHaskell-tmp/Main.o )

src/tools/XsdToHaskell.hs:32:1: Warning:
    The import of `vcat'
    from module `Text.PrettyPrint.HughesPJ' is redundant
Linking dist/build/XsdToHaskell/XsdToHaskell ...
Running Haddock for HaXml-1.22.1...
Running hscolour for HaXml-1.22.1...
Preprocessing library HaXml-1.22.1...
Preprocessing executable 'Canonicalise' for HaXml-1.22.1...
Preprocessing executable 'CanonicaliseLazy' for HaXml-1.22.1...
Preprocessing executable 'Xtract' for HaXml-1.22.1...
Preprocessing executable 'Validate' for HaXml-1.22.1...
Preprocessing executable 'MkOneOf' for HaXml-1.22.1...
Preprocessing executable 'DtdToHaskell' for HaXml-1.22.1...
Preprocessing executable 'XsdToHaskell' for HaXml-1.22.1...
Preprocessing library HaXml-1.22.1...
Warning: The documentation for the following packages are not installed. No
links will be generated to these packages: random-1.0.1.1, text-0.11.2.3

src/Text/XML/HaXml/Schema/HaskellTypeModel.hs:98:40:
    parse error on input `XName'
Haddock coverage:
  40% (  2 /  5) in 'Text.XML.HaXml.Xtract.Lex'
  82% ( 14 / 17) in 'Text.XML.HaXml.Posn'
  80% (  8 / 10) in 'Text.XML.HaXml.Lex'
  75% ( 15 / 20) in 'Text.XML.HaXml.DtdToHaskell.TypeDef'
  50% (  1 /  2) in 'Text.XML.HaXml.DtdToHaskell.Instance'
  21% ( 18 / 86) in 'Text.XML.HaXml.Types'
   0% (  0 /  8) in 'Text.XML.HaXml.Escape'
  92% ( 11 / 12) in 'Text.XML.HaXml.Namespaces'
  84% ( 59 / 70) in 'Text.XML.HaXml.Combinators'
  87% ( 27 / 31) in 'Text.XML.HaXml.Parse'
  54% (  7 / 13) in 'Text.XML.HaXml.Pretty'
  22% (  9 / 40) in 'Text.XML.HaXml.Html.Generate'
 100% (  3 /  3) in 'Text.XML.HaXml.Html.Parse'
  75% (  3 /  4) in 'Text.XML.HaXml.Wrappers'
  75% (  3 /  4) in 'Text.XML.HaXml.Verbatim'
  54% (  7 / 13) in 'Text.XML.HaXml.ByteStringPP'
  50% (  1 /  2) in 'Text.XML.HaXml.DtdToHaskell.Convert'
 100% (  2 /  2) in 'Text.XML.HaXml.Html.ParseLazy'
  20% (  1 /  5) in 'Text.XML.HaXml.Html.Pretty'
  89% ( 25 / 28) in 'Text.XML.HaXml.ParseLazy'
  67% (  2 /  3) in 'Text.XML.HaXml.SAX'
   0% (  0 / 47) in 'Text.XML.HaXml.Schema.XSDTypeModel'
  90% (  9 / 10) in 'Text.XML.HaXml.Schema.NameConversion'
  20% ( 10 / 50) in 'Text.XML.HaXml.Schema.PrimitiveTypes'
  82% (  9 / 11) in 'Text.XML.HaXml.TypeMapping'
  70% ( 37 / 53) in 'Text.XML.HaXml.XmlContent.Parser'
 100% ( 17 / 17) in 'Text.XML.HaXml.XmlContent'
 100% (  3 /  3) in 'Text.XML.HaXml.Validate'
   0% (  0 / 20) in 'Text.XML.HaXml.OneOfN'
  93% ( 53 / 57) in 'Text.XML.HaXml.Schema.Parse'
Installing library in
/srv/hackage/var/build/tmp-install/lib/x86_64-linux-ghc-7.6.3/HaXml-1.22.1
Installing executable(s) in /srv/hackage/var/build/tmp-install/bin
Warning: The directory /srv/hackage/var/build/tmp-install/bin is not in the
system search path.
Registering HaXml-1.22.1...
Installed HaXml-1.22.1

Test log

No test log was submitted for this report.