--- a/cws/main_cw04.tex Sun Nov 08 13:09:38 2020 +0000
+++ b/cws/main_cw04.tex Mon Nov 09 14:34:12 2020 +0000
@@ -18,7 +18,7 @@
\mbox{}\\[-18mm]\mbox{}
-\section*{Preliminary and Core Part 9 (Scala, 4 + 6 Marks)}
+\section*{Preliminary and Main Part 4 (Scala, 4 + 6 Marks)}
\mbox{}\hfill\textit{``The problem with object-oriented languages is they’ve got all this implicit,}\\
\mbox{}\hfill\textit{environment that they carry around with them. You wanted a banana but}\\
@@ -206,7 +206,7 @@
\noindent
-\textbf{Core Part} a useful list function: \texttt{.sortBy} sorts a list
+\textbf{Main Part} a useful list function: \texttt{.sortBy} sorts a list
according to a component given by the function; a function can be
tested to be tail-recursive by annotation \texttt{@tailrec}, which is
made available by importing \texttt{scala.annotation.tailrec}.\medskip