On 14 October 2011 22:37, Bas van Dijk <v.dijk....@gmail.com> wrote: > On 14 October 2011 12:58, Christian Maeder <christian.mae...@dfki.de> 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.miljeno...@gmail.com IvanMiljenovic.wordpress.com _______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe