Hoogle Search

Within LTS Haskell 24.52 (ghc-9.10.3)

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

  1. AbsGtEq :: OrdPlus

    hledger-lib Hledger.Query

    No documentation available.

  2. AbsLtEq :: OrdPlus

    hledger-lib Hledger.Query

    No documentation available.

  3. GtEq :: OrdPlus

    hledger-lib Hledger.Query

    No documentation available.

  4. LtEq :: OrdPlus

    hledger-lib Hledger.Query

    No documentation available.

  5. parseQuery :: Day -> Text -> Either String (Query, [QueryOpt])

    hledger-lib Hledger.Query

    A version of parseQueryList which acts on a single Text of space-separated terms. The usual shell quoting rules are assumed. When a pattern contains whitespace, it (or the whole term including prefix) should be enclosed in single or double quotes. A query term is either:

    1. a search pattern, which matches on one or more fields, eg:acct:REGEXP - match the account name with a regular expression desc:REGEXP - match the transaction description date:PERIODEXP - match the date with a period expression
    The prefix indicates the field to match, or if there is no prefix account name is assumed.
    1. a query option, which modifies the reporting behaviour in some way. There is currently one of these, which may appear only once:inacct:FULLACCTNAME
    Period expressions may contain relative dates, so a reference date is required to fully parse these.
    >>> parseQuery nulldate "expenses:dining out"
    Right (Or [Acct (RegexpCI "expenses:dining"),Acct (RegexpCI "out")],[])
    
    >>> parseQuery nulldate "\"expenses:dining out\""
    Right (Acct (RegexpCI "expenses:dining out"),[])
    

  6. parseQueryList :: Day -> [Text] -> Either String (Query, [QueryOpt])

    hledger-lib Hledger.Query

    Convert a list of space-separated queries to a single query Multiple terms are combined as follows: 1. multiple account patterns are OR'd together 2. multiple description patterns are OR'd together 3. multiple status patterns are OR'd together 4. then all terms are AND'd together

  7. parseQueryTerm :: Day -> Text -> Either String (Query, [QueryOpt])

    hledger-lib Hledger.Query

    Parse a single query term as either a query or a query option, or return an error message if parsing fails.

  8. requireJournalFileExists :: FilePath -> IO ()

    hledger-lib Hledger.Read

    If the specified journal file does not exist (and is not "-"), call error with an informative message. (Using "journal file" generically here; it could be in any of hledger's supported formats.)

  9. doublequotedtextp :: forall (m :: Type -> Type) . TextParser m Text

    hledger-lib Hledger.Read.Common

    Parse a single line of possibly empty text enclosed in double quotes.

  10. infer_equity :: HasInputOpts c => Lens' c Bool

    hledger-lib Hledger.Read.Common

    No documentation available.

Page 370 of many | Previous | Next