Hoogle Search

Within LTS Haskell 24.9 (ghc-9.10.2)

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

  1. hGetContents' :: Handle -> IO String

    ghc-internal GHC.Internal.System.IO

    The hGetContents' operation reads all input on the given handle before returning it as a String and closing the handle.

  2. vGetContents :: HVIO a => a -> IO String

    MissingH System.IO.HVIO

    Get the remaining contents. Please note that as a user of this function, the same partial-closing semantics as are used in the standard hGetContents are encouraged from implementators, but are not required. That means that, for instance, a vGetChar after a vGetContents may return some undefined result instead of the error you would normally get. You should use caution to make sure your code doesn't fall into that trap, or make sure to test your code with Handle or one of the default instances defined in this module. Also, some implementations may essentially provide a complete close after a call to vGetContents. The bottom line: after a call to vGetContents, you should do nothing else with the object save closing it with vClose. For implementators, you are highly encouraged to provide a correct implementation.

  3. hGetContents :: ListLikeIO full item => Handle -> IO full

    ListLike Data.ListLike

    Read entire handle contents. May be done lazily like hGetContents.

  4. hGetContents :: ListLikeIO full item => Handle -> IO full

    ListLike Data.ListLike.IO

    Read entire handle contents. May be done lazily like hGetContents.

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

    classy-prelude ClassyPrelude

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

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

    ghc-lib-parser GHC.Types.Target

    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.

  7. hGetContents :: forall (m :: Type -> Type) . MonadIO m => Handle -> ByteStream m ()

    streaming-bytestring Streaming.ByteString

    Read entire handle contents lazily into a ByteStream. Chunks are read on demand, using the default chunk size. Note: the Handle should be placed in binary mode with hSetBinaryMode for hGetContents to work correctly.

  8. hGetContentsN :: forall (m :: Type -> Type) . MonadIO m => Int -> Handle -> ByteStream m ()

    streaming-bytestring Streaming.ByteString

    Read entire handle contents lazily into a ByteStream. Chunks are read on demand, in at most k-sized chunks. It does not block waiting for a whole k-sized chunk, so if less than k bytes are available then they will be returned immediately as a smaller chunk. Note: the Handle should be placed in binary mode with hSetBinaryMode for hGetContentsN to work correctly.

  9. hGetContents :: forall (m :: Type -> Type) . MonadIO m => Handle -> ByteStream m ()

    streaming-bytestring Streaming.ByteString.Char8

    Read entire handle contents lazily into a ByteStream. Chunks are read on demand, using the default chunk size. Note: the Handle should be placed in binary mode with hSetBinaryMode for hGetContents to work correctly.

  10. hGetContentsN :: forall (m :: Type -> Type) . MonadIO m => Int -> Handle -> ByteStream m ()

    streaming-bytestring Streaming.ByteString.Char8

    Read entire handle contents lazily into a ByteStream. Chunks are read on demand, in at most k-sized chunks. It does not block waiting for a whole k-sized chunk, so if less than k bytes are available then they will be returned immediately as a smaller chunk. Note: the Handle should be placed in binary mode with hSetBinaryMode for hGetContentsN to work correctly.

Page 10 of many | Previous | Next