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.

  1. fixSmartDateStrEither :: Day -> Text -> Either HledgerParseErrors Text

    hledger-lib Hledger.Data.Dates

    A safe version of fixSmartDateStr.

  2. fixSmartDateStrEither' :: Day -> Text -> Either HledgerParseErrors EFDay

    hledger-lib Hledger.Data.Dates

    No documentation available.

  3. Mixed :: Map MixedAmountKey Amount -> MixedAmount

    hledger-lib Hledger.Data.Types

    No documentation available.

  4. newtype MixedAmount

    hledger-lib Hledger.Data.Types

    No documentation available.

  5. data MixedAmountKey

    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.

  6. MixedAmountKeyNoCost :: CommoditySymbol -> MixedAmountKey

    hledger-lib Hledger.Data.Types

    No documentation available.

  7. MixedAmountKeyTotalCost :: CommoditySymbol -> CommoditySymbol -> MixedAmountKey

    hledger-lib Hledger.Data.Types

    No documentation available.

  8. MixedAmountKeyUnitCost :: CommoditySymbol -> CommoditySymbol -> Quantity -> MixedAmountKey

    hledger-lib Hledger.Data.Types

    No documentation available.

  9. mixedAmountApplyGain :: PriceOracle -> Map CommoditySymbol AmountStyle -> Day -> Day -> Day -> ValuationType -> MixedAmount -> MixedAmount

    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.

  10. mixedAmountApplyValuation :: PriceOracle -> Map CommoditySymbol AmountStyle -> Day -> Day -> Day -> ValuationType -> MixedAmount -> MixedAmount

    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.

Page 276 of many | Previous | Next