Safe Haskell | Safe |
---|---|
Language | Haskell2010 |
Documentation
class AFoldable t a where Source #
Constrained Foldable for a specified type instead for all types.
(Case (c r) ((:) Type x xs), Reiterate (c r) ((:) Type x xs), AFoldable (Collector * c xs) r, (~) * r (CaseResult * Type (c r) x)) => AFoldable (Collector * c ((:) Type x xs)) r Source # | |
AFoldable (Collector * c ([] Type)) r Source # | nill case that doesn't even use |
(Case (c r n) ((:) Type x xs), ReiterateN (c r) n ((:) Type x xs), AFoldable (CollectorN * c ((+) n 1) xs) r, (~) * r (CaseResult * Type (c r n) x)) => AFoldable (CollectorN * c n ((:) Type x xs)) r Source # | Folds values by |
AFoldable (CollectorN * c n ([] Type)) r Source # | nill case that doesn't even use |