Hoogle Search

Within LTS Haskell 24.32 (ghc-9.10.3)

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

  1. readPackageDbForGhc :: FilePath -> IO [DbUnitInfo]

    ghc-boot GHC.Unit.Database

    Read the part of the package DB that GHC is interested in.

  2. readPackageDbForGhcPkg :: forall pkgs (mode :: DbMode) t . Binary pkgs => FilePath -> DbOpenMode mode t -> IO (pkgs, DbOpenMode mode PackageDbLock)

    ghc-boot 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.

  3. readFileBS :: MonadIO m => FilePath -> m ByteString

    relude Relude.File

    Lifted version of readFile.

  4. readFileLBS :: MonadIO m => FilePath -> m LByteString

    relude Relude.File

    Lifted version of readFile.

  5. readFileLText :: MonadIO m => FilePath -> m LText

    relude Relude.File

    Warning: readFileLText depends on the system's locale settings and can throw unexpected exceptions.Use readFileLBS instead.

  6. readFileText :: MonadIO m => FilePath -> m Text

    relude Relude.File

    Warning: readFileText depends on the system's locale settings and can throw unexpected exceptions.Use readFileBS instead.

  7. readMVar :: MonadIO m => MVar a -> m a

    relude Relude.Lifted.Concurrent

    Lifted to MonadIO version of readMVar.

  8. readTMVar :: TMVar a -> STM a

    relude Relude.Lifted.Concurrent

    This is a combination of takeTMVar and putTMVar; ie. it takes the value from the TMVar, puts it back, and also returns it.

  9. readTVar :: TVar a -> STM a

    relude Relude.Lifted.Concurrent

    Return the current value stored in a TVar.

  10. readTVarIO :: MonadIO m => TVar a -> m a

    relude Relude.Lifted.Concurrent

    Lifted to MonadIO version of readTVarIO.

Page 130 of many | Previous | Next