summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--erlang.html.markdown2
1 files changed, 1 insertions, 1 deletions
diff --git a/erlang.html.markdown b/erlang.html.markdown
index d7040245..d4e95831 100644
--- a/erlang.html.markdown
+++ b/erlang.html.markdown
@@ -199,7 +199,7 @@ filter(P, [H|T]) ->
false -> filter(P, T)
end;
filter(P, []) -> [].
-filter(fun(X) -> X rem 2 == 0, [1, 2, 3, 4]). % [2, 4]
+filter(fun(X) -> X rem 2 == 0 end, [1, 2, 3, 4]). % [2, 4]
% `if` expressions.
max(X, Y) ->