
diff -r 85f2f75abeeb -r 2d57b0d43a0f cws/cw01.tex
--- a/cws/cw01.tex	Wed Nov 30 10:07:05 2016 +0000
+++ b/cws/cw01.tex	Thu Dec 01 17:08:02 2016 +0000
@@ -12,7 +12,16 @@
 processing and recursion. The third part is more advanced and might
 include material you have not yet seen in the first lecture.
 Make sure the files you submit can be processed by just calling
-\texttt{scala <<filename.scala>>}. 
+\texttt{scala <<filename.scala>>}.\bigskip
+
+\noindent
+\textbf{Important:} Do not use any mutable data structures in your
+submissions! They are not needed. This excludes the use of
+\texttt{ListBuffer}s, for example. Do not use \texttt{return} in your
+code! It has a different meaning in Scala, than in Java.
+Do not use \texttt{var}! This declares a mutable variable. Make sure the
+functions you submit are defined on the ``top-level'' of Scala, not
+inside a class or object. 
 
 
 \subsection*{Disclaimer}
@@ -195,7 +204,7 @@
 Since the question about Mr Drumb's business acumen remains, let's do a
 quick back-of-the-envelope calculation in Scala whether his claim has
 any merit. Let's suppose we are given \$100 in 1978 and we follow a
-really dump investment strategy, namely:
+really dumb investment strategy, namely:
 
 \begin{itemize}
 \item We blindly choose a portfolio of stocks, say some Blue-Chip stocks




