Hoogle Search
Within LTS Haskell 24.36 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
showMixedAmountWith :: AmountFormat -> MixedAmount -> Stringhledger-lib Hledger.Data.Amount Like showMixedAmount but uses the given amount format. See showMixedAmountB for special cases.
showMixedAmountWithZeroCommodity :: MixedAmount -> Stringhledger-lib Hledger.Data.Amount Like showMixedAmount, but zero amounts are shown with their commodity if they have one. See showMixedAmountB for special cases.
showMixedAmountWithoutCost :: Bool -> MixedAmount -> Stringhledger-lib Hledger.Data.Amount Get the string representation of a mixed amount, without showing any costs. With a True argument, adds ANSI codes to show negative amounts in red. See showMixedAmountB for special cases.
-
hledger-lib Hledger.Data.Dates No documentation available.
showDateSpan :: DateSpan -> Texthledger-lib Hledger.Data.Dates Render a datespan as a display string, abbreviating into a compact form if possible. Warning, hides whether dates are Exact or Flex.
showDateSpanAbbrev :: DateSpan -> Texthledger-lib Hledger.Data.Dates Like showDateSpan, but show month spans as just the abbreviated month name in the current locale.
showDateSpanDebug :: DateSpan -> Stringhledger-lib Hledger.Data.Dates Show a DateSpan with its begin/end dates, exact or flex.
-
hledger-lib Hledger.Data.Dates No documentation available.
showJournalAmountsDebug :: Journal -> Stringhledger-lib Hledger.Data.Journal Show the journal amounts rendered, suitable for debug logging.
-
hledger-lib Hledger.Data.Period Render a period as a compact display string suitable for user output.
>>> showPeriod (WeekPeriod (fromGregorian 2016 7 25)) "2016-W30" >>> showPeriod (WeekPeriod (fromGregorian 2024 12 30)) "2025-W01"