Skip to content

Commit 1a74ddb

Browse files
author
José Valim
committed
Be clear we are discussing the example above, closes elixir-lang#657
1 parent 7881362 commit 1a74ddb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: getting-started/case-cond-and-if.markdown

+1-1
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,7 @@ iex> if true, do: 1 + 2
223223
3
224224
```
225225

226-
Notice how the second example has a comma between `true` and `do:`, that's because it is using Elixir's regular syntax where each argument is separated by comma. We say this syntax is using **keyword lists**. We can pass `else` using keywords too:
226+
Notice how the example above has a comma between `true` and `do:`, that's because it is using Elixir's regular syntax where each argument is separated by comma. We say this syntax is using **keyword lists**. We can pass `else` using keywords too:
227227

228228
```iex
229229
iex> if false, do: :this, else: :that

0 commit comments

Comments
 (0)