From b0a536e9e52f33d03035d7f179878397bc0ba46f Mon Sep 17 00:00:00 2001 From: "M. Peter" Date: Fri, 9 Feb 2018 14:28:32 +0100 Subject: [PATCH] fixed cond default The do a cond default you have to use `true ->` instead of `_ ->` --- elixir.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/elixir.md b/elixir.md index d9ed705a5..22fcae60e 100644 --- a/elixir.md +++ b/elixir.md @@ -125,7 +125,7 @@ cond do "I will never be seen" 2 * 5 == 12 -> "Me neither" - _ -> + true -> "But I will (this is essentially an else)" end ```