Update description of piping

This commit is contained in:
Jay Hayes
2016-05-04 19:33:27 -05:00
parent f5af10d87a
commit c9b20bb09a

View File

@@ -77,7 +77,7 @@ defmodule Functions do
assert times_five_and_then(2, cube) == ___
end
koan "Functions can be combined elegantly with the pipe operator" do
koan "The result of a function can be piped into the first argument of another function" do
result = "full-name"
|> String.split("-")
|> Enum.map(&(String.capitalize(&1)))