Hoogle Search

Within LTS Haskell 24.41 (ghc-9.10.3)

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

  1. hGetContents :: Handle -> IO ByteString

    rawfilepath Data.ByteString.RawFilePath

    Read a handle's entire contents strictly into a ByteString. This function reads chunks at a time, increasing the chunk size on each read. The final string is then reallocated to the appropriate size. For files > half of available memory, this may lead to memory exhaustion. Consider using readFile in this case. The Handle is closed once the contents have been read, or if an exception is thrown.

  2. hGetContents :: MonadIO m => Handle -> m ByteString

    classy-prelude-yesod ClassyPrelude.Yesod

    Strictly read the contents of the given Handle into a ByteString.

  3. targetContents :: Target -> !Maybe (InputFileBuffer, UTCTime)

    ghc-lib GHC

    Optional in-memory buffer containing the source code GHC should use for this target instead of reading it from disk. Since GHC version 8.10 modules which require preprocessors such as Literate Haskell or CPP to run are also supported. If a corresponding source file does not exist on disk this will result in a SourceError exception if targetId = TargetModule _ is used. However together with targetId = TargetFile _ GHC will not complain about the file missing.

  4. sGetContents :: Handle -> SSL -> IO ByteString

    happstack-server-tls Happstack.Server.Internal.TimeoutSocketTLS

    No documentation available.

  5. hGetContents :: StringRWIO s => Handle -> IO s

    string-class Data.String.Class

    Read n bytes *or* characters, depending on the implementation into a ByteString, directly from the specified Handle Whether or not this function is lazy depends on the instance; laziness is preferred.

Page 12 of many | Previous | Next