[Haskell-cafe] Re: String vs ByteString

Daniel Fischer daniel.is.fischer at web.de
Fri Aug 13 11:49:08 EDT 2010


On Friday 13 August 2010 17:25:58, Gábor Lehel wrote:
> How about the case for text which is guaranteed to be in ascii/latin1?
> ByteString again?

If you can be sure that that won't change anytime soon, definitely.
Bonus points if you can write the code so that later changing to e.g. 
Data.Text requires only a change of imports.


More information about the Haskell-Cafe mailing list