From 34bbd14189b70d2757bb8e973f6a768f9b3b3459 Mon Sep 17 00:00:00 2001 From: Daniel Barclay Date: Sun, 21 Aug 2016 12:38:04 -0400 Subject: Editorial: Italicized more defining occurrences of terms. --- spec/03-types.md | 22 ++++++++-------- spec/04-basic-declarations-and-definitions.md | 12 ++++----- spec/05-classes-and-objects.md | 6 ++--- spec/06-expressions.md | 36 +++++++++++++-------------- spec/07-implicits.md | 2 +- spec/08-pattern-matching.md | 24 +++++++++--------- spec/09-top-level-definitions.md | 6 ++--- 7 files changed, 54 insertions(+), 54 deletions(-) (limited to 'spec') diff --git a/spec/03-types.md b/spec/03-types.md index 94b7916634..3f433b4d90 100644 --- a/spec/03-types.md +++ b/spec/03-types.md @@ -105,7 +105,7 @@ forms. SimpleType ::= Path ‘.’ type ``` -A singleton type is of the form $p.$`type`, where $p$ is a +A _singleton type_ is of the form $p.$`type`, where $p$ is a path pointing to a value expected to [conform](06-expressions.html#expression-typing) to `scala.AnyRef`. The type denotes the set of values consisting of `null` and the value denoted by $p$. @@ -119,7 +119,7 @@ declared to be a subtype of trait `scala.Singleton`. SimpleType ::= SimpleType ‘#’ id ``` -A type projection $T$#$x$ references the type member named +A _type projection_ $T$#$x$ references the type member named $x$ of type $T$.