From d5bb139c0c924b2e769dce8392f2b7e53ef3540a Mon Sep 17 00:00:00 2001 From: michelou Date: Mon, 24 Nov 2003 18:40:36 +0000 Subject: - corrected minor typos --- doc/reference/ScalaReference.tex | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'doc') diff --git a/doc/reference/ScalaReference.tex b/doc/reference/ScalaReference.tex index 8b57be5ea4..c108b8e745 100644 --- a/doc/reference/ScalaReference.tex +++ b/doc/reference/ScalaReference.tex @@ -85,7 +85,7 @@ upper case letters ~\lstinline@`A' | $\ldots$ | `Z' | `$\Dollar$' | `_'@. which are in none of the sets above. \end{enumerate} -These sets are extended in the usual way to unicode\notyet (i.e.\ as in Java). +These sets are extended in the usual way to Unicode\notyet (i.e.\ as in Java). Unicode encodings \lstinline@`\uXXXX'@ are also as in Java. \section{Identifiers} @@ -140,7 +140,7 @@ val var while with yield _ : = => <- <: >: # @ \end{lstlisting} -The unicode operator `\lstinline@=>@' has the ascii equivalent +The Unicode operator `\lstinline@=>@' has the ASCII equivalent `$=>$', which is also reserved\notyet. \example @@ -183,11 +183,11 @@ Such a symbol literal is a shorthand for the application \begin{lstlisting} scala.Symbol("$x$") \end{lstlisting} -of the facotry method for the standard case class \code{Symbol} to the string "x". +of the factory method for the standard case class \code{Symbol} to the string "x". \section{Whitespace and Comments} -Tokens may be separated by whitespace characters (ascii codes 0 to 32) +Tokens may be separated by whitespace characters (ASCII codes 0 to 32) and/or comments. Comments come in two forms: A single-line comment is a sequence of characters which starts with @@ -285,7 +285,7 @@ consisting of class types and possibly also a refinement (\sref{sec:refinements}) that further constrains the types of its members. -A shorthands exists for denoting function types +A shorthand exists for denoting function types (\sref{sec:function-types}). Abstract value types are introduced by type parameters and abstract type bindings (\sref{sec:typedcl}). Parentheses in types are used for grouping. -- cgit v1.2.3