diff -r b17a98b0c52f -r e48ea8300b2d handouts/pep-ho.tex --- a/handouts/pep-ho.tex Sat Nov 06 00:06:39 2021 +0000 +++ b/handouts/pep-ho.tex Mon Nov 08 00:17:50 2021 +0000 @@ -194,13 +194,13 @@ \includegraphics[scale=0.15]{../pics/vscode.png}\\[-10mm]\mbox{} \end{center} \caption{My installation of VS Code includes the following - packages from Marketplace: \textbf{Scala Syntax (official)} 0.3.4, - \textbf{Code Runner} 0.9.13, \textbf{Code Spell Checker} 1.7.17, - \textbf{Rewrap} 1.9.1 and \textbf{Subtle Match + packages from Marketplace: \textbf{Scala Syntax (official)} 0.5.4, + \textbf{Code Runner} 0.11.6, \textbf{Code Spell Checker} 2.0.12, + \textbf{Rewrap} 1.14.0 and \textbf{Subtle Match Brackets} 3.0.0. 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 the internal - terminal to run Scala 2.13.1.\label{vscode}} + terminal to run Scala 2.13.6.\label{vscode}} \end{boxedminipage} \end{figure} @@ -380,8 +380,8 @@ \end{lstlisting}} & {\footnotesize\begin{lstlisting}[xleftmargin=0mm] -for (y <- (0 until H)/*@\keys{\texttt{.par}}@*/) { - for (x <- (0 until W)/*@\keys{\texttt{.par}}@*/) { +for (y <- (0 until H).par) { + for (x <- (0 until W).par) { val c = start + (x * d_x + y * d_y * i) @@ -461,7 +461,7 @@ \begin{lstlisting}[language={},numbers=none,basicstyle=\ttfamily\small] $ scala -Welcome to Scala 2.13.1 (Java HotSpot(TM) 64-Bit Server VM, Java 9). +Welcome to Scala 2.13.6 (OpenJDK 64-Bit Server VM, Java 17). Type in expressions for evaluation. Or try :help. scala> @@ -1717,8 +1717,8 @@ about Scala and of course lots of help online. For example \begin{itemize} -\item \url{http://www.scala-lang.org/docu/files/ScalaByExample.pdf} -\item \url{http://www.scala-lang.org/docu/files/ScalaTutorial.pdf} +%%\item \url{http://www.scala-lang.org/docu/files/ScalaByExample.pdf} +%%\item \url{http://www.scala-lang.org/docu/files/ScalaTutorial.pdf} \item \url{https://www.youtube.com/user/ShadowofCatron} \item \url{http://docs.scala-lang.org/tutorials} \item \url{https://www.scala-exercises.org}