Hoogle Search
Within LTS Haskell 24.51 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
bifoldMap1 :: (Bifoldable1 t, Semigroup m) => (a -> m) -> (b -> m) -> t a b -> msemigroupoids Data.Semigroup.Bifoldable No documentation available.
bifoldMapDefault1 :: (Bifoldable1 t, Monoid m) => (a -> m) -> (b -> m) -> t a b -> msemigroupoids Data.Semigroup.Bifoldable Usable default for foldMap, but only if you define bifoldMap1 yourself
bifoldMap1Default :: (Bitraversable1 t, Semigroup m) => (a -> m) -> (b -> m) -> t a b -> msemigroupoids Data.Semigroup.Bitraversable No documentation available.
foldMap1 :: (Foldable1 t, Semigroup m) => (a -> m) -> t a -> msemigroupoids Data.Semigroup.Foldable Map each element of the structure to a semigroup, and combine the results with (<>). This fold is right-associative and lazy in the accumulator. For strict left-associative folds consider foldMap1' instead.
>>> foldMap1 (:[]) (1 :| [2, 3, 4]) [1,2,3,4]
foldMapDefault1 :: (Foldable1 t, Monoid m) => (a -> m) -> t a -> msemigroupoids Data.Semigroup.Foldable Usable default for foldMap, but only if you define foldMap1 yourself
gfoldMap1 :: (Foldable1 (Rep1 t), Generic1 t, Semigroup m) => (a -> m) -> t a -> msemigroupoids Data.Semigroup.Foldable intercalateMap1 :: (Foldable1 t, Semigroup m) => m -> (a -> m) -> t a -> msemigroupoids Data.Semigroup.Foldable Insert m between each pair of m derived from a.
>>> intercalateMap1 " " show $ True :| [False, True] "True False True"
>>> intercalateMap1 " " show $ True :| [] "True"
bifoldMap1 :: (Bifoldable1 t, Semigroup m) => (a -> m) -> (b -> m) -> t a b -> msemigroupoids Data.Semigroup.Foldable.Class No documentation available.
foldMap1 :: (Foldable1 t, Semigroup m) => (a -> m) -> t a -> msemigroupoids Data.Semigroup.Foldable.Class Map each element of the structure to a semigroup, and combine the results with (<>). This fold is right-associative and lazy in the accumulator. For strict left-associative folds consider foldMap1' instead.
>>> foldMap1 (:[]) (1 :| [2, 3, 4]) [1,2,3,4]
foldMap1Default :: (Traversable1 f, Semigroup m) => (a -> m) -> f a -> msemigroupoids Data.Semigroup.Traversable Default implementation of foldMap1 given an implementation of Traversable1.