Hoogle Search
Within LTS Haskell 24.21 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
foldl' :: Foldable t => (b -> a -> b) -> b -> t a -> bghc GHC.Prelude.Basic No documentation available.
foldl' :: (a -> Char -> a) -> a -> ShortText -> atext-short Data.Text.Short Strict version of foldl.
foldl' :: (acc -> Elem Keys -> acc) -> acc -> Metadatas -> accJuicyPixels Codec.Picture.Metadata Strict left fold of the metadatas
foldl' :: MonoFoldable mono => (a -> Element mono -> a) -> a -> mono -> amono-traversable Data.MonoTraversable.Unprefixed Synonym for ofoldl'
foldl' :: (a -> Word8 -> a) -> a -> ByteString -> ario RIO.ByteString foldl' :: (a -> Word8 -> a) -> a -> ByteString -> ario RIO.ByteString.Lazy foldl' :: (a -> v -> a) -> a -> HashMap k v -> ario RIO.HashMap Reduce this map by applying a binary operator to all elements, using the given starting value (typically the left-identity of the operator). Each application of the operator is evaluated before using the result in the next application. This function is strict in the starting value.
foldl' :: (a -> b -> a) -> a -> HashSet b -> ario RIO.HashSet Reduce this set by applying a binary operator to all elements, using the given starting value (typically the left-identity of the operator). Each application of the operator is evaluated before before using the result in the next application. This function is strict in the starting value.
foldl' :: Foldable t => (b -> a -> b) -> b -> t a -> brio RIO.List Left-associative fold of a structure but with strict application of the operator. This ensures that each step of the fold is forced to Weak Head Normal Form before being applied, avoiding the collection of thunks that would otherwise occur. This is often what you want to strictly reduce a finite structure to a single strict result (e.g. sum). For a general Foldable structure this should be semantically identical to,
foldl' f z = foldl' f z . toList
foldl' :: (a -> b -> a) -> a -> Map k b -> ario RIO.Map A strict version of foldl. Each application of the operator is evaluated before using the result in the next application. This function is strict in the starting value.