Hoogle Search
Within LTS Haskell 24.69 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
data
CompactMap (vec :: Type -> Type) k vcompactmap Data.CompactMap.Generic No documentation available.
-
conduino Data.Conduino Map over the input type, output type, and upstream result type. If you want to map over the result type, use fmap.
concatMap :: forall t i o u (m :: Type -> Type) . Foldable t => (i -> t o) -> Pipe i o u m uconduino Data.Conduino.Combinators Map a function returning a container onto every incoming item, and yield all of the outputs from that function.
foldMap :: forall a i o u (m :: Type -> Type) . Monoid a => (i -> a) -> Pipe i o u m aconduino Data.Conduino.Combinators Fold every incoming item according to a monoidal projection, and return the result once finished. This can be used to implement many useful consumers, like ones that find the sum or the maximum item:
sum :: Num i => Pipe i o u m i sum = getSum $ foldMap Sum maximum :: Ord i => Pipe i o u m (Maybe i) maximum = fmap getMax $ foldMap (Just . Max)
-
conduino Data.Conduino.Internal Map over the input type, output type, and upstream result type. If you want to map over the result type, use fmap.
trimapPipeF :: (i -> j) -> (p -> o) -> (u -> v) -> PipeF j p v a -> PipeF i o u aconduino Data.Conduino.Internal No documentation available.
commaParser :: Char -> Parser ()conduit-aeson Data.Conduit.Aeson Use a comma for delimiter.
-
conduit-algorithms Data.Conduit.Algorithms.Async This is like map, except that each element is processed in a separate thread (up to maxThreads can be queued up at any one time). Results are evaluated to normal form (not weak-head normal form!, i.e., the structure is deeply evaluated) to ensure that the computation is fully evaluated in the worker thread. Note that there is some overhead in threading. It is often a good idea to build larger chunks of input before passing it to asyncMapC to amortize the costs. That is, when f is not a lot of work, instead of asyncMapC f, it is sometimes better to do
CC.conduitVector 4096 .| asyncMapC (V.map f) .| CC.concat
where CC refers to Combinators See unorderedAsyncMapC -
conduit-algorithms Data.Conduit.Algorithms.Async asyncMapC with error handling. The inner function can now return an error (as a Left). When the first error is seen, it throwErrors in the main monad. Note that f may be evaluated for arguments beyond the first error (as some threads may be running in the background and already processing elements after the first error). See asyncMapC
-
conduit-algorithms Data.Conduit.Algorithms.Async A version of asyncMapC which can reorder results in the stream If the order of the results is not important, this function can lead to a better use of resources if some of the chunks take longer to complete. See asyncMapC