elixir-lang/elixir-lang.github.com

Broken link to do-end syntax explaination

ElliotGilchrist opened this issue · 0 comments

In the "Modules and Functions" page, it says "as we learned do-end is a convenient syntax for the keyword list format" and links to a nonexistent section of the "case, cond, and if" page.

Similar to constructs like `if`, named functions support both `do:` and `do`-`end` block syntax, as [we learned `do`-`end` is a convenient syntax for the keyword list format](/getting-started/case-cond-and-if.html#doend-blocks). For example, we can edit `math.exs` to look like this:

It looks like that section was moved recently and this page was never updated to reflect that.