[Haskell-cafe] ANNOUNCE: vector-bytestring-

Ivan Lazar Miljenovic ivan.miljenovic at gmail.com
Fri Oct 14 13:45:43 CEST 2011

On 14 October 2011 22:37, Bas van Dijk <v.dijk.bas at gmail.com> wrote:
> On 14 October 2011 12:58, Christian Maeder <Christian.Maeder at 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.Miljenovic at gmail.com

More information about the Haskell-Cafe mailing list