aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xchallenge-277/packy-anderson/elixir/ch-1.exs1
1 files changed, 1 insertions, 0 deletions
diff --git a/challenge-277/packy-anderson/elixir/ch-1.exs b/challenge-277/packy-anderson/elixir/ch-1.exs
index 2596d6539c..c297c67fe5 100755
--- a/challenge-277/packy-anderson/elixir/ch-1.exs
+++ b/challenge-277/packy-anderson/elixir/ch-1.exs
@@ -31,6 +31,7 @@ defmodule Multiset do
def multiplicity(multiset, value)
def multiplicity(%Multiset{map: map}, value), do: Map.get(map, value, 0)
end
+
defmodule PWC do
def countCommon(words1, words2) do
# make Multisets that count the words