diff options
author | michelou <michelou@epfl.ch> | 2005-05-27 12:33:57 +0000 |
---|---|---|
committer | michelou <michelou@epfl.ch> | 2005-05-27 12:33:57 +0000 |
commit | 3371e4627e0eed75b1af852e6ea4dcec31112ac1 (patch) | |
tree | 679b2b2f457d041ada150f73b4287c2c717b9cbe /doc | |
parent | af1a7619f6fb4fc77eab97440648643dcc8f3833 (diff) | |
download | scala-3371e4627e0eed75b1af852e6ea4dcec31112ac1.tar.gz scala-3371e4627e0eed75b1af852e6ea4dcec31112ac1.tar.bz2 scala-3371e4627e0eed75b1af852e6ea4dcec31112ac1.zip |
- changed 'e.match' to 'e match'.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/reference/ExamplesPart.tex | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/reference/ExamplesPart.tex b/doc/reference/ExamplesPart.tex index 8315cf519a..c23bf4a9b5 100644 --- a/doc/reference/ExamplesPart.tex +++ b/doc/reference/ExamplesPart.tex @@ -2103,7 +2103,7 @@ since the pattern variable \code{x} occurs twice in it. \paragraph{Meaning of Pattern Matching} A pattern matching expression \begin{lstlisting} -e.match { case p$_1$ => e$_1$ ... case p$_n$ => e$_n$ } +e match { case p$_1$ => e$_1$ ... case p$_n$ => e$_n$ } \end{lstlisting} matches the patterns $p_1 \commadots p_n$ in the order they are written against the selector value \code{e}. |