Hoogle Search
Within LTS Haskell 24.58 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
fixSmartDateStrEither :: Day -> Text -> Either HledgerParseErrors Texthledger-lib Hledger.Data.Dates A safe version of fixSmartDateStr.
fixSmartDateStrEither' :: Day -> Text -> Either HledgerParseErrors EFDayhledger-lib Hledger.Data.Dates No documentation available.
Mixed :: Map MixedAmountKey Amount -> MixedAmounthledger-lib Hledger.Data.Types No documentation available.
-
hledger-lib Hledger.Data.Types No documentation available.
-
hledger-lib Hledger.Data.Types Stores the CommoditySymbol of the Amount, along with the CommoditySymbol of the cost, and its unit cost if being used.
MixedAmountKeyNoCost :: CommoditySymbol -> MixedAmountKeyhledger-lib Hledger.Data.Types No documentation available.
MixedAmountKeyTotalCost :: CommoditySymbol -> CommoditySymbol -> MixedAmountKeyhledger-lib Hledger.Data.Types No documentation available.
MixedAmountKeyUnitCost :: CommoditySymbol -> CommoditySymbol -> Quantity -> MixedAmountKeyhledger-lib Hledger.Data.Types No documentation available.
-
hledger-lib Hledger.Data.Valuation Calculate the gain of each component amount, that is the difference between the valued amount and the value of the cost basis (see mixedAmountApplyValuation). If the commodity we are valuing in is not the same as the commodity of the cost, this will value the cost at the same date as the primary amount. This may not be what you want; for example you may want the cost valued at the posting date. If so, let us know and we can change this behaviour.
-
hledger-lib Hledger.Data.Valuation Apply a specified valuation to this mixed amount, using the provided price oracle, commodity styles, and reference dates. See amountApplyValuation.