base-4.18.1.0: Basic libraries

Copyright | Edward Kmett Oleg Grenrus
License | BSD-3-Clause
Safe Haskell | Safe
Language | Haskell2010

Data.Bifoldable1

Description

# Documentation

class Bifoldable t => Bifoldable1 t where Source #

Minimal complete definition

bifoldMap1

Methods

bifold1 :: Semigroup m => t m m -> m Source #

bifoldMap1 :: Semigroup m => (a -> m) -> (b -> m) -> t a b -> m Source #

#### Instances

Instances details

Bifoldable1 Either Source # |
Instance details Defined in Data.Bifoldable1 Methods bifold1 :: Semigroup m => Either m m -> m Source # bifoldMap1 :: Semigroup m => (a -> m) -> (b -> m) -> Either a b -> m Source #
Bifoldable1 Arg Source # |
Instance details Defined in Data.Bifoldable1 Methods bifold1 :: Semigroup m => Arg m m -> m Source # bifoldMap1 :: Semigroup m => (a -> m) -> (b -> m) -> Arg a b -> m Source #
Bifoldable1 (,) Source # |
Instance details Defined in Data.Bifoldable1 Methods bifold1 :: Semigroup m => (m, m) -> m Source # bifoldMap1 :: Semigroup m => (a -> m) -> (b -> m) -> (a, b) -> m Source #
Bifoldable1 (Const :: Type -> Type -> Type) Source # |
Instance details Defined in Data.Bifoldable1 Methods bifold1 :: Semigroup m => Const m m -> m Source # bifoldMap1 :: Semigroup m => (a -> m) -> (b -> m) -> Const a b -> m Source #
Bifoldable1 ((,,) x) Source # |
Instance details Defined in Data.Bifoldable1 Methods bifold1 :: Semigroup m => (x, m, m) -> m Source # bifoldMap1 :: Semigroup m => (a -> m) -> (b -> m) -> (x, a, b) -> m Source #
Bifoldable1 ((,,,) x y) Source # |
Instance details Defined in Data.Bifoldable1 Methods bifold1 :: Semigroup m => (x, y, m, m) -> m Source # bifoldMap1 :: Semigroup m => (a -> m) -> (b -> m) -> (x, y, a, b) -> m Source #
Bifoldable1 ((,,,,) x y z) Source # |
Instance details Defined in Data.Bifoldable1 Methods bifold1 :: Semigroup m => (x, y, z, m, m) -> m Source # bifoldMap1 :: Semigroup m => (a -> m) -> (b -> m) -> (x, y, z, a, b) -> m Source #