No subject


Tue Jul 10 21:58:59 BST 2012


ByteString, where it uses it's own toLower function optimized for just
ISO-8859-1.

- Mark

--f46d04089151f6abd404d3c0b8a9
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">Okay, my bad - case-insensitive <b>IS</b> doing the right =
thing for ByteString. (At least if you believe that treating ByteString as =
ISO-8859-1 encoded is the right thing!)<div><br></div><div style>However, n=
ote that it is folding two different ways:</div>

<div style><br></div><div style>In 0.4.0.2 and earlier, it was mapping Data=
.Char&#39;s toLower for all types except Text (where it was using Text&#39;=
s toCaseFold)</div><div style>From 0.4.0.3 and on, it is using Text&#39;s t=
oCaseFold for all types, except ByteString, where it uses it&#39;s own toLo=
wer function=C2=A0optimized=C2=A0for just ISO-8859-1.</div>

<div style><br></div><div style>- Mark</div></div>

--f46d04089151f6abd404d3c0b8a9--



More information about the Haskell-platform mailing list