On Thu 2008-05-29 19:19, Tom Harper wrote:
> > Why not just read it into a lazy ByteString?  Are you looking to use an
> > array with elements of a different type?  You could then convert it to a
> > strict ByteString.
> >
> Because I'm writing the Unicode-friendly ByteString =p

Uh, ByteString is Unicode-agnostic.  ByteString.Char8 is not.  So why not do IO
with lazy ByteString and parse into your own representation (which might look a
lot like StorableVector)?

Jed

Attachment: pgpCfBIxeQ4l0.pgp
Description: PGP signature

_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to