[Haskell-cafe] Bytestrings and [Char]
jochem at functor.nl
Mon Mar 22 10:42:55 EDT 2010
David Leimbach wrote:
> On Mon, Mar 22, 2010 at 6:10 AM, Johan Tibell <johan.tibell at gmail.com
> <mailto:johan.tibell at gmail.com>> wrote:
> On Mon, Mar 22, 2010 at 1:16 PM, Johann Höchtl
> <johann.hoechtl at gmail.com <mailto: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.
> Slight correction.
> A sequence of bytes is exactly the same thing as a sequence of Unicode
> bytes when you use UTF8.
What is a "Unicode byte"?
Jochem Berndsen | jochem at functor.nl
More information about the Haskell-Cafe