Module

Record.ExtraSrghma.FoldlValues

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

#foldlValues Source

foldlValues :: forall accum row fieldType rowList. RowToList row rowList => FoldlValues rowList row fieldType => (accum -> fieldType -> accum) -> accum -> Record row -> accum

#foldMapValuesL Source

foldMapValuesL :: forall accum row fieldType rowList. RowToList row rowList => FoldlValues rowList row fieldType => Monoid accum => (fieldType -> accum) -> Record row -> accum

#FoldlValues Source

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

Members

Instances

#foldlValues1 Source

foldlValues1 :: forall row fieldType rowList. RowToList row rowList => FoldlValues1 rowList row fieldType => (fieldType -> fieldType -> fieldType) -> Record row -> fieldType

#foldMapValuesL1 Source

foldMapValuesL1 :: forall m row rowList fieldType row' rowList'. RowToList row rowList => RowToList row' rowList' => FoldlValues1 rowList' row' m => MapRecord rowList row fieldType m () row' => Semigroup m => (fieldType -> m) -> Record row -> m

#FoldlValues1 Source

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

Members

Instances