[Haskell-cafe] Bytestrings and [Char]

Johan Tibell johan.tibell at gmail.com
Mon Mar 22 09:10:01 EDT 2010


On Mon, Mar 22, 2010 at 1:16 PM, Johann Höchtl <johann.hoechtl at gmail.com> wrote:
> My question or discussion point: Why not depreciate [Char] altogether
> and favour of lazy Bytestrings?

A sequence of bytes is not the same thing as a sequence of Unicode
code points. If you want to replace String by something more efficient
have a look at Data.Text.

-- Johan


More information about the Haskell-Cafe mailing list