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 -> bdistribution-opensuse OpenSuse.Prelude 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' :: Monad m => (b -> a -> b) -> b -> Stream m a -> m bleveldb-haskell Data.Stream.Monadic No documentation available.
foldl' :: (a -> Char -> a) -> a -> Text -> amiso Miso.String O(n) A strict version of foldl.
foldl' :: Foldable t => (b -> a -> b) -> b -> t a -> bpinch Pinch.Internal.FoldList 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' :: (b -> a -> b) -> b -> Patricia a -> bradix-tree Data.Patricia.Word.Lazy Fold the tree left-to-right with a strict accumulator.
foldl' :: (b -> a -> b) -> b -> Patricia a -> bradix-tree Data.Patricia.Word.Strict Fold the tree left-to-right with a strict accumulator.
foldl' :: (b -> a -> b) -> b -> Radix1Tree a -> bradix-tree Data.Radix1Tree.Word8.Lazy Fold the tree left-to-right with a strict accumulator.
foldl' :: (b -> a -> b) -> b -> Radix1Tree a -> bradix-tree Data.Radix1Tree.Word8.Strict Fold the tree left-to-right with a strict accumulator.
foldl' :: (b -> a -> b) -> b -> RadixTree a -> bradix-tree Data.RadixTree.Word8.Lazy Fold the tree left-to-right with a strict accumulator.
foldl' :: (b -> a -> b) -> b -> RadixTree a -> bradix-tree Data.RadixTree.Word8.Strict Fold the tree left-to-right with a strict accumulator.