
14 Oct
2011
14 Oct
'11
7:45 a.m.
On 14 October 2011 22:37, Bas van Dijk
On 14 October 2011 12:58, Christian Maeder
wrote: Would it not be simple to use a newtype for ByteString (rather than a synonym)?
If there's need for a specific Show instance for Vectors of Word8s we can always add one directly to vector. (Roman, what are your thoughts on this?)
I suppose you could add a newtype wrapper, but it _would_ require duplicating the API to do so. Though I would argue that unless you're trying to actually use for Show/Read for serialisation, does it really matter what the Show/Read instances for Bytestring are? -- Ivan Lazar Miljenovic Ivan.Miljenovic@gmail.com IvanMiljenovic.wordpress.com