I have a nice Haskell-ish syntax. 1 SLOC of that approx= 1.6 Erlang SLOC, determined by rewriting several Erlang modules. However, there have been changes since then (such as the bit syntax), so it would need revising.