progs/roman.scala
changeset 104 07780accd5df
child 105 67ce930b5935
equal deleted inserted replaced
103:350d4364f6f9 104:07780accd5df
       
     1 abstract class RomanDigit 
       
     2 case object I extends RomanDigit 
       
     3 case object V extends RomanDigit 
       
     4 case object X extends RomanDigit 
       
     5 case object L extends RomanDigit 
       
     6 case object C extends RomanDigit 
       
     7 case object D extends RomanDigit 
       
     8 case object M extends RomanDigit