[Haskell-cafe] Re: FastString a misnomer

Aaron Denney wnoise at ofb.net
Fri Oct 21 15:10:28 EDT 2005


On 2005-10-21, Udo Stenzel <u.stenzel at web.de> wrote:
>
> --===============1618538460==
> Content-Type: multipart/signed; micalg=pgp-sha1;
> 	protocol="application/pgp-signature"; boundary="vGgW1X5XWziG23Ko"
> Content-Disposition: inline
>
>
> --vGgW1X5XWziG23Ko
> Content-Type: text/plain; charset=us-ascii
> Content-Disposition: inline
> Content-Transfer-Encoding: quoted-printable
>
> John Meacham wrote:
>> We should make 'PackedString' the UTF8 wrapper though and provide
>> Data.ByteArray as a separate library.
>
> What exactly would an UTF8 wrapper do?  Would it have a different
> interface than a list (cons/nil/null/head/tail) and how would that be
> implemented?  If not, why isn't a list good enough?

One could grab by-character rather than by-byte.

-- 
Aaron Denney
-><-



More information about the Haskell-Cafe mailing list