summaryrefslogtreecommitdiff
path: root/spec/08-pattern-matching.md
diff options
context:
space:
mode:
authorAntoine Gourlay <antoine@gourlay.fr>2014-09-15 14:08:17 +0200
committerAntoine Gourlay <antoine@gourlay.fr>2014-09-17 13:40:10 +0200
commitd24ad908451e42925fe6be9995235bf2b4de1b39 (patch)
tree11e881ecbf6698b292d126d1f10d051069d1ca1a /spec/08-pattern-matching.md
parent3b0c71df60a41e13e47ec9ae8dbc606e1928aba8 (diff)
downloadscala-d24ad908451e42925fe6be9995235bf2b4de1b39.tar.gz
scala-d24ad908451e42925fe6be9995235bf2b4de1b39.tar.bz2
scala-d24ad908451e42925fe6be9995235bf2b4de1b39.zip
spec: fix broken links and anchors, including examples
For examples, the "name" of the example (like "Example Ordered") is only used to derived its html id so that one can link to it (see `layouts/default.yml`). Ideally all examples should have a name; here I only added enough to satisfy existing links.
Diffstat (limited to 'spec/08-pattern-matching.md')
-rw-r--r--spec/08-pattern-matching.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/08-pattern-matching.md b/spec/08-pattern-matching.md
index b23be5bbb6..8e224de8d2 100644
--- a/spec/08-pattern-matching.md
+++ b/spec/08-pattern-matching.md
@@ -268,7 +268,7 @@ p_n$.
An infix operation pattern $p;\mathit{op};q$ is a shorthand for the
constructor or extractor pattern $\mathit{op}(p, q)$. The precedence and
associativity of operators in patterns is the same as in
-[expressions](06-expressions.html#prefix-infix-and-postfix-operations).
+[expressions](06-expressions.html#prefix,-infix,-and-postfix-operations).
An infix operation pattern $p;\mathit{op};(q_1 , \ldots , q_n)$ is a
shorthand for the constructor or extractor pattern $\mathit{op}(p, q_1