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.
read_sections :: String -> Either GZipError [Section]MissingH System.FileArchive.GZip Read all sections.
readBinaryFile :: FilePath -> IO StringMissingH System.IO.Binary Like the built-in readFile, but opens the file in binary instead of text mode.
readState :: ArrowReader r a => a b rarrows Control.Arrow.Operations Obtain the current value of the state.
-
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.
readDot :: ParseDotRepr dg n => IO (dg n)graphviz Data.GraphViz.Commands.IO Read in and parse a DotRepr value from stdin.
readDotFile :: ParseDotRepr dg n => FilePath -> IO (dg n)graphviz Data.GraphViz.Commands.IO Read in and parse a DotRepr value from a file.
readJsonFile :: FromJSON a => FilePath -> IO ahledger-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
readJournal :: InputOpts -> Maybe FilePath -> Handle -> ExceptT String IO Journalhledger-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
readJournal' :: Handle -> IO Journalhledger-lib Hledger.Read An easy version of readJournal which assumes default options, and fails in the IO monad.
readJournal'' :: Text -> IO Journalhledger-lib Hledger.Read An even easier version of readJournal' which takes a Text instead of a Handle.