diff options
Diffstat (limited to 'files/practicum/RomeinsGetal.icl')
-rw-r--r-- | files/practicum/RomeinsGetal.icl | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/files/practicum/RomeinsGetal.icl b/files/practicum/RomeinsGetal.icl new file mode 100644 index 0000000..4f85866 --- /dev/null +++ b/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
|