base-4.20.2.0: Core data structures and operations

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

Data.Bifoldable1

Description

# Documentation

class Bifoldable t => Bifoldable1 (t :: Type -> Type -> Type) 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 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 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 (,) 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 #