diff -r da1f8c033b8e -r 94f5cce73a4f handouts/amm-ho.tex --- a/handouts/amm-ho.tex Thu Sep 19 19:25:13 2024 +0100 +++ b/handouts/amm-ho.tex Sun Sep 29 18:46:02 2024 +0100 @@ -16,8 +16,7 @@ For the coursework in this module you are free to use any programming language you like, but I will show you all my code using Scala---I hope you have fond memories of Scala from PEP. The only difference -with PEP is that I will use the current -stable version of Scala, which at the time of writing is Scala 3.3.1. +with PEP is that I will the Ammonite REPL for Scala 3. \begin{tcolorbox}[colback=red!5!white,colframe=red!75!black] If you intend to submit your code for the CW in Scala, you \underline{MUST} submit code that @@ -51,8 +50,8 @@ \begin{lstlisting}[language={},numbers=none,basicstyle=\ttfamily\small] $ amm Loading... -Welcome to the Ammonite Repl 2.5.9 (Scala 3.2.2 Java 17.0.7) -scala> 1 + 2 +Welcome to the Ammonite Repl 3.0.0-M2 (Scala 3.3.3 Java 21.0.4) +@ 1 + 2 res0: Int = 3 \end{lstlisting} %% $ @@ -68,7 +67,7 @@ \begin{lstlisting}[numbers=none,language={},basicstyle=\ttfamily\small] $ curl -L https://github.com/com-lihaoyi/Ammonite/releases/\ - download/2.5.9/3.2-2.5.9 --output amm + download/3.0.0-M2/3.3-3.0.0-M2 --output amm \end{lstlisting} %% $ \noindent @@ -78,7 +77,7 @@ \begin{lstlisting}[numbers=none,language={},basicstyle=\ttfamily\small] $ curl -L https://github.com/com-lihaoyi/Ammonite/releases/\ - download/2.5.9/3.2-2.5.9 --output amm.bat + download/3.0.0-M2/3.3-3.0.0-M2 --output amm.bat \end{lstlisting} %% $ \noindent