fabiommendes/elm-roman/1.0.0

Roman

Read and write in roman numerals

Exposes two functions: toRoman and fromRoman, which are responsible for the conversion between integers and strings representing roman numerals.

toRoman : Int -> String

Render number as Roman numeral.

Invalid numbers are rendered in arabic.

fromRoman : String -> Maybe Int

Parse roman numeral