Module
Data.Roman.Symbols
- Package
- purescript-roman
- Repository
- joellefkowitz/roman
#SymbolsTable Source
newtype SymbolsTable
SymbolsTable
represents a mapping of Roman numerals to integer values
Constructors
Instances
#getSymbols Source
getSymbols :: SymbolsTable -> Array String
#getSymbolValues Source
getSymbolValues :: SymbolsTable -> Array Int
#lookupSymbol Source
lookupSymbol :: String -> SymbolsTable -> Maybe Int
#reverseLookupSymbol Source
reverseLookupSymbol :: Int -> SymbolsTable -> Maybe String