diff options
author | Iain McGinniss <iainmcgin@gmail.com> | 2013-02-19 15:15:37 +0000 |
---|---|---|
committer | Iain McGinniss <iainmcgin@gmail.com> | 2013-02-19 15:15:37 +0000 |
commit | 3404f54a8a7c5844a1f402241f97e56b3ba9e53e (patch) | |
tree | 169e00490ae47c8fa50d07d932462ba6eb33ed12 | |
parent | 990d4f0ab3ec7ea42935c9164cd7faa25b585a92 (diff) | |
download | scala-3404f54a8a7c5844a1f402241f97e56b3ba9e53e.tar.gz scala-3404f54a8a7c5844a1f402241f97e56b3ba9e53e.tar.bz2 scala-3404f54a8a7c5844a1f402241f97e56b3ba9e53e.zip |
fix for undefined macro
-rw-r--r-- | 07-classes-and-objects.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/07-classes-and-objects.md b/07-classes-and-objects.md index 881bca36d5..1be54809a8 100644 --- a/07-classes-and-objects.md +++ b/07-classes-and-objects.md @@ -920,7 +920,7 @@ method is defined as follows: def copy[$\mathit{tps}\,$]($\mathit{ps}'_1\,$)$\ldots$($\mathit{ps}'_n$): $c$[$\mathit{tps}\,$] = new $c$[$\mathit{Ts}\,$]($\mathit{xs}_1\,$)$\ldots$($\mathit{xs}_n$) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -Again, $\Ts$ stands for the vector of types defined in the type parameter section $\mathit{tps}$ +Again, $\mathit{Ts}$ stands for the vector of types defined in the type parameter section $\mathit{tps}$ and each $\mathit{xs}_i$ denotes the parameter names of the parameter section $\mathit{ps}'_i$. Every value parameter $\mathit{ps}'_{i,j}$ of the `copy` method has the form `$x_{i,j}$:$T_{i,j}$=this.$x_{i,j}$`, where $x_{i,j}$ and $T_{i,j}$ refer to the name and type of the corresponding class parameter |