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.
readsPrec :: Read a => Int -> ReadS aghc-lib-parser GHC.Prelude.Basic attempts to parse a value from the front of the string, returning a list of (parsed value, remaining string) pairs. If there is no successful parse, the returned list is empty. Derived instances of Read and Show satisfy the following:
That is, readsPrec parses the string produced by showsPrec, and delivers the value that showsPrec started with.readRawSetting :: (Show a, Read a) => FilePath -> RawSettings -> String -> Either String aghc-lib-parser GHC.Settings.Utils No documentation available.
readJSObject :: FilePath -> IO (JSOptions, ByteString)ghc-lib-parser GHC.StgToJS.Object Read a JS object from file
readObject :: FilePath -> IO (Maybe Object)ghc-lib-parser GHC.StgToJS.Object Read object from file The object is still in memory after this (see objHandle).
readObjectBlockInfo :: FilePath -> IO (Maybe BlockInfo)ghc-lib-parser GHC.StgToJS.Object Reads only the part necessary to get the block info
readObjectBlocks :: FilePath -> BlockIds -> IO [ObjBlock]ghc-lib-parser GHC.StgToJS.Object Read blocks in the object file, using the given filtering function
readTcRef :: MonadIO m => TcRef a -> m aghc-lib-parser GHC.Tc.Types.TcRef No documentation available.
readPackageDbForGhc :: FilePath -> IO [DbUnitInfo]ghc-lib-parser GHC.Unit.Database Read the part of the package DB that GHC is interested in.
-
ghc-lib-parser GHC.Unit.Database Read the part of the package DB that ghc-pkg is interested in Note that the Binary instance for ghc-pkg's representation of packages is not defined in this package. This is because ghc-pkg uses Cabal types (and Binary instances for these) which this package does not depend on. If we open the package db in read only mode, we get its contents. Otherwise we additionally receive a PackageDbLock that represents a lock on the database, so that we can safely update it later.
readUnitDatabase :: Logger -> UnitConfig -> FilePath -> IO (UnitDatabase UnitId)ghc-lib-parser GHC.Unit.State No documentation available.