diff -r 4e0f0309c2ca -r b195fac1903c handouts/pep-ho.tex --- a/handouts/pep-ho.tex Mon Nov 10 11:09:44 2025 +0000 +++ b/handouts/pep-ho.tex Mon Nov 10 14:17:40 2025 +0000 @@ -186,7 +186,7 @@ \noindent\alert For PEP, make sure you are using the version 3(!) of Scala. This is the version I am going to use in the lectures and in the coursework. This -can be any version of Scala 3.X where $X=\{4,5,6,7\}$. Also the minor +can be any version of Scala 3.X where $X=\{3,4,5,6,7\}$. Also the minor number does not matter. Note that this will be the second year I am using this newer version of Scala -- some hiccups can still happen. Apologies in advance!\bigskip @@ -251,8 +251,7 @@ I have also bound the keys \keys{Ctrl} \keys{Ret} to the action ``Run-Selected-Text-In-Active-Terminal'' in order to quickly evaluate small code snippets in the Scala REPL. I use Codium's internal - terminal to run \texttt{scala} version 1.0.5 which - uses Scala 3.7.3.\label{vscode}} + terminal to run \texttt{scala} version 3.7.3.\label{vscode}} \end{boxedminipage} \end{figure} @@ -642,7 +641,7 @@ If you want to write a standalone app in Scala, you can implement a function \texttt{hello} and annotate the tag -\texttt{@main}. For example write +\texttt{@main}.\footnote{In Scala 2, one had to write object-hello, this require} For example write \begin{lstlisting}[numbers=none] @main