Module

Return.Folds

#foldl

foldl :: forall a b f. Foldable f => (b -> a -> Return b) -> b -> f a -> b

#foldr

foldr :: forall a b f. Foldable f => (a -> b -> Return b) -> b -> f a -> b

#foldMap

foldMap :: forall a f m. Foldable f => Monoid m => (a -> Return m) -> f a -> m

#foldlWithIndex

foldlWithIndex :: forall a b f i. FoldableWithIndex i f => (i -> b -> a -> Return b) -> b -> f a -> b

#foldrWithIndex

foldrWithIndex :: forall a b f i. FoldableWithIndex i f => (i -> a -> b -> Return b) -> b -> f a -> b

#foldMapWithIndex

foldMapWithIndex :: forall a f i m. FoldableWithIndex i f => Monoid m => (i -> a -> Return m) -> f a -> m

Modules