Hoogle Search

Within LTS Haskell 24.33 (ghc-9.10.3)

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

  1. readBinIface :: Profile -> NameCache -> CheckHiWay -> TraceBinIFace -> FilePath -> IO ModIface

    ghc-lib GHC.Iface.Binary

    Read an interface file. See Note [Deduplication during iface binary serialisation] for details.

  2. readBinIfaceHeader :: Profile -> NameCache -> CheckHiWay -> TraceBinIFace -> FilePath -> IO (Fingerprint, ReadBinHandle)

    ghc-lib GHC.Iface.Binary

    Read an interface file header, checking the magic number, version, and way. Returns the hash of the source file and a BinHandle which points at the start of the rest of the interface file data.

  3. readHieFile :: NameCache -> FilePath -> IO HieFileResult

    ghc-lib GHC.Iface.Ext.Binary

    Read a HieFile from a FilePath. Can use an existing NameCache.

  4. readHieFileWithVersion :: (HieHeader -> Bool) -> NameCache -> FilePath -> IO (Either HieHeader HieFileResult)

    ghc-lib GHC.Iface.Ext.Binary

    Read a HieFile from a FilePath. Can use an existing NameCache. Allows you to specify which versions of hieFile to attempt to read. Left case returns the failing header versions.

  5. readIface :: DynFlags -> NameCache -> Module -> FilePath -> IO (MaybeErr ReadInterfaceError ModIface)

    ghc-lib GHC.Iface.Load

    readIface tries just the one file. Failed err = file not found, or unreadable, or illegible Succeeded iface = successfully found and parsed

  6. readElfNoteAsString :: Logger -> FilePath -> String -> String -> IO (Maybe String)

    ghc-lib GHC.SysTools.Elf

    read a Note as a String If you try to read a note from a section which does not support the Note format, the parsing is likely to fail and Nothing will be returned

  7. readElfSectionByName :: Logger -> ByteString -> String -> IO (Maybe ByteString)

    ghc-lib GHC.SysTools.Elf

    Given a section name, read its contents as a ByteString. If the section isn't found or if there is any parsing error, we return Nothing

  8. readCreateProcessWithExitCode' :: CreateProcess -> IO (ExitCode, String)

    ghc-lib GHC.SysTools.Process

    No documentation available.

  9. readProcessEnvWithExitCode :: String -> [String] -> (String, String) -> IO (ExitCode, String, String)

    ghc-lib GHC.SysTools.Process

    Version of System.Process.readProcessWithExitCode that takes a key-value tuple to insert into the environment.

  10. readerProc :: Chan BuildMessage -> Handle -> (String -> String) -> IO ()

    ghc-lib GHC.SysTools.Process

    No documentation available.

Page 344 of many | Previous | Next