Erlang language-layer hacks