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.
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.
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.
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.
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.
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.
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.
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.
bytestringDigest :: Digest t -> ByteStringSHA Data.Digest.Pure.SHA Convert a digest to a ByteString.
byteStringBytes :: ByteString -> Unfoldl Word8deferred-folds DeferredFolds.Unfoldl Bytes of a bytestring
byteStringBytes :: ByteString -> UnfoldlM IO Word8deferred-folds DeferredFolds.UnfoldlM Bytes of a bytestring