Copyright | (C) 2011-2015 Edward Kmett |
---|---|
License | BSD-style (see the file LICENSE) |
Maintainer | Edward Kmett <ekmett@gmail.com> |
Stability | provisional |
Portability | portable |
Safe Haskell | Safe |
Language | Haskell98 |
- class Bifoldable t => Bifoldable1 t where
- bitraverse1_ :: (Bifoldable1 t, Apply f) => (a -> f b) -> (c -> f d) -> t a c -> f ()
- bifor1_ :: (Bifoldable1 t, Apply f) => t a c -> (a -> f b) -> (c -> f d) -> f ()
- bisequenceA1_ :: (Bifoldable1 t, Apply f) => t (f a) (f b) -> f ()
- bifoldMapDefault1 :: (Bifoldable1 t, Monoid m) => (a -> m) -> (b -> m) -> t a b -> m
Documentation
class Bifoldable t => Bifoldable1 t where Source #
bifold1 :: Semigroup m => t m m -> m Source #
bifoldMap1 :: Semigroup m => (a -> m) -> (b -> m) -> t a b -> m Source #
Bifoldable1 Either Source # | |
Bifoldable1 (,) Source # | |
Bifoldable1 Arg Source # | |
Bifoldable1 ((,,) x) Source # | |
Bifoldable1 (Const *) Source # | |
Bifoldable1 (Tagged *) Source # | |
Bifoldable1 ((,,,) x y) Source # | |
Bifoldable1 ((,,,,) x y z) Source # | |
Bifoldable1 p => Bifoldable1 (WrappedBifunctor * * p) Source # | |
Foldable1 g => Bifoldable1 (Joker * * g) Source # | |
Bifoldable1 p => Bifoldable1 (Flip * * p) Source # | |
Foldable1 f => Bifoldable1 (Clown * * f) Source # | |
(Bifoldable1 f, Bifoldable1 g) => Bifoldable1 (Product * * f g) Source # | |
(Foldable1 f, Bifoldable1 p) => Bifoldable1 (Tannen * * * f p) Source # | |
(Bifoldable1 p, Foldable1 f, Foldable1 g) => Bifoldable1 (Biff * * * * p f g) Source # | |
bitraverse1_ :: (Bifoldable1 t, Apply f) => (a -> f b) -> (c -> f d) -> t a c -> f () Source #
bifor1_ :: (Bifoldable1 t, Apply f) => t a c -> (a -> f b) -> (c -> f d) -> f () Source #
bisequenceA1_ :: (Bifoldable1 t, Apply f) => t (f a) (f b) -> f () Source #
bifoldMapDefault1 :: (Bifoldable1 t, Monoid m) => (a -> m) -> (b -> m) -> t a b -> m Source #
Usable default for foldMap, but only if you define bifoldMap1 yourself