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. splitReaderPrefix :: PrefixedFilePath -> (Maybe StorageFormat, FilePath)

    hledger-lib Hledger.Read

    If a filepath is prefixed by one of the reader names and a colon, split that off. Eg "csv:-" -> (Just "csv", "-"). These reader prefixes can be used to force a specific reader, overriding the file extension.

  2. tests_Read :: TestTree

    hledger-lib Hledger.Read

    No documentation available.

  3. handleReadFnToTextReadFn :: (InputOpts -> FilePath -> Text -> ExceptT String IO Journal) -> InputOpts -> FilePath -> Handle -> ExceptT String IO Journal

    hledger-lib Hledger.Read.Common

    No documentation available.

  4. rReadFn :: Reader (m :: Type -> Type) -> InputOpts -> FilePath -> Handle -> ExceptT String IO Journal

    hledger-lib Hledger.Read.Common

    No documentation available.

  5. module Hledger.Read.CsvReader

    A reader for CSV (character-separated) data. This also reads a rules file to help interpret the CSV data.

  6. tests_CsvReader :: TestTree

    hledger-lib Hledger.Read.CsvReader

    No documentation available.

  7. module Hledger.Read.JournalReader

    A reader for hledger's journal file format (http://hledger.org/hledger.html#the-journal-file). hledger's journal format is a compatible subset of c++ ledger's (http://ledger-cli.org/3.0/doc/ledger3.html#Journal-Format), so this reader should handle many ledger files as well. Example:

    2012/3/24 gift
    expenses:gifts  $10
    assets:cash
    
    Journal format supports the include directive which can read files in other formats, so the other file format readers need to be importable and invocable here. Some important parts of journal parsing are therefore kept in Hledger.Read.Common, to avoid import cycles.

  8. findReader :: forall (m :: Type -> Type) . MonadIO m => Maybe StorageFormat -> Maybe FilePath -> Maybe (Reader m)

    hledger-lib Hledger.Read.JournalReader

    findReader mformat mpath
    
    Find the reader named by mformat, if provided. ("ssv" and "tsv" are recognised as alternate names for the csv reader, which also handles those formats.) Or, if a file path is provided, find the first reader that handles its file extension, if any.

  9. splitReaderPrefix :: PrefixedFilePath -> (Maybe StorageFormat, FilePath)

    hledger-lib Hledger.Read.JournalReader

    If a filepath is prefixed by one of the reader names and a colon, split that off. Eg "csv:-" -> (Just "csv", "-"). These reader prefixes can be used to force a specific reader, overriding the file extension.

  10. tests_JournalReader :: TestTree

    hledger-lib Hledger.Read.JournalReader

    No documentation available.

Page 550 of many | Previous | Next