From 8bcd7d2c94c093f82da065576dfb9a1da4405a66 Mon Sep 17 00:00:00 2001 From: Jay Hayes Date: Mon, 2 May 2016 12:17:55 -0500 Subject: [PATCH] Reword function pattern matching example --- lib/koans/07_pattern_matching.ex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/koans/07_pattern_matching.ex b/lib/koans/07_pattern_matching.ex index 2365448..6d15afa 100644 --- a/lib/koans/07_pattern_matching.ex +++ b/lib/koans/07_pattern_matching.ex @@ -69,7 +69,7 @@ defmodule PatternMatching do def make_noise(%{type: "dog"}), do: "Woof" def make_noise(_anything), do: "Eh?" - koan "Functions can declare what kind of arguments they accept" do + koan "Functions perform pattern matching on their arguments" do cat = %{type: "cat"} dog = %{type: "dog"} snake = %{type: "snake"}