Hoogle Search

Within LTS Haskell 24.3 (ghc-9.10.2)

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

  1. foldl :: Context b => (a -> b -> a) -> a -> Matrix b -> a

    matrices Data.Matrix.Storable

    No documentation available.

  2. foldl :: Context b => (a -> b -> a) -> a -> Matrix b -> a

    matrices Data.Matrix.Unboxed

    No documentation available.

  3. foldl :: (a -> b -> a) -> a -> MonoidalIntMap b -> a

    monoidal-containers Data.IntMap.Monoidal

    No documentation available.

  4. foldl :: (a -> b -> a) -> a -> MonoidalIntMap b -> a

    monoidal-containers Data.IntMap.Monoidal.Strict

    No documentation available.

  5. foldl :: forall k a b . (a -> b -> a) -> a -> MonoidalMap k b -> a

    monoidal-containers Data.Map.Monoidal

    No documentation available.

  6. foldl :: forall k a b . (a -> b -> a) -> a -> MonoidalMap k b -> a

    monoidal-containers Data.Map.Monoidal.Strict

    No documentation available.

  7. foldl :: (a -> b -> a) -> a -> MultiMap k b -> a

    multimap Data.MultiMap

    Fold the values in the map using the given left-associative binary operator.

  8. foldl :: (a -> b -> a) -> a -> NEIntMap b -> a

    nonempty-containers Data.IntMap.NonEmpty

    O(n). Fold the values in the map using the given left-associative binary operator, such that foldl f z == foldl f z . elems.

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

  9. foldl :: (a -> b -> a) -> a -> NEIntMap b -> a

    nonempty-containers Data.IntMap.NonEmpty.Internal

    O(n). Fold the values in the map using the given left-associative binary operator, such that foldl f z == foldl f z . elems.

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

  10. foldl :: (a -> Key -> a) -> a -> NEIntSet -> a

    nonempty-containers Data.IntSet.NonEmpty

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

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

Page 12 of many | Previous | Next