fabiommendes / elm-roman / 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 : Basics.Int -> String

Render number as Roman numeral.

Invalid numbers are rendered in arabic.

fromRoman : String -> Maybe Basics.Int

Parse roman numeral