data-diverse-0.5.0.0: Extensible records and polymorphic variants.

Safe HaskellSafe
LanguageHaskell2010

Data.Diverse.AFoldable

Synopsis

Documentation

class AFoldable t a where Source #

Constrained Foldable for a specified type instead for all types.

Minimal complete definition

afoldr

Methods

afoldr :: (a -> b -> b) -> b -> t a -> b Source #

afoldl' :: AFoldable t a => (b -> a -> b) -> b -> t a -> b Source #