Module

Record.ExtraSrghma.FoldrValuesLazy

Package
purescript-record-extra-srghma
Repository
srghma/purescript-record-extra-srghma

#foldrValuesLazy Source

foldrValuesLazy :: forall accum row fieldType rowList. Lazy accum => RowToList row rowList => FoldrValuesLazy rowList row fieldType => (fieldType -> accum -> accum) -> accum -> Record row -> accum

#foldMapValuesLazyR Source

foldMapValuesLazyR :: forall accum row fieldType rowList. Lazy accum => RowToList row rowList => FoldrValuesLazy rowList row fieldType => Monoid accum => (fieldType -> accum) -> Record row -> accum

#FoldrValuesLazy Source

class FoldrValuesLazy :: RowList Type -> Row Type -> Type -> Constraintclass (Homogeneous row fieldType, HomogeneousRowList rl fieldType) <= FoldrValuesLazy rl row fieldType | row -> fieldType where

Members

Instances

#foldrValuesLazy1 Source

foldrValuesLazy1 :: forall row fieldType rowList. RowToList row rowList => Lazy fieldType => FoldrValuesLazy1 rowList row fieldType => (fieldType -> fieldType -> fieldType) -> Record row -> fieldType

Fold over the values of a record, applying the function to each field, but no initial accumulator.

#foldMapValuesLazyR1 Source

foldMapValuesLazyR1 :: forall m row rowList fieldType row' rowList'. RowToList row rowList => RowToList row' rowList' => Lazy m => FoldrValuesLazy1 rowList' row' m => MapRecord rowList row fieldType m () row' => Semigroup m => (fieldType -> m) -> Record row -> m

#FoldrValuesLazy1 Source

class FoldrValuesLazy1 :: RowList Type -> Row Type -> Type -> Constraintclass (Homogeneous row fieldType, HomogeneousRowList rowList fieldType) <= FoldrValuesLazy1 (rowList :: RowList Type) (row :: Row Type) fieldType | rowList -> row fieldType where

Members

Instances