[Haskell-cafe] String vs ByteString

Erik de Castro Lopo mle+hs at mega-nerd.com
Fri Aug 13 07:32:39 EDT 2010


Hi all,

I'm using Tagsoup to strip data out of some rather large XML files.

Since the files are large I'm using ByteString, but that leads me
to wonder what is the best way to handle clashes between Prelude
functions like putStrLn and the ByteString versions?

Anyone have any suggestions for doing this as neatly as possible?

Erik
-- 
----------------------------------------------------------------------
Erik de Castro Lopo
http://www.mega-nerd.com/


More information about the Haskell-Cafe mailing list