[Haskell-cafe] Bit streams

Malcolm Wallace Malcolm.Wallace at cs.york.ac.uk
Wed Jun 18 08:36:40 EDT 2008


Andrew Coppin <andrewcoppin at btinternet.com> wrote:

> It appears the library will only handle
> data that  is byte-aligned. So if I try to write three Bool values, it
> uses three  bytes, not three bits.

The original Binary library, circa 1998, was based on bit-streams rather
than bytes.  You might be able to dig up a copy and bring it back to
life.

http://citeseer.ist.psu.edu/wallace98bits.html
ftp://ftp.cs.york.ac.uk/pub/malcolm/ismm98.html

Regards,
    Malcolm


More information about the Haskell-Cafe mailing list