
diff -r fc9394f4f0ea -r 9f481fd7c613 slides/slides02.tex
--- a/slides/slides02.tex	Tue Nov 17 00:34:55 2020 +0000
+++ b/slides/slides02.tex	Wed Nov 18 01:54:39 2020 +0000
@@ -79,53 +79,53 @@
 % \end{frame}
 
 
-% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%     
-% \begin{frame}[t]
-% \frametitle{For-Comprehensions}
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%     
+\begin{frame}[t]
+\frametitle{For-Comprehensions}
 
-% \begin{center}
-%   \begin{tikzpicture}[scale=1,
-%                       node/.style={
-%                       rectangle,rounded corners=3mm,
-%                       very thick,draw=black!50,
-%                       minimum height=18mm, minimum width=20mm,
-%                       top color=white,bottom color=black!20}]
+\begin{center}
+  \begin{tikzpicture}[scale=1,
+                      node/.style={
+                      rectangle,rounded corners=3mm,
+                      very thick,draw=black!50,
+                      minimum height=18mm, minimum width=20mm,
+                      top color=white,bottom color=black!20}]
 
-%   \node (A0) at (0.1,0) {\texttt{\textcolor{purple}{\textbf{for}} (\alert<2->{n} <- List(}};
-%   \node (A1) at (2.3,0) {\texttt{\phantom{,}1,}};
-%   \node (A2) at (3.2,0) {\texttt{\phantom{,}2,}};
-%   \node (A3) at (4.1,0) {\texttt{\phantom{,}3,}};
-%   \node (A4) at (5.0,0) {\texttt{\phantom{,}4,}};
-%   \node (A5) at (5.9,0) {\texttt{\phantom{))}5))}};
-%   \node (A6) at (8,0) {\texttt{\textcolor{purple}{\textbf{yield}} \alert<2->{n\,*\,n}}};
+  \node (A0) at (0.1,0) {\texttt{\textcolor{purple}{\textbf{for}} (\alert<2->{n} <- List(}};
+  \node (A1) at (2.3,0) {\texttt{\phantom{,}1,}};
+  \node (A2) at (3.2,0) {\texttt{\phantom{,}2,}};
+  \node (A3) at (4.1,0) {\texttt{\phantom{,}3,}};
+  \node (A4) at (5.0,0) {\texttt{\phantom{,}4,}};
+  \node (A5) at (5.9,0) {\texttt{\phantom{))}5))}};
+  \node (A6) at (8,0) {\texttt{\textcolor{purple}{\textbf{yield}} \alert<2->{n\,*\,n}}};
 
-%   \onslide<2->{
-%   \node (B0) at (1.4,-3) {\texttt{List(}};
-%   \node (B1) at (2.3,-3) {\texttt{\phantom{,}1,}};
-%   \node (B2) at (3.6,-3) {\texttt{\phantom{,}4,}};
-%   \node (B3) at (4.9,-3) {\texttt{\phantom{,}9,}};
-%   \node (B4) at (6.2,-3) {\texttt{\phantom{,}16,}};
-%   \node (B5) at (7.5,-3) {\texttt{\phantom{,}25)}};}
+  \onslide<2->{
+  \node (B0) at (1.4,-3) {\texttt{List(}};
+  \node (B1) at (2.3,-3) {\texttt{\phantom{,}1,}};
+  \node (B2) at (3.6,-3) {\texttt{\phantom{,}4,}};
+  \node (B3) at (4.9,-3) {\texttt{\phantom{,}9,}};
+  \node (B4) at (6.2,-3) {\texttt{\phantom{,}16,}};
+  \node (B5) at (7.5,-3) {\texttt{\phantom{,}25)}};}
 
-%   \onslide<2->{
-%   \draw [->,line width=1mm] (A1.south) -- (B1.north);
-%   \draw [->,line width=1mm] (A2.south) -- (B2.north);
-%   \draw [->,line width=1mm] (A3.south) -- (B3.north);
-%   \draw [->,line width=1mm] (A4.south) -- (B4.north);
-%   \draw [->,line width=1mm] (A5.south) -- (B5.north);}
+  \onslide<2->{
+  \draw [->,line width=1mm] (A1.south) -- (B1.north);
+  \draw [->,line width=1mm] (A2.south) -- (B2.north);
+  \draw [->,line width=1mm] (A3.south) -- (B3.north);
+  \draw [->,line width=1mm] (A4.south) -- (B4.north);
+  \draw [->,line width=1mm] (A5.south) -- (B5.north);}
 
-%   \onslide<2->{
-%   \node (Q1) at (-0.45,-0.1) {};
-%   \node (Q2) at (-0.45,-2.8) {};
-%   \node (Q3) at (-0.45,-2.95) {\alert<2->{\texttt{n\,*\,n:}}};
-%   \draw [->,red,line width=1mm] (Q1.south) -- (Q2.north);}
-%  \end{tikzpicture}
-% \end{center}
+  \onslide<2->{
+  \node (Q1) at (-0.45,-0.1) {};
+  \node (Q2) at (-0.45,-2.8) {};
+  \node (Q3) at (-0.45,-2.95) {\alert<2->{\texttt{n\,*\,n:}}};
+  \draw [->,red,line width=1mm] (Q1.south) -- (Q2.north);}
+ \end{tikzpicture}
+\end{center}
 
-% \onslide<3>{This is for when the for-comprehension\\ \textbf{yields / produces} a result.}
+\onslide<3>{This is for when the for-comprehension\\ \textbf{yields / produces} a result.}
 
-% \end{frame}
-% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\end{frame}
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 
 
 % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%     
@@ -529,10 +529,12 @@
      child {node {$[4,2,0,1]$\ldots}};
 \end{tikzpicture}
 \end{center}
-
+\end{frame}
 
+\begin{frame}<1-10>[t]
+  
+\end{frame}
 
-\end{frame}
 
 
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%




