Ticket #64 (new enhancement)
Define specific Show and Read instances for vectors of Chars and Word8s that show and read like Strings
|Reported by:||basvandijk||Owned by:|
When working with vectors of Chars and Word8s (think ByteStrings) it is very handy for debugging and working in a REPL if they are shown and read as Strings. Note that traditional ByteStrings also have this behavior.
As a reaction to my vector-bytestring package a few people on reddit and on the haskell-cafe mailinglist proposed turning the ByteString type synonym into a newtype with the desired Show and Read instance. I don't really like this but I agree with the need for a specific instance.
The attached patch adds the specific instances to vector.