|
Subject: BitSyntax for Haskell Newsgroups: gmane.comp.lang.haskell.general Date: 2006-09-23 22:00:33 GMT (2 years, 40 weeks, 5 days, 13 hours and 53 minutes 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 agl <at> imperialviolet.org |
|
|