Skip to main content
Department of Information Technology

Assignments

Assignment Announced Deadline Additional files
Assignment 1 4 Nov 2013, 17:30 15 Nov 2013, 16:00 vectors.beam
Assignment 2 18 Nov 2013, 16:30 03 Dec 2013, 23:59 -
Assignment 3 10 Dec 2013, 12:00 23 Dec 2013, 23:59 rally.txt, dice.txt, vector.hs, reverse_grader.beam
  • Submit your solutions following the instructions in each assignment.
  • Late submissions will not be accepted.

Self-service feedback (posted after the submission deadlines for Assignments 1 and 2)

Assuming that you have PropEr in your Erlang library path (following the instructions here), you can use the following two modules to test your rally and dice Erlang implementations. Simply put the modules in your Erlang code path (e.g. by moving them to your .beam directory) and use the exported proper/0,1 (the second accepting any option proper:quickcheck/2 would accept in its second argument).

Rally: rallyomatic.beam
Dice: diceomatic.beam

$ ls
rally.beam rallyomatic.beam
$ erl
Erlang R16B03 (erts-5.10.4) [source-e0ecc86] [64-bit] [smp:8:8] [async-threads:10] [hipe] [kernel-poll:false]

Eshell V5.10.4  (abort with ^G)
1> rallyomatic:proper().
....................................................................................................
OK: Passed 100 test(s).
true
2> rallyomatic:proper(1000).
....................................................................................................
....................................................................................................
....................................................................................................
....................................................................................................
....................................................................................................
....................................................................................................
....................................................................................................
....................................................................................................
....................................................................................................
....................................................................................................
OK: Passed 1000 test(s).
true

Updated  2013-12-17 12:02:55 by Konstantinos Sagonas.