
3 Mar
2011
3 Mar
'11
6:18 p.m.
2011/3/3 Bryan O'Sullivan
2011/3/3 Gábor Lehel
What is the benefit from removing String versions (as opposed to just adding ByteString (and/or Text) ones alongside them)?
Strings are unicode. A file descriptor handles bytes.
I understand, and agree that ByteStrings are more appropriate. I'm not particularly attached to Strings. It might nonetheless make sense to keep the String versions around for the convenience of people who happen to have gotten a String from somewhere (there are, after all, quite a few such places), and wish to output it to a file descriptor. -- Work is punishment for failing to procrastinate effectively.