diff options
author | Iain McGinniss <iainmcgin@gmail.com> | 2013-02-19 15:19:16 +0000 |
---|---|---|
committer | Iain McGinniss <iainmcgin@gmail.com> | 2013-02-19 15:19:16 +0000 |
commit | 94198c735d96de2d7fd247f3a16e5a2d79c770ed (patch) | |
tree | d0b0259ceaaf22f054e58198edba20b6066898a2 | |
parent | ea177a215d2c8c445f611495918e598ed109d462 (diff) | |
download | scala-94198c735d96de2d7fd247f3a16e5a2d79c770ed.tar.gz scala-94198c735d96de2d7fd247f3a16e5a2d79c770ed.tar.bz2 scala-94198c735d96de2d7fd247f3a16e5a2d79c770ed.zip |
fixed reference to class diagram
fixed undefined macro
-rw-r--r-- | 14-the-scala-standard-library.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/14-the-scala-standard-library.md b/14-the-scala-standard-library.md index 6755ca5f60..da3d1f75ab 100644 --- a/14-the-scala-standard-library.md +++ b/14-the-scala-standard-library.md @@ -5,7 +5,7 @@ The Scala standard library consists of the package `scala` with a number of classes and modules. Some of these classes are described in the following. -![Class hierarchy of Scala](classhierarchy.pdf) +![Class hierarchy of Scala](resources/classhierarchy.pdf) Root Classes @@ -101,7 +101,7 @@ $x$ match { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ where the type $T'$ is the same as $T$ except if $T$ is -of the form $D$ or $D[\tps]$ where $D$ is a type member of some outer +of the form $D$ or $D[\mathit{tps}]$ where $D$ is a type member of some outer class $C$. In this case $T'$ is `$C$#$D$` (or `$C$#$D[tps]$`, respectively), whereas $T$ itself would expand to `$C$.this.$D[tps]$`. In other words, an |