Hoogle Search

Within LTS Haskell 24.67 (ghc-9.10.3)

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

  1. readState :: ArrowReader r a => a b r

    arrows Control.Arrow.Operations

    Obtain the current value of the state.

  2. readStore :: Store a -> IO a

    foreign-store Foreign.Store

    Read from the store. If the store has been deleted or is unallocated, this will throw an exception. Not thread-safe.

  3. readDot :: ParseDotRepr dg n => IO (dg n)

    graphviz Data.GraphViz.Commands.IO

    Read in and parse a DotRepr value from stdin.

  4. readDotFile :: ParseDotRepr dg n => FilePath -> IO (dg n)

    graphviz Data.GraphViz.Commands.IO

    Read in and parse a DotRepr value from a file.

  5. readJsonFile :: FromJSON a => FilePath -> IO a

    hledger-lib Hledger.Data.Json

    Read a JSON file and decode it to the target type, or raise an error if we can't. Eg: readJsonFile "a.json" :: IO Transaction

  6. readJournal :: InputOpts -> Maybe FilePath -> Handle -> ExceptT String IO Journal

    hledger-lib Hledger.Read

    readJournal iopts mfile txt
    
    Read a Journal from some handle, with strict checks if enabled, or return an error message. The reader (data format) is chosen based on, in this order:
    • a reader name provided in iopts
    • a reader prefix in the mfile path
    • a file extension in mfile
    If none of these is available, or if the reader name is unrecognised, the journal reader is used. If a file path is not provided, "-" is assumed (and may appear in error messages, files output etc, where it will be a slight lie: it will mean "not from a file", not necessarily "from standard input".

  7. readJournal' :: Handle -> IO Journal

    hledger-lib Hledger.Read

    An easy version of readJournal which assumes default options, and fails in the IO monad.

  8. readJournal'' :: Text -> IO Journal

    hledger-lib Hledger.Read

    An even easier version of readJournal' which takes a Text instead of a Handle.

  9. readJournalFile :: InputOpts -> PrefixedFilePath -> ExceptT String IO Journal

    hledger-lib Hledger.Read

    Read a Journal from this file, or from stdin if the file path is -, with strict checks if enabled, or return an error message. XXX or, calls error if the file does not exist. (Note strict checks are disabled temporarily here when this is called by readJournalFiles). The file path can have a READER: prefix. The reader (data format) to use is determined from (in priority order): the mformat_ specified in the input options, if any; the file path's READER: prefix, if any; a recognised file name extension. if none of these identify a known reader, the journal reader is used. The input options can also configure balance assertion checking, automated posting generation, a rules file for converting CSV data, etc. If using --new, and if latest-file writing is enabled in input options, and not deferred by readJournalFiles, and after passing strict checks if enabled, a .latest.FILE file will be created/updated (for the main file only, not for included files), to remember the latest transaction date processed.

  10. readJournalFile' :: PrefixedFilePath -> IO Journal

    hledger-lib Hledger.Read

    An easy version of readJournalFile which assumes default options, and fails in the IO monad.

Page 202 of many | Previous | Next