Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
12 lines (10 sloc) 175 Bytes
# This is a comment
defmodule Math do
def sum(a, b), do: a + b
@doc """
Sum a list of numbers
"""
def sum_list(list) do
Enum.reduce list, &Kernel.+/2
end
end