patch applied (packages/HaXml): Use ByteString for output
(contributed by Jason Dagit, with modifications)
Duncan Coutts
duncan.coutts at worc.ox.ac.uk
Tue Nov 14 19:11:06 EST 2006
On Tue, 2006-11-14 at 16:21 +0000, Ian Lynagh wrote:
> On Mon, Nov 13, 2006 at 10:46:14AM -0800, Malcolm Wallace wrote:
> > Mon Nov 13 10:39:35 PST 2006 Malcolm.Wallace at cs.york.ac.uk
> > * Use ByteString for output (contributed by Jason Dagit, with modifications)
> > There are some new signatures in Text.XML.HaXml.XmlContent:
> > fpsShowXml
> > fpsWriteXml
> > fpsHPutXml
>
> I think bs* would make more sense than fps*, as PackedString I think
> will refer to the upcoming unicode-supporting bytestring-a-like (and
> even if you plan to switch them to that when it appears, I hope it won't
> have the "Fast" prefix as I think we should try to avoid carrying that
> around forever).
Yes, FPS was only a temporary name. As Ian says, in the end it'll be:
Data.ByteString -- for Word8/Char8
Data.PackedString -- for Char
So "ps" prefix is probably ok.
BTW, can HaXml parse from ByteString(.Lazy) ?
Duncan
More information about the Cvs-libraries
mailing list