[Haskell-beginners] When to use ByteString rather than [Char] ... ?

Stephen Tetley stephen.tetley at gmail.com
Sun Apr 11 09:29:38 EDT 2010


Hi James

There's a paper describing the implementation of ByteStrings here:

http://www.cse.unsw.edu.au/~dons/papers/CSL06.html
http://www.cse.unsw.edu.au/~dons/papers/fusion.pdf

For my own work, I generally need short immutable strings and haven't
found ByteStrings compelling, though the results presented in the
above suggest [Char] is better at nothing and worse at many things.
[Hmm - insert emoticon here]

Best wishes

Stephen


More information about the Beginners mailing list