foldable1-classes-compat-0.1: Compatibility package for the Foldable1 and Bifoldable1 type classes
Safe HaskellSafe
LanguageHaskell2010

Data.Bifoldable1

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 (Tagged :: Type -> Type -> Type) Source # 
Instance details

Defined in Data.Bifoldable1

Methods

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

bifoldMap1 :: Semigroup m => (a -> m) -> (b -> m) -> Tagged 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 #