progs/roman.scala
author Christian Urban <christian dot urban at kcl dot ac dot uk>
Wed, 25 Jan 2017 01:25:17 +0000
changeset 104 07780accd5df
child 105 67ce930b5935
permissions -rw-r--r--
updated
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
104
07780accd5df updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
     1
abstract class RomanDigit 
07780accd5df updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
     2
case object I extends RomanDigit 
07780accd5df updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
     3
case object V extends RomanDigit 
07780accd5df updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
     4
case object X extends RomanDigit 
07780accd5df updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
     5
case object L extends RomanDigit 
07780accd5df updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
     6
case object C extends RomanDigit 
07780accd5df updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
     7
case object D extends RomanDigit 
07780accd5df updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
     8
case object M extends RomanDigit