On 26.09 10:01, Adam Langley wrote:
For the decoding part:
* Provide a monadic interface
Are you suggesting a monad to pass in the input around, or that it
returns mzero on error? The latter makes more sense to me.
Yes. Also make it possible for user supplied functions to fail
in better
On 23.09 15:00, Adam Langley wrote:
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
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