Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- showCommoditySymbol :: Text -> Text
- isNonsimpleCommodityChar :: Char -> Bool
- quoteCommoditySymbolIfNeeded :: Text -> Text
- commodity :: [Char]
- commoditysymbols :: [(String, CommoditySymbol)]
- comm :: String -> CommoditySymbol
- conversionRate :: CommoditySymbol -> CommoditySymbol -> Double
Documentation
showCommoditySymbol :: Text -> Text Source #
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.