[Haskell-cafe] Yi and Data.ByteString

pierre k.pierre.k at gmail.com
Mon Jan 21 14:28:40 EST 2008


On Mon, Jan 21, 2008 at 07:12:26PM +0100, Cetin Sert wrote:
> 2) When if ever is Data.ByteString going to be the default string
> representation in GHC?

Why would you need such a thing? ByteStrings don't have any unicode
support, and they can be quite slow for small strings. They are just a
different tool for different task.

But if you wish, you could use string literals as bytestrings with
-XOverloadedStrings ghc (>=6.8) flag

> Best Regards,
> Cetin Sert
> www.corsis.de


More information about the Haskell-Cafe mailing list