| 166 |      1 | \newcommand{\IMPORTANT}{%
 | 
|  |      2 | \noindent
 | 
|  |      3 | \textbf{Important:}
 | 
|  |      4 | 
 | 
|  |      5 | \begin{itemize}
 | 
|  |      6 | \item Make sure the files you submit can be processed by just calling\\
 | 
|  |      7 |   \mbox{\texttt{scala <<filename.scala>>}} on the commandline.\footnote{All
 | 
|  |      8 |     major OSes, including Windows, have a commandline. So there is no
 | 
|  |      9 |     good reason to not download Scala, install it and run it on your
 | 
|  |     10 |     own computer. Just do it!} Use the
 | 
|  |     11 |   template files provided and do not make any changes to arguments of
 | 
|  |     12 |   functions or to any types. You are free to implement any auxiliary
 | 
|  |     13 |   function you might need.
 | 
|  |     14 | 
 | 
|  |     15 | \item Do not use any mutable data structures in your
 | 
|  |     16 | submissions! They are not needed. This means you cannot create new 
 | 
|  |     17 | \texttt{Array}s or \texttt{ListBuffer}s, for example. 
 | 
|  |     18 | 
 | 
|  |     19 | \item Do not use \texttt{return} in your code! It has a different
 | 
|  |     20 |   meaning in Scala, than in Java.
 | 
|  |     21 | 
 | 
|  |     22 | \item Do not use \texttt{var}! This declares a mutable variable. Only
 | 
|  |     23 |   use \texttt{val}!
 | 
|  |     24 | 
 | 
|  |     25 | \item Do not use any parallel collections! No \texttt{.par} therefore!
 | 
|  |     26 |   Our testing and marking infrastructure is not set up for it.
 | 
|  |     27 | \end{itemize}
 | 
|  |     28 | }
 | 
|  |     29 | 
 | 
|  |     30 | 
 | 
|  |     31 | \newcommand{\DISCLAIMER}{%
 | 
|  |     32 | \subsection*{Disclaimer}
 | 
|  |     33 | 
 | 
|  |     34 | It should be understood that the work you submit represents
 | 
|  |     35 | your \textbf{own} effort! You have not copied from anyone else. An
 | 
|  |     36 | exception is the Scala code I showed during the lectures or
 | 
|  |     37 | uploaded to KEATS, which you can freely use.\bigskip
 | 
|  |     38 | } |