equal
deleted
inserted
replaced
14 you submit can be processed by just calling \texttt{scala |
14 you submit can be processed by just calling \texttt{scala |
15 <<filename.scala>>}.\bigskip |
15 <<filename.scala>>}.\bigskip |
16 |
16 |
17 \noindent |
17 \noindent |
18 \textbf{Important:} Do not use any mutable data structures in your |
18 \textbf{Important:} Do not use any mutable data structures in your |
19 submission! They are not needed. This excluded the use of |
19 submission! They are not needed. This excludes the use of |
20 \texttt{ListBuffer}s, for example. Do not use \texttt{return} in your |
20 \texttt{ListBuffer}s, for example. Do not use \texttt{return} in your |
21 code! It has a different meaning in Scala, than in Java. Do not use |
21 code! It has a different meaning in Scala, than in Java. Do not use |
22 \texttt{var}! This declares a mutable variable. Make sure the |
22 \texttt{var}! This declares a mutable variable. Make sure the |
23 functions you submit are defined on the ``top-level'' of Scala, not |
23 functions you submit are defined on the ``top-level'' of Scala, not |
24 inside a class or object. |
24 inside a class or object. |