diff options
| author | David Hsieh <davidhsiehlo@gmail.com> | 2016-03-11 08:39:55 -0600 | 
|---|---|---|
| committer | David Hsieh <davidhsiehlo@gmail.com> | 2016-03-11 08:39:55 -0600 | 
| commit | ceb99e14019672309ca80350054b7bb1a6642a48 (patch) | |
| tree | 1cca5af13a146c0a36ef760b6264d18875290ec0 /elixir.html.markdown | |
| parent | 51c2f7ce28caf1cc654bcafc4063f3012cc2f0c3 (diff) | |
| parent | 8d1e2e31ef9c62e2833ccb83cde78caef668f044 (diff) | |
Merge branch 'adambard-master' into r-spanish
Diffstat (limited to 'elixir.html.markdown')
| -rw-r--r-- | elixir.html.markdown | 6 | 
1 files changed, 4 insertions, 2 deletions
| diff --git a/elixir.html.markdown b/elixir.html.markdown index eedeb227..eb708576 100644 --- a/elixir.html.markdown +++ b/elixir.html.markdown @@ -170,7 +170,7 @@ case {:one, :two} do    {:four, :five} ->      "This won't match"    {:one, x} -> -    "This will match and bind `x` to `:two`" +    "This will match and bind `x` to `:two` in this clause"    _ ->      "This will match any value"  end @@ -343,6 +343,7 @@ rescue    RuntimeError -> "rescued a runtime error"    _error -> "this will rescue any error"  end +#=> "rescued a runtime error"  # All exceptions have a message  try do @@ -351,6 +352,7 @@ rescue    x in [RuntimeError] ->      x.message  end +#=> "some error"  ## ---------------------------  ## -- Concurrency @@ -409,7 +411,7 @@ self() #=> #PID<0.27.0>  ## References -* [Getting started guide](http://elixir-lang.org/getting_started/1.html) from [elixir webpage](http://elixir-lang.org) +* [Getting started guide](http://elixir-lang.org/getting-started/introduction.html) from the [Elixir website](http://elixir-lang.org)  * [Elixir Documentation](http://elixir-lang.org/docs/master/)  * ["Programming Elixir"](https://pragprog.com/book/elixir/programming-elixir) by Dave Thomas  * [Elixir Cheat Sheet](http://media.pragprog.com/titles/elixir/ElixirCheat.pdf) | 
