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' :: (a -> b -> a) -> a -> EnumMap k b -> aenummapset Data.EnumMap.Strict No documentation available.
foldl' :: Enum k => (a -> k -> a) -> a -> EnumSet k -> aenummapset Data.EnumSet No documentation available.
foldl' :: Foldable t => (b -> a -> b) -> b -> t a -> bghc-internal GHC.Internal.Data.Foldable 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' :: Foldable t => (b -> a -> b) -> b -> t a -> bghc-internal GHC.Internal.Data.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' :: forall a b . (b -> a -> b) -> b -> [a] -> bghc-internal GHC.Internal.Data.OldList A strict version of foldl.
foldl' :: forall a b . (b -> a -> b) -> b -> [a] -> bghc-internal GHC.Internal.List A strict version of foldl.
foldl' :: Foldable t => (b -> a -> b) -> b -> t a -> bprotolude Protolude 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' :: Foldable t => (b -> a -> b) -> b -> t a -> bprotolude Protolude.Partial 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 -> Char -> a) -> a -> JSString -> ajsaddle Data.JSString O(n) A strict version of foldl. Subject to fusion.
foldl' :: (b -> Char -> b) -> b -> Stream Char -> bjsaddle Data.JSString.Internal.Fusion.Common A strict version of foldl. Properties
foldl' f z0 . stream = foldl' f z0