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;