Initial data commit
This commit is contained in:
parent
72d218235f
commit
f23f22d71c
199087 changed files with 3378941 additions and 0 deletions
|
|
@ -0,0 +1,9 @@
|
|||
(define encodeGlyphs
|
||||
ACC 0 _ -> ACC
|
||||
ACC N [Glyph Value | Rest] -> (encodeGlyphs (@s ACC Glyph) (- N Value) [Glyph Value | Rest]) where (>= N Value)
|
||||
ACC N [Glyph Value | Rest] -> (encodeGlyphs ACC N Rest)
|
||||
)
|
||||
|
||||
(define encodeRoman
|
||||
N -> (encodeGlyphs "" N ["M" 1000 "CM" 900 "D" 500 "CD" 400 "C" 100 "XC" 90 "L" 50 "XL" 40 "X" 10 "IX" 9 "V" 5 "IV" 4 "I" 1])
|
||||
)
|
||||
Loading…
Add table
Add a link
Reference in a new issue