Oops. Ben Gamari <bgamari.f...@gmail.com> писал(а) в своём письме Tue, 04 Jun 2013 04:41:53 +0300:
To be perfectly clear, ByteString and Text target much different use-cases and are hardly interchangeable. While ByteString is, as the name suggests, a string of bytes, Text is a string of characters in a Unicode encoding. When you are talking about unstructured binary data, you should most certainly be using ByteString.
Why create a special case? Right now you should use ByteString, yes, but I wish I could just use a generic array of Word8. _______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe