Re: [Haskell-cafe] Re: src/Text/XML/HaXml/Lex.hs:(156, 0)-(160, 22): Non-exhaustive patterns in function white

2010-07-23 Thread Malcolm Wallace
Calls which successfully returned some binary data before do not do so anymore. The error is: Prelude.chr: bad argument: 1177427 I can't help with this one. As Gracjan noted, it is probably because your binary data is not valid as UTF-8 text. Calls which complained about 'white' function n

[Haskell-cafe] Re: src/Text/XML/HaXml/Lex.hs:(156, 0)-(160, 22): Non-exhaustive patterns in function white

2010-07-23 Thread Gracjan Polak
Alexander Kotelnikov myxomop.com> writes: > > > On Wed, 21 Jul 2010 06:46:26 + (UTC) > > "GP" == Gracjan Polak gmail.com> wrote: > GP> > GP> Antoine Latter gmail.com> writes: > >> Sending off to the maintainer of haxr, although it looks like it might > >> be in HaXml (from an outs

[Haskell-cafe] Re: src/Text/XML/HaXml/Lex.hs:(156, 0)-(160, 22): Non-exhaustive patterns in function white

2010-07-21 Thread Alexander Kotelnikov
So updated to HaXml 1.20, haxr 3000.7 Simple calls (which deal with simple data types as integer or regular string) still work. Calls which successfully returned some binary data before do not do so anymore. The error is: Prelude.chr: bad argument: 1177427 Calls which complained about 'white' fu

[Haskell-cafe] Re: src/Text/XML/HaXml/Lex.hs:(156, 0)-(160, 22): Non-exhaustive patterns in function white

2010-07-21 Thread Alexander Kotelnikov
> On Wed, 21 Jul 2010 01:40:08 -0700 (PDT) > "mw" == malcolm wallace wrote: mw> mw> Judging solely by the error message (non-exhaustive patterns in mw> 'white'), it sounds like it could be a bug in HaXml that was fixed mw> in a patch of April 2009.  Try using a more recent release of mw>

[Haskell-cafe] Re: src/Text/XML/HaXml/Lex.hs:(156, 0)-(160, 22): Non-exhaustive patterns in function white

2010-07-21 Thread Alexander Kotelnikov
> On Wed, 21 Jul 2010 06:46:26 + (UTC) > "GP" == Gracjan Polak wrote: GP> GP> Antoine Latter gmail.com> writes: >> Sending off to the maintainer of haxr, although it looks like it might >> be in HaXml (from an outside guess). GP> GP> Without some real example to look at it will be q

[Haskell-cafe] Re: src/Text/XML/HaXml/Lex.hs:(156, 0)-(160, 22): Non-exhaustive patterns in function white

2010-07-20 Thread Gracjan Polak
Antoine Latter gmail.com> writes: > Sending off to the maintainer of haxr, although it looks like it might > be in HaXml (from an outside guess). Without some real example to look at it will be quite tough to proceed. Alexander, can you send that stream of packets to me? -- Gracjan _