Skip to content
Permalink
master
Switch branches/tags
Go to file
 
 
Cannot retrieve contributors at this time
11 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