# HG changeset patch # User Christian Urban # Date 1510304446 0 # Node ID 6f4d8b5e6d80ae8576cff15e5dcf869d4871929c # Parent 822adb464c904d9fba2388539787682c849356ba updated diff -r 822adb464c90 -r 6f4d8b5e6d80 cws/cw01.pdf Binary file cws/cw01.pdf has changed diff -r 822adb464c90 -r 6f4d8b5e6d80 cws/cw01.tex --- a/cws/cw01.tex Fri Nov 10 01:02:52 2017 +0000 +++ b/cws/cw01.tex Fri Nov 10 09:00:46 2017 +0000 @@ -381,9 +381,9 @@ when compounded, lead to moderately different values.\bigskip \noindent -\textbf{Hints:} useful string functions: \texttt{startsWith(...)} for -testing a string having a given prefix, \texttt{\_ + \_} for -concatenating twop strings; useful option functions: \texttt{.flatten} +\textbf{Hints:} useful string functions: \texttt{.startsWith(...)} for +checking whether a string has a given prefix, \texttt{\_ + \_} for +concatenating two strings; useful option functions: \texttt{.flatten} flattens a list of options such that it filters way all \texttt{None}'s, \texttt{Try(...) getOrElse ...} runs some code that might raise an exception, if yes, then a default value can be given; diff -r 822adb464c90 -r 6f4d8b5e6d80 slides/slides01.pdf Binary file slides/slides01.pdf has changed diff -r 822adb464c90 -r 6f4d8b5e6d80 slides/slides01.tex --- a/slides/slides01.tex Fri Nov 10 01:02:52 2017 +0000 +++ b/slides/slides01.tex Fri Nov 10 09:00:46 2017 +0000 @@ -388,7 +388,7 @@ \begin{itemize} \item sorry, I might have been a bit wordy:\\ CW description is 7 pages, but - I only needed \mbox{< 100} loc for all the CW\bigskip + I only needed \mbox{< 150} loc for all the CW\bigskip \item there is email feedback when pushing code to github\bigskip