
18 Jun
2008
18 Jun
'08
2:07 p.m.
On Wed, Jun 18, 2008 at 11:00 AM, Adam Langley
On Wed, Jun 18, 2008 at 10:52 AM, Don Stewart
wrote: Would you recommend binary-strict over bitsyntax now? Or are none yet entirely satisfactory
Probably, yes. Bitsyntax was, after all, the first Haskell code I ever wrote :) It works, but I think the monad style of binary-strict is better.
If you provide Applicative and Alternative instances for your getter monads (perhaps you already do?), that will get us very close to the kind of notational succinctness that Erlang's bit-level pattern matching gives, using entirely general Haskell mechanisms, and without the fuglitude of TH. That, I think, would be just lovely.