summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authormichelou <michelou@epfl.ch>2004-09-03 12:03:11 +0000
committermichelou <michelou@epfl.ch>2004-09-03 12:03:11 +0000
commit23984e79ff7bae4100d2286df754f3dce5ab3e84 (patch)
tree9560e41a0a649fafb0f76255369a48f830525a03 /doc
parentfb32a6880bd0b3f814b3a1399fdc6cc81b551c5d (diff)
downloadscala-23984e79ff7bae4100d2286df754f3dce5ab3e84.tar.gz
scala-23984e79ff7bae4100d2286df754f3dce5ab3e84.tar.bz2
scala-23984e79ff7bae4100d2286df754f3dce5ab3e84.zip
- changed 'lstlistinline' to 'lstinline'.
Diffstat (limited to 'doc')
-rw-r--r--doc/reference/ReferencePart.tex6
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/reference/ReferencePart.tex b/doc/reference/ReferencePart.tex
index bf038648b0..2f53de4752 100644
--- a/doc/reference/ReferencePart.tex
+++ b/doc/reference/ReferencePart.tex
@@ -3054,9 +3054,9 @@ for $x$ is given; hence this type needs to be inferrable from the
context of the expression.
\example The following method returns the $n$'th column of a given
-list of row-lists $xss$, using methods \lstlistinline@map@,
-\lstlistinline@drop@ and \lstlistinline@head@ defined in class
-\lstlinline@scala.List@.
+list of row-lists $xss$, using methods \lstinline@map@,
+\lstinline@drop@ and \lstinline@head@ defined in class
+\lstinline@scala.List@.
\begin{lstlisting}
def column[T](xss: List[List[T]], n: int): List[T] =
xss.map(.drop(i)).map(.head)