Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- nonsimplecommoditychars :: String
- isNonsimpleCommodityChar :: Char -> Bool
- quoteCommoditySymbolIfNeeded :: Text -> Text
- commodity :: [Char]
- commoditysymbols :: [(String, CommoditySymbol)]
- comm :: String -> CommoditySymbol
- conversionRate :: CommoditySymbol -> CommoditySymbol -> Double
Documentation
isNonsimpleCommodityChar :: Char -> Bool Source #
commoditysymbols :: [(String, CommoditySymbol)] Source #
comm :: String -> CommoditySymbol Source #
Look up one of the sample commodities' symbol by name.
conversionRate :: CommoditySymbol -> CommoditySymbol -> Double Source #
Find the conversion rate between two commodities. Currently returns 1.