From a7d7542dc646a5fd124ef71e71ce260889f1701b Mon Sep 17 00:00:00 2001 From: Camil Staps Date: Tue, 2 Feb 2016 19:24:50 +0100 Subject: Moved to 1415 directory --- 1415/files/practicum/RomeinsGetal.icl | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 1415/files/practicum/RomeinsGetal.icl (limited to '1415/files/practicum/RomeinsGetal.icl') diff --git a/1415/files/practicum/RomeinsGetal.icl b/1415/files/practicum/RomeinsGetal.icl new file mode 100644 index 0000000..4f85866 --- /dev/null +++ b/1415/files/practicum/RomeinsGetal.icl @@ -0,0 +1,13 @@ +implementation module RomeinsGetal + +import StdEnv + +Start :: [Roman] +Start = [fromInt 42, fromInt 999, fromInt 1024] + + +:: RD = M | D | C | L | X | V | I +:: Roman = Roman [RD] + +instance toInt Roman where // maak deze instantie af +instance fromInt Roman where // maak deze instantie af -- cgit v1.2.3