--- a/LINKS Tue Dec 18 23:31:45 2018 +0000
+++ b/LINKS Wed Jan 02 21:12:32 2019 +0000
@@ -1,3 +1,9 @@
+online tutorial for scala
+
+https://hub.mybinder.org/user/sbrunk-almond-examples-yw61qxqu/lab
+=====================
+
+
codejudge
https://www.codejudge.net/docs/reference
Binary file cws/cw01.pdf has changed
--- a/cws/cw01.tex Tue Dec 18 23:31:45 2018 +0000
+++ b/cws/cw01.tex Wed Jan 02 21:12:32 2019 +0000
@@ -14,7 +14,7 @@
\noindent
This assignment is about Scala and worth 10\%. The first and second
-part are due on 15 November at 11pm, and the third part on 21 December
+part are due on 15 November at 11pm, and the third part on 20 December
at 11pm. You are asked to implement two programs about list
processing and recursion. The third part is more advanced and might
include material you have not yet seen in the first lecture.
Binary file cws/cw02.pdf has changed
--- a/cws/cw02.tex Tue Dec 18 23:31:45 2018 +0000
+++ b/cws/cw02.tex Wed Jan 02 21:12:32 2019 +0000
@@ -9,7 +9,7 @@
\section*{Coursework 7 (Scala)}
This coursework is worth 10\%. The first and second part are due
-on 22 November at 11pm; the third, more advanced part, is due on 21
+on 22 November at 11pm; the third, more advanced part, is due on 20
December at 11pm. You are asked to implement Scala programs for
measuring similarity in texts, and for recommending movies
according to a ratings list. Note the second part might include
Binary file cws/cw05.pdf has changed
--- a/cws/cw05.tex Tue Dec 18 23:31:45 2018 +0000
+++ b/cws/cw05.tex Wed Jan 02 21:12:32 2019 +0000
@@ -1,3 +1,4 @@
+% !TEX program = xelatex
\documentclass{article}
\usepackage{../style}
\usepackage{../langs}
--- a/solutions5/bfc.scala Tue Dec 18 23:31:45 2018 +0000
+++ b/solutions5/bfc.scala Wed Jan 02 21:12:32 2019 +0000
@@ -1,7 +1,7 @@
// Part 2 about a "Compiler" for the Brainf*** language
//======================================================
-object CW10b { // only for producing the jar-file
+//object CW10b { // only for producing the jar-file
// !!! Copy any function you need from file bf.scala !!!
//
@@ -303,7 +303,7 @@
//time_needed(1, run(load_bff("sierpinski.bf")))
//time_needed(1, run4(load_bff("sierpinski.bf")))
-//time_needed(1, run4(load_bff("mandelbrot.bf")))
+println(time_needed(1, run4(load_bff("mandelbrot.bf"))))
-}
+//}