elixir: shorten some sentences

This commit is contained in:
Rico Sta. Cruz 2018-03-17 13:25:56 +08:00
parent f81377fb28
commit ba6239e7e9
No known key found for this signature in database
GPG Key ID: CAAD38AE2962619A
1 changed files with 3 additions and 2 deletions

View File

@ -105,6 +105,7 @@ Pattern matching works in function parameters too.
Control flow Control flow
------------ ------------
{: .-three-column}
### If ### If
@ -122,9 +123,9 @@ case {1, 2, 3} do
{4, 5, 6} -> {4, 5, 6} ->
"This clause won't match" "This clause won't match"
{1, x, 3} -> {1, x, 3} ->
"This clause will match and bind x to 2 in this clause" "This will match and bind x to 2"
_ -> _ ->
"This clause would match any value" "This will match any value"
end end
``` ```