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. toGetContents :: TimeoutIO -> IO ByteString

    happstack-server Happstack.Server.Internal.TimeoutIO

    No documentation available.

  2. sGetContents :: Handle -> Socket -> IO ByteString

    happstack-server Happstack.Server.Internal.TimeoutSocket

    No documentation available.

  3. forgetContents :: forall f (c :: Type -> Constraint) . Functor f => SomeDictOf f c -> f (SomeDictOf (Proxy :: Type -> Type) c)

    some-dict-of SomeDictOf

    Not really sure what this might be useful for. Examples:

    shows :: SomeDictOf [] Show
    shows = SomeDictOf [True, False, True]
    
    forgotten :: [SomeDictOf Proxy Show]
    forgotten = forgetContents show
    
    main = do
    forM forgotten $ \(SomeDictOf Proxy) -> do
    print 10
    
    The above program should output 10 three times.

  4. hGetContents :: Handle -> IO String

    ihaskell IHaskellPrelude

    Computation hGetContents hdl returns the list of characters corresponding to the unread portion of the channel or file managed by hdl, which is immediate closed. Items are read strictly from the input Handle. This operation may fail with:

    • isEOFError if the end of file has been reached.

  5. hGetContents :: (IOData a, MonadIO m) => Handle -> m a

    chunked-data Data.IOData

    No documentation available.

  6. hGetContents :: (Sample e, Buffer a e) => Handle -> IO (Info, Maybe (a e))

    hsndfile Sound.File.Sndfile

    Return the contents of a handle open for reading in a single buffer.

  7. hGetContents :: (Sample e, Buffer a e) => Handle -> IO (Info, Maybe (a e))

    hsndfile Sound.File.Sndfile.Buffer

    Return the contents of a handle open for reading in a single buffer.

  8. hGetContentsChunkedBy :: Int -> Handle -> IO [ByteString]

    hw-prim HaskellWorks.Data.ByteString

    No documentation available.

  9. hGetContentsChunkedBy :: Int -> Handle -> IO ByteString

    hw-prim HaskellWorks.Data.ByteString.Lazy

    No documentation available.

  10. hGetContents :: Handle -> IO String

    pathtype System.Path.IO

    Computation hGetContents hdl returns the list of characters corresponding to the unread portion of the channel or file managed by hdl, which is put into an intermediate state, semi-closed. In this state, hdl is effectively closed, but items are read from hdl on demand and accumulated in a special list returned by hGetContents hdl. Any operation that fails because a handle is closed, also fails if a handle is semi-closed. The only exception is hClose. A semi-closed handle becomes closed:

    • if hClose is applied to it;
    • if an I/O error occurs when reading an item from the handle;
    • or once the entire contents of the handle has been read.
    Once a semi-closed handle becomes closed, the contents of the associated list becomes fixed. The contents of this final list is only partially specified: it will contain at least all the items of the stream that were evaluated prior to the handle becoming closed. Any I/O errors encountered while a handle is semi-closed are simply discarded. This operation may fail with:

Page 11 of many | Previous | Next