Module

Record.ExtraSrghma.ZipRecord

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

#ZipRecord Source

class ZipRecord :: RowList Type -> RowList Type -> Row Type -> Row Type -> Row Type -> Row Type -> Constraintclass ZipRecord (rowListL :: RowList Type) (rowListR :: RowList Type) (rowL :: Row Type) (rowR :: Row Type) (resultRowAcc :: Row Type) (resultRow :: Row Type) | rowListL -> rowL resultRowAcc resultRow, rowListR -> rowR resultRowAcc resultRow where

Zips two records (with matching keys) into a single record of Tuple values.

Members

Instances

#zipRecord Source

zipRecord :: forall rowListL rowL rowListR rowR zippedRow. RowToList rowL rowListL => RowToList rowR rowListR => ZipRecord rowListL rowListR rowL rowR () zippedRow => Record rowL -> Record rowR -> Record zippedRow