conduit
conduit copied to clipboard
A streaming data library
Otherwise, temp file might be deleted by ResourceT m1
This happens occasionally, but across architectures. Full build log: ``` setupCompilerEnvironmentPhase Build with /nix/store/76ry03j2vqf9kll6k3mdd7bix4jvwwf8-ghc-9.4.2. unpacking sources unpacking source archive /nix/store/xngkavb140dl6jgrxk3ndnzq4hzqrzmd-conduit-extra-1.3.6.tar.gz source root is conduit-extra-1.3.6 setting SOURCE_DATE_EPOCH to timestamp 1652197678 of...
At work we had a situation where we have a fairly complex sink implemented using Conduits: ``` uploadLogs :: ConduitT LogEntry output m () ``` It so happened that the...
`ConduitT` implements `MonadError` for a generic error type, which is in principle equivalent to `MonadCatch`. Tested this together with @vkleen on https://github.com/ners/dosh
I wrote some wrong code: ```hs -- Capture at most 1 line of stdout/stderr. -- When that has happened, `sourceProcessWithStreams` closes the -- corresponding pipe, so upon some more output...
I have the following function: ```haskell withPostgreSQL :: MonadResource m => ByteString -> (SQL.Connection -> ConduitT i o m r) -> ConduitT i o m r withPostgreSQL cs f =...
I have the following scenario: I have a server that on any response returns a ByteString which can be very long. On the client side, every now and then I...
This is with GHC-9.2.2 and the current master / `conduit-1.3.4.2`: ``` src/Data/Conduit/Internal/Pipe.hs:217:11: warning: [-Winline-rule-shadowing] Rule "conduit: CI.await >>= maybe" may never fire because ‘maybe’ might inline first Probable fix: add...
Addresses https://github.com/snoyberg/conduit/issues/481
Hello, The function [sinkFileBS](https://hackage.haskell.org/package/conduit-1.3.4.2/docs/Data-Conduit-Combinators.html#v:sinkFileBS) says that it is: > [sinkFile](https://hackage.haskell.org/package/conduit-1.3.4.2/docs/Data-Conduit-Combinators.html#v:sinkFile) specialized to [ByteString](https://hackage.haskell.org/package/bytestring-0.10.10.0/docs/Data-ByteString.html#t:ByteString) to help with type inference. But it has the exact same type signature and implementation as [sinkFile](https://hackage.haskell.org/package/conduit-1.3.4.2/docs/Data-Conduit-Combinators.html#v:sinkFile)....