handouts/ho09.tex
changeset 369 6c7996b6b471
parent 368 b46f86d95967
child 370 ddac52c0014c
--- a/handouts/ho09.tex	Thu Jan 01 11:41:48 2015 +0000
+++ b/handouts/ho09.tex	Sat Jan 03 23:14:47 2015 +0000
@@ -555,7 +555,7 @@
 implementations of interpreters. A good choice for a
 functional programming language is Scala, a programming
 language that combines functional and object-oriented
-programming-styles. It has received in the last five years or
+pro\-gramming-styles. It has received in the last five years or
 so quite a bit of attention. One reason for this attention is
 that, like the Java programming language, Scala compiles to
 the Java Virtual Machine (JVM) and therefore Scala programs
@@ -573,11 +573,14 @@
 \url{http://www.scala-lang.org}
 \end{quote}
 
+Let us have a look at the Scala code shown in Figure~\ref{code}.
+It shows the entire code 
 
 \begin{figure}[t]
 \small
 \lstinputlisting[language=Scala]{../progs/inter.scala}
-\caption{Bla}
+\caption{The entire code of the interpreter for our
+idealised programming language.\label{code}}
 \end{figure}