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.
journalNumberTransactions :: Journal -> Journalhledger-lib Hledger.Data.Journal Number (set the tindex field) this journal's transactions, counting upward from 1.
journalRenumberAccountDeclarations :: Journal -> Journalhledger-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.
anumpostings :: Account -> Inthledger-lib Hledger.Data.Types the number of postings to this account
-
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)
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)CompactInvalidNumberOfParts :: InvalidNumberOfParts -> CompactDecodeErrorjose Crypto.JOSE.Error No documentation available.
-
jose Crypto.JOSE.Error The wrong number of parts were found when decoding a compact JOSE object.
InvalidNumberOfParts :: Natural -> Natural -> InvalidNumberOfPartsjose Crypto.JOSE.Error expected vs actual parts
_CompactInvalidNumberOfParts :: Prism' CompactDecodeError InvalidNumberOfPartsjose Crypto.JOSE.Error No documentation available.
isNumber :: JSVal -> GHCJSPure Booljsaddle GHCJS.Foreign No documentation available.