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.
gfoldl' :: GFoldable t => (a -> b -> a) -> a -> t b -> ageneric-deriving Generics.Deriving.Foldable No documentation available.
ofoldl' :: MonoFoldable mono => (a -> Element mono -> a) -> a -> mono -> amono-traversable Data.MonoTraversable Strict left-associative fold of a monomorphic container.
bifoldl' :: Bifoldable t => (a -> b -> a) -> (a -> c -> a) -> a -> t b c -> ario RIO.Prelude As bifoldl, but strict in the result of the reduction functions at each step. This ensures that each step of the bifold 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, monolithic result (e.g., bilength).
ifoldl' :: Vector v b => (a -> Int -> b -> a) -> a -> v b -> ario RIO.Vector No documentation available.
ifoldl' :: (a -> Int -> b -> a) -> a -> Vector b -> ario RIO.Vector.Boxed No documentation available.
ifoldl' :: Storable b => (a -> Int -> b -> a) -> a -> Vector b -> ario RIO.Vector.Storable No documentation available.
ifoldl' :: Unbox b => (a -> Int -> b -> a) -> a -> Vector b -> ario RIO.Vector.Unboxed No documentation available.
ifoldl' :: FoldableWithIndex i f => (i -> b -> a -> b) -> b -> f a -> bdiagrams-lib Diagrams.Prelude Fold over the elements of a structure with an index, associating to the left, but strictly. When you don't need access to the index then foldlOf' is more flexible in what it accepts.
foldl' l ≡ ifoldl' l . const
flipfoldl' :: Foldable f => (a -> b -> b) -> b -> f a -> brelude Relude.Foldable.Fold Similar to foldl' but takes a function with its arguments flipped.
>>> flipfoldl' (/) 5 [2,3] :: Rational 15 % 2
This function can be useful for constructing containers from lists.bifoldl' :: Bifoldable t => (a -> b -> a) -> (a -> c -> a) -> a -> t b c -> arelude Relude.Foldable.Reexport As bifoldl, but strict in the result of the reduction functions at each step. This ensures that each step of the bifold 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, monolithic result (e.g., bilength).