Safe Haskell | None |
---|
- nonsimplecommoditychars :: String
- quoteCommoditySymbolIfNeeded :: [Char] -> [Char]
- unknown :: Commodity
- dollar :: Commodity
- euro :: Commodity
- pound :: Commodity
- hour :: Commodity
- dollars :: Quantity -> Amount
- euros :: Quantity -> Amount
- pounds :: Quantity -> Amount
- hours :: Quantity -> Amount
- defaultcommodities :: [Commodity]
- comm :: String -> Commodity
- conversionRate :: Commodity -> Commodity -> Double
- canonicaliseCommodities :: [Commodity] -> Map String Commodity
- tests_Hledger_Data_Commodity :: Test
Documentation
quoteCommoditySymbolIfNeeded :: [Char] -> [Char]Source
comm :: String -> CommoditySource
Look up one of the hard-coded default commodities. For use in tests.
conversionRate :: Commodity -> Commodity -> DoubleSource
Find the conversion rate between two commodities. Currently returns 1.