[Haskell-beginners] Haskell Serialization

Daniel Fischer daniel.is.fischer at web.de
Tue May 11 15:41:56 EDT 2010


On Tuesday 11 May 2010 21:01:19, Stephen Tetley wrote:
> On 11 May 2010 19:16, Daniel Fischer <daniel.is.fischer at web.de> wrote:
> > Int8 and Word8 are unproblematic (unless you have a ones-complement
> > machine), the problems appear only for larger types, [SNIP]
>
> Hi Daniel
>
> Likely I was revealing a personal bias on that one, the only protocol
> I've implemented where Int8 has featured has been MIDI.
>
> If MIDI isn't ones-complement, my codes - I've written decoders /
> encoders several times - have been wrong for years...

I've no idea how MIDI messages/files/streams are interpreted, I was 
thinking about the hardware, how the ALU interprets the bit-pattern for 
arithmetic.

>
> Best wishes
>
> Stephen



More information about the Beginners mailing list