Incorporate feedback about usued elements and typos

This commit is contained in:
Felipe Sere
2016-04-25 22:40:00 +01:00
parent ab72b0e908
commit 1357235f8a
3 changed files with 2 additions and 19 deletions

View File

@@ -9,7 +9,7 @@ defmodule Tracker do
def get do
Agent.get(__MODULE__, &(&1))
|> summirize
|> summarize
end
def completed(koan) do
@@ -18,7 +18,7 @@ defmodule Tracker do
end)
end
def summirize({total, completed}) do
def summarize({total, completed}) do
%{total: total, current: MapSet.size(completed)}
end
end