Binary file handouts/scala-ho.pdf has changed
--- a/handouts/scala-ho.tex Sat Sep 24 08:37:48 2016 +0100
+++ b/handouts/scala-ho.tex Sat Sep 24 08:47:25 2016 +0100
@@ -39,6 +39,13 @@
\url{http://www.scala-lang.org}
\end{quote}
+\noindent
+A ready-mad bundle with the Eclipse IDE is at
+
+\begin{quote}
+\url{http://scala-ide.org/download/sdk.html}
+\end{quote}
+
Why do I use Scala in the AFL module? Actually, you can do
\emph{any} part of the coursework in \emph{any} programming
language you like. I use Scala for showing you code during the
@@ -765,7 +772,7 @@
\begin{lstlisting}[ numbers=none]
import io.Source
val url = """http://www.inf.kcl.ac.uk/staff/urbanc/"""
-Source.fromURL(url).take(10000).mkString
+Source.fromURL(url)("ISO-8859-1").take(10000).mkString
\end{lstlisting}