
diff -r 1b879b3e704e -r c71ae4477e55 cws/core_cw02.tex
--- a/cws/core_cw02.tex	Sat Sep 23 23:49:44 2023 +0100
+++ b/cws/core_cw02.tex	Wed Nov 01 15:01:32 2023 +0000
@@ -34,8 +34,8 @@
 \noindent
 In addition, the Scala part comes with reference
 implementations in form of \texttt{jar}-files. This allows you to run
-any test cases on your own computer. For example you can call Scala on
-the command line with the option \texttt{-cp docdiff.jar} and then
+any test cases on your own computer. For example you can call scala-cli on
+the command line with the option \texttt{--extra-jars docdiff.jar} and then
 query any function from the template file. Say you want to find out
 what the function \texttt{occurrences} produces: for this you just need
 to prefix it with the object name \texttt{C2}.  If you want to find out what
@@ -43,7 +43,7 @@
 you would type something like:
 
 \begin{lstlisting}[language={},numbers=none,basicstyle=\ttfamily\small]
-$ scala -cp docdiff.jar
+$ scala-cli --extra-jars docdiff.jar
   
 scala> C2.occurrences(List("a", "b", "b"))
 ...




