Hoogle Search

Within LTS Haskell 24.46 (ghc-9.10.3)

Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.

  1. amountSetPrecisionMax :: Word8 -> Amount -> Amount

    hledger-lib Hledger.Data.Amount

    Ensure an amount's display precision is at most the given maximum precision. Always sets an explicit Precision.

  2. amountSetPrecisionMin :: Word8 -> Amount -> Amount

    hledger-lib Hledger.Data.Amount

    Ensure an amount's display precision is at least the given minimum precision. Always sets an explicit Precision.

  3. amountSetStyles :: Map CommoditySymbol AmountStyle -> Amount -> Amount

    hledger-lib Hledger.Data.Amount

    Deprecated: please use styleAmounts instead

  4. amountStyleSetRounding :: Rounding -> AmountStyle -> AmountStyle

    hledger-lib Hledger.Data.Amount

    Set this amount style's rounding strategy when it is being applied to amounts.

  5. amountStylesSetRounding :: Rounding -> Map CommoditySymbol AmountStyle -> Map CommoditySymbol AmountStyle

    hledger-lib Hledger.Data.Amount

    Set these amount styles' rounding strategy when they are being applied to amounts.

  6. mixedAmountSetFullPrecision :: MixedAmount -> MixedAmount

    hledger-lib Hledger.Data.Amount

    In each component amount, increase the display precision sufficiently to render it exactly (showing all significant decimal digits).

  7. mixedAmountSetFullPrecisionUpTo :: Maybe Word8 -> MixedAmount -> MixedAmount

    hledger-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.

  8. mixedAmountSetPrecision :: AmountPrecision -> MixedAmount -> MixedAmount

    hledger-lib Hledger.Data.Amount

    Set the display precision in the amount's commodities.

  9. mixedAmountSetPrecisionMax :: Word8 -> MixedAmount -> MixedAmount

    hledger-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.

  10. mixedAmountSetPrecisionMin :: Word8 -> MixedAmount -> MixedAmount

    hledger-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.

Page 114 of many | Previous | Next