Hoogle Search

Within LTS Haskell 24.43 (ghc-9.10.3)

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

  1. byteStringInput :: ByteString -> StreamSpec 'STInput ()

    typed-process System.Process.Typed

    An input stream spec which sets the input to the given ByteString. A separate thread will be forked to write the contents to the child process.

  2. byteStringOutput :: StreamSpec 'STOutput (STM ByteString)

    typed-process System.Process.Typed

    Capture the output of a process in a ByteString. This function will fork a separate thread to consume all input from the process, and will only make the results available when the underlying Handle is closed. As this is provided as an STM action, you can either check if the result is available, or block until it's ready. In the event of any exception occurring when reading from the Handle, the STM action will throw a ByteStringOutputException.

  3. byteStringFromHandle :: ProcessConfig () () () -> Handle -> IO (STM ByteString, IO ())

    typed-process System.Process.Typed.Internal

    Helper function (not exposed) for both byteStringOutput and withProcessInterleave. This will consume all of the output from the given Handle in a separate thread and provide access to the resulting ByteString via STM. Second action will close the reader handle.

  4. byteStringInput :: ByteString -> StreamSpec 'STInput ()

    typed-process System.Process.Typed.Internal

    An input stream spec which sets the input to the given ByteString. A separate thread will be forked to write the contents to the child process.

  5. byteStringOutput :: StreamSpec 'STOutput (STM ByteString)

    typed-process System.Process.Typed.Internal

    Capture the output of a process in a ByteString. This function will fork a separate thread to consume all input from the process, and will only make the results available when the underlying Handle is closed. As this is provided as an STM action, you can either check if the result is available, or block until it's ready. In the event of any exception occurring when reading from the Handle, the STM action will throw a ByteStringOutputException.

  6. byteStringInput :: ByteString -> StreamSpec 'STInput ()

    rio RIO.Process

    An input stream spec which sets the input to the given ByteString. A separate thread will be forked to write the contents to the child process.

  7. byteStringOutput :: StreamSpec 'STOutput (STM ByteString)

    rio RIO.Process

    Capture the output of a process in a ByteString. This function will fork a separate thread to consume all input from the process, and will only make the results available when the underlying Handle is closed. As this is provided as an STM action, you can either check if the result is available, or block until it's ready. In the event of any exception occurring when reading from the Handle, the STM action will throw a ByteStringOutputException.

  8. bytestringDigest :: Digest t -> ByteString

    SHA Data.Digest.Pure.SHA

    Convert a digest to a ByteString.

  9. byteStringBytes :: ByteString -> Unfoldl Word8

    deferred-folds DeferredFolds.Unfoldl

    Bytes of a bytestring

  10. byteStringBytes :: ByteString -> UnfoldlM IO Word8

    deferred-folds DeferredFolds.UnfoldlM

    Bytes of a bytestring

Page 21 of many | Previous | Next