On Wed, Dec 9, 2009 at 11:33 AM, John D. Earle <[email protected]> wrote:
> My interest isn't actually to push around characters. I do enough of that.
> What I really want to do is push bits and not bytes.

I thought that fgetc and fputc worked on bytes, not bits?

I've had great luck using the binary package to produce structured
binary data. If it's overkill for what you're trying to do then I
recommend the bytestring package.

See:

http://hackage.haskell.org/package/binary
http://hackage.haskell.org/package/bytestring

Antoine
_______________________________________________
Haskell-Cafe mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to