Hoogle Search

Within LTS Haskell 24.42 (ghc-9.10.3)

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

  1. showMixedAmountWithoutCost :: Bool -> MixedAmount -> String

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

  2. showDate :: Day -> Text

    hledger-lib Hledger.Data.Dates

    No documentation available.

  3. showDateSpan :: DateSpan -> Text

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

  4. showDateSpanAbbrev :: DateSpan -> Text

    hledger-lib Hledger.Data.Dates

    Like showDateSpan, but show month spans as just the abbreviated month name in the current locale.

  5. showDateSpanDebug :: DateSpan -> String

    hledger-lib Hledger.Data.Dates

    Show a DateSpan with its begin/end dates, exact or flex.

  6. showEFDate :: EFDay -> Text

    hledger-lib Hledger.Data.Dates

    No documentation available.

  7. showJournalAmountsDebug :: Journal -> String

    hledger-lib Hledger.Data.Journal

    Show the journal amounts rendered, suitable for debug logging.

  8. showPeriod :: Period -> Text

    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"
    

  9. showPeriodAbbrev :: Period -> Text

    hledger-lib Hledger.Data.Period

    Like showPeriod, but if it's a month or week period show an abbreviated form. >>> showPeriodAbbrev (WeekPeriod (fromGregorian 2016 7 25)) W30 >>> showPeriodAbbrev (WeekPeriod (fromGregorian 2024 12 30)) W01

  10. showAccountName :: Maybe Int -> PostingType -> AccountName -> Text

    hledger-lib Hledger.Data.Posting

    Show an account name, clipped to the given width if any, and appropriately bracketed/parenthesised for the given posting type.

Page 103 of many | Previous | Next