updated default tip
authorChristian Urban <christian.urban@kcl.ac.uk>
Thu, 11 Dec 2025 12:34:03 +0000
changeset 1036 b84e794b9e88
parent 1035 c479d6ef57f8
updated
progs/fun/funt.sc
slides/slides10.pdf
slides/slides10.tex
slides/thanks.png
--- a/progs/fun/funt.sc	Thu Dec 04 21:33:25 2025 +0000
+++ b/progs/fun/funt.sc	Thu Dec 11 12:34:03 2025 +0000
@@ -16,6 +16,14 @@
 // the first prints out the JVM instructions
 // the second runs the generated class files
 
+def powerset(xs: Set[Int]) : Set[Set[Int]] = {
+  if (xs == Set()) Set(Set())
+  else { val subs = powerset(xs.tail)
+     subs ++ subs.map(_ + xs.head)
+  }
+}
+
+powerset(Set(1,2,3))
 
 import $file.fun_tokens, fun_tokens._
 import $file.fun_parser, fun_parser._ 
Binary file slides/slides10.pdf has changed
--- a/slides/slides10.tex	Thu Dec 04 21:33:25 2025 +0000
+++ b/slides/slides10.tex	Thu Dec 11 12:34:03 2025 +0000
@@ -52,11 +52,11 @@
   \begin{center}
   \begin{tabular}{ll}
     Email:  & christian.urban at kcl.ac.uk\\
+            & I will try to stay on top of my inbox during Christmas\medskip\\
     %%Office Hour: & Thurdays 15 -- 16\\  
     %%Location: & N7.07 (North Wing, Bush House)\\
     Slides \& Progs: & KEATS\\
-    Emails: & I will try to stay on top of my inbox during Christmas\medskip\\
-  Pollev: & \texttt{\alert{https://pollev.com/cfltutoratki576}}\\  
+  %%Pollev: & \texttt{\alert{https://pollev.com/cfltutoratki576}}\\  
   \end{tabular}
   \end{center} 
 
@@ -77,6 +77,30 @@
 \end{frame}
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 
+\begin{frame}[c]
+\frametitle{Exam}
+
+\begin{itemize}
+\item sometimes in January
+\item 2hs / 23 questions
+\item questions taken from HWs with scant changes
+\item all but one are text questions (one is true/false)
+
+\end{itemize}
+\end{frame}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\begin{frame}[t]
+\end{frame}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\begin{frame}[t]
+\end{frame}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\begin{frame}[t]
+\end{frame}
+
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 \tikzstyle{sensor}=[draw, fill=blue!20, text width=3.8em, line width=1mm,
     text centered, minimum height=2em,drop shadow]
@@ -920,21 +944,38 @@
 
 \only<1>{%
 \begin{itemize}
-\item<-1> It is always fun to learn new things in CFL
-\item<-1> I want to add Higher-Order Functions and Algebraic Datatypes
-  to Fun
+\item<1> It is always fun to learn new things in CFL
+\item<1> I want to add Higher-Order Functions and Algebraic Datatypes to Fun (typing is a distant dream unfortunately)
+  
 \end{itemize}}
 
-\only<2->{%
+\hfill\includegraphics[scale=0.12]{thanks.png} 
+\end{frame}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\begin{frame}[c]
+\frametitle{Big Thank You!}
+\large
+
 \begin{itemize}
-\item<2-> Thanks for ALL the EoY feedback:\medskip\bigskip
+\item Thanks for ALL the EoY feedback:\medskip\bigskip
+\end{itemize}
 
+
+\only<2>{
 \begin{minipage}{13cm}  
 \begin{quote}\it
 ``If all modules were as good as this one I would start recommending KCL over basically every single university instead of suggesting people look somewhere else.''
 \end{quote}
-\end{minipage}
-\end{itemize}}
+\end{minipage}}
+
+\only<3>{
+\begin{minipage}{13cm}  
+\begin{quote}\it
+``Overall, CFL was without a doubt the most interesting subject I have taken\ldots''
+\end{quote}
+\end{minipage}}
+
 
 \hfill\includegraphics[scale=0.12]{thanks.png} 
 
Binary file slides/thanks.png has changed