Hoogle Search
Within Stackage Nightly 2025-10-08 (ghc-9.12.2)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
amountSetStyles :: Map CommoditySymbol AmountStyle -> Amount -> Amounthledger-lib Hledger.Data.Amount Deprecated: please use styleAmounts instead
amountStyleSetRounding :: Rounding -> AmountStyle -> AmountStylehledger-lib Hledger.Data.Amount Set this amount style's rounding strategy when it is being applied to amounts.
-
hledger-lib Hledger.Data.Amount Set these amount styles' rounding strategy when they are being applied to amounts.
mixedAmountSetFullPrecision :: MixedAmount -> MixedAmounthledger-lib Hledger.Data.Amount In each component amount, increase the display precision sufficiently to render it exactly (showing all significant decimal digits).
mixedAmountSetFullPrecisionUpTo :: Maybe Word8 -> MixedAmount -> MixedAmounthledger-lib Hledger.Data.Amount In each component amount, increase the display precision sufficiently to render it exactly if possible, but not more than the given max precision, and if no max precision is given and the amount has infinite decimals, limit display precision to a hard-coded smaller number (8). See amountSetFullPrecisionUpTo.
mixedAmountSetPrecision :: AmountPrecision -> MixedAmount -> MixedAmounthledger-lib Hledger.Data.Amount Set the display precision in the amount's commodities.
mixedAmountSetPrecisionMax :: Word8 -> MixedAmount -> MixedAmounthledger-lib Hledger.Data.Amount In each component amount, ensure the display precision is at most the given value. Makes all amounts have an explicit Precision.
mixedAmountSetPrecisionMin :: Word8 -> MixedAmount -> MixedAmounthledger-lib Hledger.Data.Amount In each component amount, ensure the display precision is at least the given value. Makes all amounts have an explicit Precision.
mixedAmountSetStyles :: Map CommoditySymbol AmountStyle -> MixedAmount -> MixedAmounthledger-lib Hledger.Data.Amount Deprecated: please use styleAmounts instead
journalSetLastReadTime :: POSIXTime -> Journal -> Journalhledger-lib Hledger.Data.Journal Set this journal's last read time, ie when its files were last read.