diff options
author | Seth Tisue <seth@tisue.net> | 2017-04-10 11:10:13 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-04-10 11:10:13 -0500 |
commit | 2ba0530218daa170df5f1d25f7b39ab8cb8d0cf7 (patch) | |
tree | 27882766df67589849020c88dfcea69a10928e0b /spec/04-basic-declarations-and-definitions.md | |
parent | f9514bb3ec70e63fa6a1ac65dd9d4e34a30529fe (diff) | |
parent | b9f5211ffd0d097d4caffc40ced8d280e632f460 (diff) | |
download | scala-2ba0530218daa170df5f1d25f7b39ab8cb8d0cf7.tar.gz scala-2ba0530218daa170df5f1d25f7b39ab8cb8d0cf7.tar.bz2 scala-2ba0530218daa170df5f1d25f7b39ab8cb8d0cf7.zip |
Merge pull request #5801 from janekdb/topic/2.12/spec-trailing-punctuation
Consistify trailing punctuation in spec
Diffstat (limited to 'spec/04-basic-declarations-and-definitions.md')
-rw-r--r-- | spec/04-basic-declarations-and-definitions.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/04-basic-declarations-and-definitions.md b/spec/04-basic-declarations-and-definitions.md index c4d3425fff..5e055228f1 100644 --- a/spec/04-basic-declarations-and-definitions.md +++ b/spec/04-basic-declarations-and-definitions.md @@ -91,7 +91,7 @@ expands to ```scala case object Red extends Color case object Green extends Color -case object Blue extends Color . +case object Blue extends Color ``` --> @@ -144,7 +144,7 @@ value definition `val $p$ = $e$` is expanded as follows: val $\$ x$ = $e$ match {case $p$ => ($x_1 , \ldots , x_n$)} val $x_1$ = $\$ x$._1 $\ldots$ -val $x_n$ = $\$ x$._n . +val $x_n$ = $\$ x$._n ``` Here, $\$ x$ is a fresh name. |