# HG changeset patch # User Christian Urban # Date 1546463552 0 # Node ID 3dd550b9b0e3912030dec1c48ae3eaed56a681e7 # Parent 1b08b8ac13fd12fe255bea1335427f772bf6e03e updated diff -r 1b08b8ac13fd -r 3dd550b9b0e3 LINKS --- 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 diff -r 1b08b8ac13fd -r 3dd550b9b0e3 cws/cw01.pdf Binary file cws/cw01.pdf has changed diff -r 1b08b8ac13fd -r 3dd550b9b0e3 cws/cw01.tex --- 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. diff -r 1b08b8ac13fd -r 3dd550b9b0e3 cws/cw02.pdf Binary file cws/cw02.pdf has changed diff -r 1b08b8ac13fd -r 3dd550b9b0e3 cws/cw02.tex --- 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 diff -r 1b08b8ac13fd -r 3dd550b9b0e3 cws/cw05.pdf Binary file cws/cw05.pdf has changed diff -r 1b08b8ac13fd -r 3dd550b9b0e3 cws/cw05.tex --- 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} diff -r 1b08b8ac13fd -r 3dd550b9b0e3 solutions5/bfc.scala --- 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")))) -} +//}