A port of Prelude-LS to Erlang.