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 |
Documentation
class Foldable t => Foldable1 t where Source #
fold1 :: Semigroup m => t m -> m Source #
foldMap1 :: Semigroup m => (a -> m) -> t a -> m Source #
toNonEmpty :: t a -> NonEmpty a Source #
Foldable1 Par1 Source # | |
Foldable1 Complex Source # | |
Foldable1 NonEmpty Source # | |
Foldable1 Identity Source # | |
Foldable1 Tree Source # | |
Foldable1 (V1 *) Source # | |
Foldable1 ((,) a) Source # | |
Foldable1 f => Foldable1 (Lift f) Source # | |
Foldable1 f => Foldable1 (Rec1 * f) Source # | |
Bifoldable1 p => Foldable1 (Join * p) Source # | |
Foldable1 m => Foldable1 (IdentityT * m) Source # | |
Foldable1 (Tagged * a) Source # | |
Foldable1 f => Foldable1 (Reverse * f) Source # | |
Foldable1 f => Foldable1 (Backwards * f) Source # | |
(Foldable1 f, Foldable1 g) => Foldable1 ((:+:) * f g) Source # | |
(Foldable1 f, Foldable1 g) => Foldable1 ((:*:) * f g) Source # | |
(Foldable1 f, Foldable1 g) => Foldable1 (Product * f g) Source # | |
(Foldable1 f, Foldable1 g) => Foldable1 (Sum * f g) Source # | |
Foldable1 f => Foldable1 (M1 * i c f) Source # | |
(Foldable1 f, Foldable1 g) => Foldable1 ((:.:) * * f g) Source # | |
(Foldable1 f, Foldable1 g) => Foldable1 (Compose * * f g) Source # | |
Foldable1 g => Foldable1 (Joker * * g a) Source # | |
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 # | |