Erlang binding for elliptics