diff -r ac79c2e534bd -r b528d1d3d3c3 cws/core_cw01.tex --- a/cws/core_cw01.tex Thu Nov 02 12:37:58 2023 +0000 +++ b/cws/core_cw01.tex Thu Nov 02 13:53:37 2023 +0000 @@ -32,8 +32,8 @@ \noindent In addition, the Scala coursework comes with a reference implementation -in form of \texttt{jar}-files. This allows you to run any test cases on -your own computer. For example you can call scala-cli on the command line +in form of a \texttt{jar}-file. This allows you to run any test cases on +your own computer. For example you can call \texttt{scala-cli} on the command line with the option \texttt{--extra-jars collatz.jar} and then query any function from the template file. Say you want to find out what the functions \texttt{collatz} and \texttt{collatz\_max} produce: for this you just @@ -67,7 +67,7 @@ This part is about function definitions and recursion. You are asked to implement a Scala program that tests examples of the \emph{$3n + 1$-conjecture}, also called \emph{Collatz - conjecture}.\video{https://www.youtube.com./watch?v=LqKpkdRRLZw} + conjecture}.\video{https://www.youtube.com/watch?v=LqKpkdRRLZw} This conjecture can be described as follows: Start with any positive number $n$ greater than $0$: