Module
Record.Studio.MapUniform
- Package
- purescript-record-studio
- Repository
- rowtype-yoga/purescript-record-studio
#mapUniformRecord Source
mapUniformRecord :: forall row xs a b row'. RowToList row xs => MapUniformRecord xs row a b () row' => (a -> b) -> Record row -> Record row'
#MapUniformRecord Source
class MapUniformRecord :: RowList Type -> Row Type -> Type -> Type -> Row Type -> Row Type -> Constraint
class MapUniformRecord (xs :: RowList Type) (row :: Row Type) a b (from :: Row Type) (to :: Row Type) | xs -> row a b from to where
Members
Instances
MapUniformRecord Nil row a b () ()
(IsSymbol name, Cons name a rest row, Lacks name from', Cons name b from' to, MapUniformRecord tail row a b from from') => MapUniformRecord (Cons name a tail) row a b from to