# HG changeset patch # User Christian Urban # Date 1651405316 -3600 # Node ID 957808dcb3670659ed65828b449959ac9a3b9916 # Parent daf561a83ba67d9243a1cd5e4a13a695e982185a updated diff -r daf561a83ba6 -r 957808dcb367 cws/main_cw03.pdf Binary file cws/main_cw03.pdf has changed diff -r daf561a83ba6 -r 957808dcb367 cws/main_cw03.tex --- a/cws/main_cw03.tex Mon Apr 11 23:55:27 2022 +0100 +++ b/cws/main_cw03.tex Sun May 01 12:41:56 2022 +0100 @@ -121,11 +121,8 @@ \section*{Main Part 3 (Scala, 6 Marks)} -%\mbox{}\hfill\textit{``[Google’s MapReduce] abstraction is inspired by the}\\ -%\mbox{}\hfill\textit{map and reduce primitives present in Lisp and many}\\ -%\mbox{}\hfill\textit{other functional language.''}\smallskip\\ -%\mbox{}\hfill\textit{ --- Dean and Ghemawat, who designed this concept at Google} -%\bigskip\medskip +\mbox{}\hfill\textit{``Java is the most distressing thing to happen to computing since MS-DOS.''}\smallskip\\ +\mbox{}\hfill\textit{ --- Alan Kay, the inventor of object-oriented programming}\bigskip\medskip \noindent This part is about a regular expression matcher described by diff -r daf561a83ba6 -r 957808dcb367 progs/mandelbrot3.sc --- a/progs/mandelbrot3.sc Mon Apr 11 23:55:27 2022 +0100 +++ b/progs/mandelbrot3.sc Sun May 01 12:41:56 2022 +0100 @@ -21,9 +21,9 @@ import scala.language.implicitConversions import scala.collection.parallel.CollectionConverters._ -object Test { +//object Test { -def main() = { +//def main() = { // complex numbers case class Complex(val re: Double, val im: Double) { @@ -194,8 +194,8 @@ //time_needed(mandelbrot(exA, exB, 1000)) -} +//} -} +//} -Test.main() +//Test.main()