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. mixed :: Foldable t => t Amount -> MixedAmount

    hledger-lib Hledger.Data.Amount

    Convert amounts in various commodities into a mixed amount.

  2. mixedAmount :: Amount -> MixedAmount

    hledger-lib Hledger.Data.Amount

    Create a MixedAmount from a single Amount.

  3. mixedAmountCost :: MixedAmount -> MixedAmount

    hledger-lib Hledger.Data.Amount

    Convert all component amounts to cost where possible (see amountCost).

  4. mixedAmountIsZero :: MixedAmount -> Bool

    hledger-lib Hledger.Data.Amount

    Is this mixed amount exactly zero, ignoring its display precision? See amountIsZero.

  5. mixedAmountLooksZero :: MixedAmount -> Bool

    hledger-lib Hledger.Data.Amount

    Does this mixed amount appear to be zero when rendered with its display precision? See amountLooksZero.

  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 273 of many | Previous | Next