Home
Reading
Searching
Subscribe
Sponsors
Statistics
Posting
Contact
Spam
Lists
Links
About
Hosting
Filtering
Features Download
Marketing
Archives
FAQ
Blog
 
Gmane
From: Adam Langley <alangley <at> gmail.com>
Subject: BitSyntax for Haskell
Newsgroups: gmane.comp.lang.haskell.general
Date: Saturday 23rd September 2006 22:00:33 UTC (over 11 years ago)
Erlang's bit syntax[1] is a great for building and breaking up binary
structures. I've knocked up something similar (although a little
clumsy) for Haskell:

http://www.imperialviolet.org/binary/bitsyntax/
http://www.imperialviolet.org/binary/bitsyntax/BitSyntax.hs

I'm sure that this isn't the best possible way to do this, but it
suffices at this stage for many problems.

[1] http://www.erlang.org/doc/doc-5.4.12/doc/programming_examples/bit_syntax.html

-- 
Adam Langley                                      [email protected]
 
CD: 3ms