Hoogle Search

Within LTS Haskell 24.2 (ghc-9.10.2)

Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.

  1. foldl :: (a -> b -> a) -> a -> Map k b -> a

    rio RIO.Map

    Fold the values in the map using the given left-associative binary operator, such that foldl f z == foldl f z . elems. For example,

    elems = reverse . foldl (flip (:)) []
    
    let f len a = len + (length a)
    foldl f 0 (fromList [(5,"a"), (3,"bbb")]) == 4
    

  2. foldl :: (a -> b -> a) -> a -> Set b -> a

    rio RIO.Set

    Fold the elements in the set using the given left-associative binary operator, such that foldl f z == foldl f z . toAscList. For example,

    toDescList set = foldl (flip (:)) [] set
    

  3. foldl :: (a -> Char -> a) -> a -> Text -> a

    rio RIO.Text

    O(n) foldl, applied to a binary operator, a starting value (typically the left-identity of the operator), and a Text, reduces the Text using the binary operator, from left to right.

  4. foldl :: (a -> Char -> a) -> a -> Text -> a

    rio RIO.Text.Lazy

    O(n) foldl, applied to a binary operator, a starting value (typically the left-identity of the operator), and a Text, reduces the Text using the binary operator, from left to right.

  5. foldl :: Vector v b => (a -> b -> a) -> a -> v b -> a

    rio RIO.Vector

    No documentation available.

  6. foldl :: (a -> b -> a) -> a -> Vector b -> a

    rio RIO.Vector.Boxed

    No documentation available.

  7. foldl :: Storable b => (a -> b -> a) -> a -> Vector b -> a

    rio RIO.Vector.Storable

    No documentation available.

  8. foldl :: Unbox b => (a -> b -> a) -> a -> Vector b -> a

    rio RIO.Vector.Unboxed

    No documentation available.

  9. foldl :: Storable a => (b -> a -> b) -> b -> Vector a -> b

    storablevector Data.StorableVector

    foldl, applied to a binary operator, a starting value (typically the left-identity of the operator), and a Vector, reduces the Vector using the binary operator, from left to right.

  10. foldl :: Storable b => (a -> b -> a) -> a -> Vector b -> a

    storablevector Data.StorableVector.Lazy

    No documentation available.

Page 6 of many | Previous | Next