diff options
author | michelou <michelou@epfl.ch> | 2003-11-24 18:40:36 +0000 |
---|---|---|
committer | michelou <michelou@epfl.ch> | 2003-11-24 18:40:36 +0000 |
commit | d5bb139c0c924b2e769dce8392f2b7e53ef3540a (patch) | |
tree | 794c90a6f9e217179b135b4ae594d3c367624740 /doc/reference | |
parent | b4997e324521b09a1918c42467b5b57337d00d21 (diff) | |
download | scala-d5bb139c0c924b2e769dce8392f2b7e53ef3540a.tar.gz scala-d5bb139c0c924b2e769dce8392f2b7e53ef3540a.tar.bz2 scala-d5bb139c0c924b2e769dce8392f2b7e53ef3540a.zip |
- corrected minor typos
Diffstat (limited to 'doc/reference')
-rw-r--r-- | doc/reference/ScalaReference.tex | 10 |
1 files changed, 5 insertions, 5 deletions
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. |