
diff -r f70d74fea67f -r 2a30c7dfe3ed slides/slides05.tex
--- a/slides/slides05.tex	Sun Sep 15 12:57:59 2024 +0100
+++ b/slides/slides05.tex	Mon Jul 21 16:38:07 2025 +0100
@@ -164,10 +164,10 @@
     %Office: & N\liningnums{7.07} (North Wing, Bush House)\bigskip\\
     Slides \& Code: & KEATS\bigskip\\
 
-    Office Hour: &  Fridays 13:00 -- 14:00\\
+    Office Hour: &  Thursdays 13:00 -- 14:00\\
     Location: & N7.07 (North Wing, Bush House)\bigskip\\
 
-    Pollev: & \texttt{\alert{https://pollev.com/cfltutoratki576}}\\  \\
+    %Pollev: & \texttt{\alert{https://pollev.com/cfltutoratki576}}\\  \\
   \end{tabular}
   \end{center}
 
@@ -208,7 +208,7 @@
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\begin{frame}[c]
+\begin{frame}<1>[c]
   \frametitle{Main 3: Regexes}
   
 \begin{center}
@@ -337,54 +337,54 @@
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%     
-\begin{frame}[c,fragile]
-\frametitle{Polyorphic Types} 
+% \begin{frame}[c,fragile]
+% \frametitle{Polyorphic Types} 
 
-%To be avoided:\bigskip\bigskip
-\small
+% %To be avoided:\bigskip\bigskip
+% \small
 
-\begin{lstlisting}[language=Scala, numbers=none, xleftmargin=-6mm]
-def length_string_list(lst: List[String]): Int = 
- lst match {
-   case Nil => 0
-   case x::xs => 1 + length_string_list(xs)
- }
+% \begin{lstlisting}[language=Scala, numbers=none, xleftmargin=-6mm]
+% def length_string_list(lst: List[String]): Int = 
+%  lst match {
+%    case Nil => 0
+%    case x::xs => 1 + length_string_list(xs)
+%  }
 
  
-def length_int_list(lst: List[Int]): Int = 
- lst match {
-   case Nil => 0
-   case x::xs => 1 + length_int_list(xs)
- }
-\end{lstlisting}
+% def length_int_list(lst: List[Int]): Int = 
+%  lst match {
+%    case Nil => 0
+%    case x::xs => 1 + length_int_list(xs)
+%  }
+% \end{lstlisting}
 
-\end{frame}
+% \end{frame}
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 
 
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%     
-\begin{frame}[c,fragile]
-\frametitle{Polyorphic Types} 
+% \begin{frame}[c,fragile]
+% \frametitle{Polyorphic Types} 
 
-\small
+% \small
 
-\begin{lstlisting}[language=Scala, numbers=none, xleftmargin=-6mm]
-def length[A](lst: List[A]): Int = lst match {
-  case Nil => 0
-  case x::xs => 1 + length(xs)
-}
+% \begin{lstlisting}[language=Scala, numbers=none, xleftmargin=-6mm]
+% def length[A](lst: List[A]): Int = lst match {
+%   case Nil => 0
+%   case x::xs => 1 + length(xs)
+% }
 
-length(List("1", "2", "3", "4"))
-length(List(1, 2, 3, 4))
+% length(List("1", "2", "3", "4"))
+% length(List(1, 2, 3, 4))
 
 
-def map[A, B](lst: List[A], f: A => B): List[B] = 
- lst match {
-   case Nil => Nil
-   case x::xs => f(x)::map(xs, f) 
- }
-\end{lstlisting}
-\end{frame}
+% def map[A, B](lst: List[A], f: A => B): List[B] = 
+%  lst match {
+%    case Nil => Nil
+%    case x::xs => f(x)::map(xs, f) 
+%  }
+% \end{lstlisting}
+% \end{frame}
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 
 
@@ -485,25 +485,31 @@
 
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%     
 
-\begin{frame}[c]
+\begin{frame}[t]
 \frametitle{Where to go on from here?}
 
 \begin{itemize}
-\item Martin Odersky (EPFL) developed now Scala 3\medskip
+\item Martin Odersky (EPFL) developed Scala\medskip
 
 \item I use Ammonite by Haoyi Li\medskip
   
 \item Elm (\url{http://elm-lang.org})\ldots web applications with style\medskip   
 
-\item Haskell, Ocaml, Standard ML, Scheme, \ldots 
+\item Haskell, Ocaml, Standard ML, Scheme, \ldots \bigskip\bigskip\bigskip
 \end{itemize}  
 
 \begin{textblock}{5}(12,9)
 \includegraphics[scale=0.15]{../pics/haojili.png} 
 \end{textblock}  
+
+\only<2->{C++, Scala, }
+\only<3->{PHP, Python, Perl, Bash}
+
 \end{frame}
 
 
+
+
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%




