cws/cw02.tex
changeset 301 c3b33c709696
parent 284 9a04eb6a2291
child 306 1877cc717291
--- a/cws/cw02.tex	Thu Oct 31 12:01:56 2019 +0000
+++ b/cws/cw02.tex	Fri Nov 01 12:39:25 2019 +0000
@@ -72,7 +72,7 @@
 \noindent
 \textbf{For Part 2:} use \texttt{.split(",").toList} for splitting
 strings according to commas (similarly $\backslash$\texttt{n}),
-\texttt{.getOrElse(..,..)} allows to querry a Map, but also gives a
+\texttt{.getOrElse(..,..)} allows to query a Map, but also gives a
 default value if the Map is not defined, a Map can be `updated' by
 using \texttt{+}, \texttt{.contains} and \texttt{.filter} can test whether
 an element is included in a list, and respectively filter out elements in a list,