diff -r 51e00f223792 -r ebb4a40d9bae slides/slides06.tex --- a/slides/slides06.tex Fri Oct 25 18:54:08 2024 +0100 +++ b/slides/slides06.tex Sat Nov 09 06:23:35 2024 +0000 @@ -22,7 +22,7 @@ \begin{document} - + %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \begin{frame}[t] \frametitle{% @@ -36,7 +36,7 @@ \begin{center} \begin{tabular}{ll} Email: & christian.urban at kcl.ac.uk\\ - Office Hour: & Thurdays 15 -- 16\\ + Office Hour: & Fridays 12 -- 14\\ Location: & N7.07 (North Wing, Bush House)\\ Slides \& Progs: & KEATS\\ Pollev: & \texttt{\alert{https://pollev.com/cfltutoratki576}}\\ @@ -61,6 +61,30 @@ \end{frame} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +\begin{frame}[t,fragile] +\begin{mybox3}{} + In CW2, be careful with the order of defining regular expressions: + +\begin{verbatim} +val COMMENT : Rexp = ... ~ EOL +val EOL : Rexp = "\r\n" | "\n" +\end{verbatim} +\end{mybox3} +\end{frame} + + +\begin{frame}[t,fragile] +\begin{mybox3}{} + In CW2, what is the derivative of RECD? + +\begin{center} +\bl{$der\;c\;RECD(l, r) \;\;\dn\;\; ???$} +\end{center} +\end{mybox3} +\end{frame} + + + %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \begin{frame}[c] @@ -436,13 +460,13 @@ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -\begin{frame}[t,fragile] -\begin{mybox3}{} - In CW3, in the collatz program there is the line write "$\backslash$n" Should this print "/n" or perform the new line command /n ? Also should write be print() or println() ? -\end{mybox3} -\end{frame} - - +%\begin{frame}[t,fragile] +%\begin{mybox3}{} +% In CW3, in the collatz program there is the line write "$\backslash$n" Should this print "/n" or perform the new line command /n ? Also should write be print() or println() ? +%\end{mybox3} +%\end{frame} +% +% \begin{frame}<1-30>[c] \end{frame}