Module
Record.Extra
- Package
- purescript-record-extra
- Repository
- justinwoo/purescript-record-extra
#MapRecord Source
#ZipRecord Source
class ZipRecord :: RowList Type -> Row Type -> RowList Type -> Row Type -> Row Type -> Row Type -> Constraintclass ZipRecord (rla :: RowList Type) (ra :: Row Type) (rlb :: RowList Type) (rb :: Row Type) (from :: Row Type) (to :: Row Type) | rla -> ra from to, rlb -> rb from to where
Members
zipRecordImpl :: Proxy rla -> Record ra -> Proxy rlb -> Record rb -> Builder (Record from) (Record to)
Instances
#slistKeys Source
slistKeys :: forall g tuples rl. SListToRowList tuples rl => Keys rl => g tuples -> List String#SCons Source
data SCons :: Symbol -> SList -> SListdata SCons t0 t1
Instances
(SListToRowList sTail tail) => SListToRowList (SCons name sTail) (Cons name trash tail)
#SListToRowList Source
class SListToRowList :: SList -> RowList Type -> Constraintclass SListToRowList (xs :: SList) (rl :: RowList Type) | xs -> rl, rl -> xs
Instances
SListToRowList SNil Nil(SListToRowList sTail tail) => SListToRowList (SCons name sTail) (Cons name trash tail)
#OrdRecord Source
#SequenceRecord Source
class SequenceRecord :: RowList Type -> Row Type -> Row Type -> Row Type -> (Type -> Type) -> Constraintclass (Functor m) <= SequenceRecord (rl :: RowList Type) row from to m | rl -> row from to m where
Members
Instances
(IsSymbol name, Cons name (m ty) trash row, Functor m, Lacks name (), Cons name ty () to) => SequenceRecord (Cons name (m ty) Nil) row () to m(IsSymbol name, Cons name (m ty) trash row, Apply m, SequenceRecord tail row from from' m, Lacks name from', Cons name ty from' to) => SequenceRecord (Cons name (m ty) tail) row from to m(Applicative m) => SequenceRecord Nil row () () m
#sequenceRecord Source
sequenceRecord :: forall row row' rl m. RowToList row rl => SequenceRecord rl row () row' m => Record row -> m (Record row')- Modules
- Record.
Extra