On 14 October 2011 22:37, Bas van Dijk <[email protected]> wrote: > On 14 October 2011 12:58, Christian Maeder <[email protected]> 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 [email protected] IvanMiljenovic.wordpress.com _______________________________________________ Haskell-Cafe mailing list [email protected] http://www.haskell.org/mailman/listinfo/haskell-cafe
