Hoogle Search

Within LTS Haskell 24.50 (ghc-9.10.3)

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

  1. journalNumberTransactions :: Journal -> Journal

    hledger-lib Hledger.Data.Journal

    Number (set the tindex field) this journal's transactions, counting upward from 1.

  2. journalRenumberAccountDeclarations :: Journal -> Journal

    hledger-lib Hledger.Data.Journal

    Renumber all the account declarations. This is useful to call when finalising or concatenating Journals, to give account declarations a total order across files.

  3. anumpostings :: Account -> Int

    hledger-lib Hledger.Data.Types

    the number of postings to this account

  4. fromRawNumber :: RawNumber -> Maybe Integer -> Either String (Quantity, Word8, Maybe Char, Maybe DigitGroupStyle)

    hledger-lib Hledger.Read.Common

    Interpret a raw number as a decimal number. Returns: - the decimal number - the precision (number of digits after the decimal point) - the decimal point character, if any - the digit group style, if any (digit group character and sizes of digit groups)

  5. rawnumberp :: forall (m :: Type -> Type) . TextParser m (Either AmbiguousNumber RawNumber)

    hledger-lib Hledger.Read.Common

    Parse and interpret the structure of a number without external hints. Numbers are digit strings, possibly separated into digit groups by one of two types of separators. (1) Numbers may optionally have a decimal mark, which may be either a period or comma. (2) Numbers may optionally contain digit group marks, which must all be either a period, a comma, or a space. It is our task to deduce the characters used as decimal mark and digit group mark, based on the allowed syntax. For instance, we make use of the fact that a decimal mark can occur at most once and must be to the right of all digit group marks.

    >>> parseTest rawnumberp "1,234,567.89"
    Right (WithSeparators ',' ["1","234","567"] (Just ('.',"89")))
    
    >>> parseTest rawnumberp "1,000"
    Left (AmbiguousNumber "1" ',' "000")
    
    >>> parseTest rawnumberp "1 000"
    Right (WithSeparators ' ' ["1","000"] Nothing)
    

  6. CompactInvalidNumberOfParts :: InvalidNumberOfParts -> CompactDecodeError

    jose Crypto.JOSE.Error

    No documentation available.

  7. data InvalidNumberOfParts

    jose Crypto.JOSE.Error

    The wrong number of parts were found when decoding a compact JOSE object.

  8. InvalidNumberOfParts :: Natural -> Natural -> InvalidNumberOfParts

    jose Crypto.JOSE.Error

    expected vs actual parts

  9. _CompactInvalidNumberOfParts :: Prism' CompactDecodeError InvalidNumberOfParts

    jose Crypto.JOSE.Error

    No documentation available.

  10. isNumber :: JSVal -> GHCJSPure Bool

    jsaddle GHCJS.Foreign

    No documentation available.

Page 260 of many | Previous | Next