# HG changeset patch # User Christian Urban # Date 1651405316 -3600 # Node ID be20e7f67f7658aece6ffd7dcc6b61b8b1f9fb8c # Parent 864107857d27ff8fbc660eaab198c92c06827590 updated diff -r 864107857d27 -r be20e7f67f76 cws/main_cw03.pdf Binary file cws/main_cw03.pdf has changed diff -r 864107857d27 -r be20e7f67f76 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 864107857d27 -r be20e7f67f76 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()