Binary file cws/cw01.pdf has changed
--- a/cws/cw01.tex Wed Jan 02 21:12:32 2019 +0000
+++ b/cws/cw01.tex Wed Jan 02 22:01:20 2019 +0000
@@ -14,7 +14,7 @@
\noindent
This assignment is about Scala and worth 10\%. The first and second
-part are due on 15 November at 11pm, and the third part on 20 December
+part are due on \cwSIX{} at 11pm, and the third part on \cwSIXa{}
at 11pm. You are asked to implement two programs about list
processing and recursion. The third part is more advanced and might
include material you have not yet seen in the first lecture.
Binary file cws/cw02.pdf has changed
Binary file cws/cw03.pdf has changed
Binary file cws/cw04.pdf has changed
Binary file cws/cw05.pdf has changed
Binary file cws/cw06.pdf has changed
Binary file handouts/pep-ho.pdf has changed
Binary file handouts/scala-ho.pdf has changed
Binary file slides/slides01.pdf has changed
Binary file slides/slides02.pdf has changed
Binary file slides/slides03.pdf has changed
Binary file slides/slides04.pdf has changed
Binary file slides/slides05.pdf has changed
--- a/style.sty Wed Jan 02 21:12:32 2019 +0000
+++ b/style.sty Wed Jan 02 22:01:20 2019 +0000
@@ -21,28 +21,6 @@
%%% for trees
%% http://anorien.csc.warwick.ac.uk/mirrors/CTAN/graphics/pgf/contrib/forest/forest.pdf
-\newcommand\grid[1]{%
-\begin{tikzpicture}[baseline=(char.base)]
- \path[use as bounding box]
- (0,0) rectangle (1em,1em);
- \draw[red!50, fill=red!20]
- (0,0) rectangle (1em,1em);
- \node[inner sep=1pt,anchor=base west]
- (char) at (0em,\gridraiseamount) {#1};
-\end{tikzpicture}}
-\newcommand\gridraiseamount{0.12em}
-
-\makeatletter
-\newcommand\Grid[1]{%
- \@tfor\z:=#1\do{\grid{\z}}}
-\makeatother
-
-\newcommand\Vspace[1][.3em]{%
- \mbox{\kern.06em\vrule height.3ex}%
- \vbox{\hrule width#1}%
- \hbox{\vrule height.3ex}}
-
-\def\VS{\Vspace[0.6em]}
\newcommand{\dn}{\stackrel{\mbox{\scriptsize def}}{=}}
@@ -55,25 +33,19 @@
\def\fnote{\gdef\@thefnmark{}\@footnotetext}
\makeatother
-\newcommand{\HEADER}{{\bf Please submit your solutions via email. Please submit
-only ASCII text or PDFs. Every solution should be preceeded by the corresponding
-question text, like:
+% CW deadlines
+\def\cwSIX{15 November}
+\def\cwSIXa{20 December}
+
+\def\cwSEVEN{15 November}
+\def\cwSEVENa{20 December}
-\begin{center}
-\begin{tabular}{ll}
-Q$n$: & \ldots a difficult question from me\ldots\\
-A: & \ldots an answer from you \ldots\\
-Q$n+1$ & \ldots another difficult question\ldots\\
-A: & \ldots another brilliant answer from you\ldots
-\end{tabular}
-\end{center}
+\def\cwEIGHT{15 November}
+\def\cwEIGHTa{20 December}
-\noindent Solutions will only be accepted until 20th December! Please send only
-one homework per email.}\bigskip}
+\def\cwNINE{15 November}
+\def\cwNINEa{20 December}
-\newcommand{\POSTSCRIPT}{
-{\bf (Optional)} This question is for you to provide
-regular feedback to me: for example
-what were the most interesting, least interesting, or confusing
-parts in this lecture? Any problems with my Scala code? Please
-feel free to share any other questions or concerns.}
+\def\cwTEN{15 November}
+\def\cwTENa{20 December}
+