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.

  1. forceMaybe :: Maybe a -> a

    MissingH Data.Maybe.Utils

    Pulls a Just value out of a Maybe value. If the Maybe value is Nothing, raises an exception with error. Alias of fromJust.

  2. forceMaybeMsg :: String -> Maybe a -> a

    MissingH Data.Maybe.Utils

    Like forceMaybe, but lets you customize the error message raised if Nothing is supplied.

  3. cast'Maybe :: Val a => Value -> Maybe (Maybe a)

    bson Data.Bson

    No documentation available.

  4. valMaybe :: Val a => Maybe a -> Value

    bson Data.Bson

    No documentation available.

  5. updateViewStateWithEventMaybe :: Event -> ViewState -> Maybe ViewState

    gloss Graphics.Gloss.Data.ViewState

    Like updateViewStateWithEvent, but returns Nothing if no update was needed.

  6. journalTagCostsAndEquityAndMaybeInferCosts :: Bool -> Bool -> Journal -> Either String Journal

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

  7. samplejournalMaybeExplicit :: Bool -> Journal

    hledger-lib Hledger.Data.Journal

    No documentation available.

  8. postingAddHiddenAndMaybeVisibleTag :: Bool -> HiddenTag -> Posting -> Posting

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

  9. transactionAddHiddenAndMaybeVisibleTag :: Bool -> HiddenTag -> Transaction -> Transaction

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

  10. transactionTagCostsAndEquityAndMaybeInferCosts :: Bool -> Bool -> [AccountName] -> Transaction -> Either String Transaction

    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.

Page 179 of many | Previous | Next