[Haskell-cafe] Re: String vs ByteString

Erik de Castro Lopo mle+hs at mega-nerd.com
Fri Aug 13 18:44:31 EDT 2010


Ketil Malde wrote:

> Haskell does have a standard representation for strings, namely [Char].
> Unfortunately, this sacrifices efficiency for elegance, which gives rise
> to the plethora of libraries.

To have the default standard representation be one that works
so poorly for many common everyday tasks such as mangling
large chunks of XML is a large part of the problem.

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


More information about the Haskell-Cafe mailing list