Remove whitespace in erlang snippets