Module
Record.ExtraSrghma.FoldrValuesWithIndex
- Package
- purescript-record-extra-srghma
- Repository
- srghma/purescript-record-extra-srghma
#foldrValuesWithIndex Source
foldrValuesWithIndex :: forall accum row fieldType rowList. RowToList row rowList => FoldrValuesWithIndex rowList row fieldType => (String -> fieldType -> accum -> accum) -> accum -> Record row -> accum
#foldMapValuesWithIndexR Source
foldMapValuesWithIndexR :: forall accum row fieldType rowList. RowToList row rowList => FoldrValuesWithIndex rowList row fieldType => Monoid accum => (String -> fieldType -> accum) -> Record row -> accum
#FoldrValuesWithIndex Source
class FoldrValuesWithIndex :: RowList Type -> Row Type -> Type -> Constraint
class (Homogeneous row fieldType, HomogeneousRowList rowList fieldType) <= FoldrValuesWithIndex (rowList :: RowList Type) (row :: Row Type) fieldType | rowList -> row fieldType where
Members
foldrValuesWithIndexImpl :: forall accum. (String -> fieldType -> accum -> accum) -> accum -> Record row -> accum
Instances
(FoldrValuesWithIndex tailRowList row fieldType, Homogeneous tailRow fieldType, HomogeneousRowList tailRowList fieldType, HomogeneousRowList trash fieldType, IsSymbol name, RowToList row trash, Cons name fieldType tailRow row) => FoldrValuesWithIndex (Cons name fieldType tailRowList) row fieldType
(Homogeneous row fieldType) => FoldrValuesWithIndex Nil row fieldType
#foldrValuesWithIndex1 Source
foldrValuesWithIndex1 :: forall row fieldType rowList. RowToList row rowList => FoldrValuesWithIndex1 rowList row fieldType => (String -> fieldType -> fieldType -> fieldType) -> Record row -> fieldType
#foldMapValuesWithIndexR1 Source
foldMapValuesWithIndexR1 :: forall fieldType row rowList row' rowList' m. RowToList row rowList => RowToList row' rowList' => FoldrValuesWithIndex1 rowList' row' m => MapValuesWithIndex rowList row fieldType m () row' => Monoid m => (String -> fieldType -> m) -> Record row -> m
#FoldrValuesWithIndex1 Source
class FoldrValuesWithIndex1 :: RowList Type -> Row Type -> Type -> Constraint
class (Homogeneous row fieldType, HomogeneousRowList rowList fieldType) <= FoldrValuesWithIndex1 (rowList :: RowList Type) (row :: Row Type) fieldType | rowList -> row fieldType where
Members
foldrValuesWithIndexImpl1 :: (String -> fieldType -> fieldType -> fieldType) -> Record row -> fieldType
Instances
(FoldrValuesWithIndex tailRowList row fieldType, Homogeneous tailRow fieldType, HomogeneousRowList tailRowList fieldType, HomogeneousRowList trash fieldType, IsSymbol name, RowToList row trash, Cons name fieldType tailRow row) => FoldrValuesWithIndex1 (Cons name fieldType tailRowList) row fieldType
- Modules
- Record.
ExtraSrghma - Record.
ExtraSrghma. AppendRecord - Record.
ExtraSrghma. CompareRecord - Record.
ExtraSrghma. FoldlValues - Record.
ExtraSrghma. FoldlValuesWithIndex - Record.
ExtraSrghma. FoldrValues - Record.
ExtraSrghma. FoldrValuesLazy - Record.
ExtraSrghma. FoldrValuesWithIndex - Record.
ExtraSrghma. Keys. Array - Record.
ExtraSrghma. Keys. List - Record.
ExtraSrghma. Keys. NonEmptyArray - Record.
ExtraSrghma. Keys. NonEmptyList - Record.
ExtraSrghma. Keys. Pick - Record.
ExtraSrghma. MapIndex - Record.
ExtraSrghma. MapRecord - Record.
ExtraSrghma. MapValuesWithIndex - Record.
ExtraSrghma. ParSequenceRecord - Record.
ExtraSrghma. SList. Array - Record.
ExtraSrghma. SList. List - Record.
ExtraSrghma. SList. Types - Record.
ExtraSrghma. SequenceRecord - Record.
ExtraSrghma. TraverseRecord - Record.
ExtraSrghma. ValuesToUnfoldableLazy - Record.
ExtraSrghma. ZipRecord