Hoogle Search
Within LTS Haskell 24.36 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
-
string-variants Data.StringVariants O(n) Splits a NonEmptyText into components of length chunkSize. The chunks may be shorter than the chunkSize depending on the length of the input and spacing. Each chunk is stripped of whitespace.
-
string-variants Data.StringVariants.NonEmptyText O(n) Splits a NonEmptyText into components of length chunkSize. The chunks may be shorter than the chunkSize depending on the length of the input and spacing. Each chunk is stripped of whitespace.
chunksOfN :: Int -> ByteString -> [ByteString]attoparsec-framer Data.Attoparsec.Framer.Testing Split a ByteString into chunks of given size
-
streamly Streamly.Internal.Data.Stream.IsStream Like chunksOf but if the chunk is not completed within the specified time interval then emit whatever we have collected till now. The chunk timeout is reset whenever a chunk is emitted. The granularity of the clock is 100 ms.
>>> s = Stream.delayPost 0.3 $ Stream.fromList [1..1000] >>> f = Stream.mapM_ print $ Stream.chunksOfTimeout 5 1 Fold.toList s
Pre-release -
classy-prelude-yesod ClassyPrelude.Yesod Split input into chunk of size chunkSize The last element may be smaller than the chunkSize (see also chunksOfExactlyE which will not yield this last element)
-
classy-prelude-yesod ClassyPrelude.Yesod Split input into chunk of size chunkSize If the input does not split into chunks exactly, the remainder will be leftover (see also chunksOfE)
-
streamly-core Streamly.Internal.Data.Array Like chunksOf but creates pinned arrays.
-
streamly-core Streamly.Internal.Data.Array.Stream No documentation available.
-
streamly-core Streamly.Internal.Data.Array.Stream Like chunksOf but creates pinned arrays.
-
streamly-core Streamly.Internal.Data.MutArray Like chunksOf but creates pinned arrays.