This is a fairer example for Elixir (if comparing succinctness)...

    def sum(a, b), do: a+b