Hoogle Search
Within LTS Haskell 24.49 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
journalTagCostsAndEquityAndMaybeInferCosts :: Bool -> Bool -> Journal -> Either String Journalhledger-lib Hledger.Data.Journal Identify and tag (1) equity conversion postings and (2) postings which have (or could have ?) redundant costs. And if the addcosts flag is true, also add any costs which can be inferred from equity conversion postings. This is always called before transaction balancing to tag the redundant-cost postings so they can be ignored. With --infer-costs, it is called again after transaction balancing (when it has more information to work with) to infer costs from equity postings. See transactionTagCostsAndEquityAndMaybeInferCosts for more details, and hledger manual > Cost reporting for more background.
samplejournalMaybeExplicit :: Bool -> Journalhledger-lib Hledger.Data.Journal No documentation available.
postingAddHiddenAndMaybeVisibleTag :: Bool -> HiddenTag -> Posting -> Postinghledger-lib Hledger.Data.Posting Add the given hidden tag to a posting; and with a true argument, also add the equivalent visible tag to the posting's tags and comment fields. If the posting already has these tags (with any value), do nothing.
transactionAddHiddenAndMaybeVisibleTag :: Bool -> HiddenTag -> Transaction -> Transactionhledger-lib Hledger.Data.Transaction Add the given hidden tag to a transaction; and with a true argument, also add the equivalent visible tag to the transaction's tags and comment fields. If the transaction already has these tags (with any value), do nothing.
-
hledger-lib Hledger.Data.Transaction Find, associate, and tag the corresponding equity conversion postings and costful or potentially costful postings in this transaction. With a true addcosts argument, also generate and add any equivalent costs that are missing. The (previously detected) names of all equity conversion accounts should be provided. For every pair of adjacent conversion postings, this first searches for a posting with equivalent cost (1). If no such posting is found, it then searches the costless postings, for one matching one of the conversion amounts (2). If either of these found a candidate posting, it is tagged with costPostingTagName. Then if in addcosts mode, if a costless posting was found, a cost equivalent to the conversion amounts is added to it. The name reflects the complexity of this and its helpers; clarification is ongoing.
prMapMaybeName :: (a -> Maybe b) -> PeriodicReport a c -> PeriodicReport b chledger-lib Hledger.Reports.ReportTypes Map a function over the row names, possibly discarding some.
-
morpheus-graphql-core Data.Morpheus.Types.Internal.AST No documentation available.
toMaybeScalar :: C a v => v -> Maybe anumeric-prelude Algebra.OccasionallyScalar No documentation available.
toListMaybe :: a -> T -> [Maybe a]numeric-prelude Number.Peano No documentation available.
addMaybe :: (Eq i, C a) => T i a -> T i a -> Maybe (T i a)numeric-prelude Number.Physical Add two values if the units match, otherwise return Nothing