Module
Record.ExtraSrghma
- Package
- purescript-record-extra-srghma
- Repository
- srghma/purescript-record-extra-srghma
Re-exports from Record.ExtraSrghma.CompareRecord
#SCons Source
data SCons :: Symbol -> SList -> SList
Instances
(SListToRowList sTail tail) => SListToRowList (SCons name sTail) (Cons name trash tail)
#SListToRowList Source
class 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)
#type (:::) Source
Operator alias for Record.ExtraSrghma.CompareRecord.SCons (right-associative / precedence 6)
Re-exports from Record.ExtraSrghma.FoldlValues
#FoldlValues Source
class (Homogeneous row fieldType, HomogeneousRowList rowList fieldType) <= FoldlValues (rowList :: RowList Type) (row :: Row Type) fieldType | rowList -> row fieldType where
Members
foldlValuesImpl :: forall accum. Proxy rowList -> (accum -> fieldType -> accum) -> accum -> Record row -> accum
Instances
(FoldlValues tailRowList row fieldType, Homogeneous tailRow fieldType, HomogeneousRowList tailRowList fieldType, HomogeneousRowList trash fieldType, IsSymbol name, RowToList row trash, Cons name fieldType tailRow row) => FoldlValues (Cons name fieldType tailRowList) row fieldType
(Homogeneous row fieldType) => FoldlValues Nil row fieldType
#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
Re-exports from Record.ExtraSrghma.FoldlValuesWithIndex
#FoldlValuesWithIndex Source
class (Homogeneous row fieldType, HomogeneousRowList rowList fieldType) <= FoldlValuesWithIndex (rowList :: RowList Type) (row :: Row Type) fieldType | rowList -> row fieldType where
Members
foldlValuesWithIndexImpl :: forall accum. Proxy rowList -> (accum -> String -> fieldType -> accum) -> accum -> Record row -> accum
Instances
(FoldlValuesWithIndex tailRowList row fieldType, Homogeneous tailRow fieldType, HomogeneousRowList tailRowList fieldType, HomogeneousRowList trash fieldType, IsSymbol name, RowToList row trash, Cons name fieldType tailRow row) => FoldlValuesWithIndex (Cons name fieldType tailRowList) row fieldType
(Homogeneous row fieldType) => FoldlValuesWithIndex Nil row fieldType
#foldlValuesWithIndex Source
foldlValuesWithIndex :: forall accum row fieldType rowList. RowToList row rowList => FoldlValuesWithIndex rowList row fieldType => (accum -> String -> fieldType -> accum) -> accum -> Record row -> accum
#foldMapValuesWithIndexL Source
foldMapValuesWithIndexL :: forall accum row fieldType rowList. RowToList row rowList => FoldlValuesWithIndex rowList row fieldType => Monoid accum => (String -> fieldType -> accum) -> Record row -> accum
Re-exports from Record.ExtraSrghma.FoldrValues
#FoldrValues Source
class (Homogeneous row fieldType, HomogeneousRowList rowList fieldType) <= FoldrValues (rowList :: RowList Type) (row :: Row Type) fieldType | rowList -> row fieldType where
Members
foldrValuesImpl :: forall accum. Proxy rowList -> (fieldType -> accum -> accum) -> accum -> Record row -> accum
Instances
(FoldrValues tailRowList row fieldType, Homogeneous tailRow fieldType, HomogeneousRowList tailRowList fieldType, HomogeneousRowList trash fieldType, IsSymbol name, RowToList row trash, Cons name fieldType tailRow row) => FoldrValues (Cons name fieldType tailRowList) row fieldType
(Homogeneous row fieldType) => FoldrValues Nil row fieldType
#foldrValues Source
foldrValues :: forall accum row fieldType rowList. RowToList row rowList => FoldrValues rowList row fieldType => (fieldType -> accum -> accum) -> accum -> Record row -> accum
#foldMapValuesR Source
foldMapValuesR :: forall accum row fieldType rowList. RowToList row rowList => FoldrValues rowList row fieldType => Monoid accum => (fieldType -> accum) -> Record row -> accum
Re-exports from Record.ExtraSrghma.FoldrValuesLazy
#FoldrValuesLazy Source
class (Homogeneous row fieldType, HomogeneousRowList rl fieldType) <= FoldrValuesLazy rl row fieldType | row -> fieldType where
Members
foldrValuesLazyImpl :: forall accum. Lazy accum => Proxy rl -> (fieldType -> accum -> accum) -> accum -> Record row -> accum
Instances
(FoldrValuesLazy tailRowList row fieldType, Homogeneous tailRow fieldType, HomogeneousRowList tailRowList fieldType, HomogeneousRowList trash fieldType, IsSymbol name, RowToList row trash, Cons name fieldType tailRow row) => FoldrValuesLazy (Cons name fieldType tailRowList) row fieldType
(Homogeneous row fieldType) => FoldrValuesLazy Nil row fieldType
#foldrValuesLazy Source
foldrValuesLazy :: forall accum row fieldType rowList. Lazy accum => RowToList row rowList => FoldrValuesLazy rowList row fieldType => (fieldType -> accum -> accum) -> accum -> Record row -> accum
#foldMapValuesLazyR Source
foldMapValuesLazyR :: forall accum row fieldType rowList. Lazy accum => RowToList row rowList => FoldrValuesLazy rowList row fieldType => Monoid accum => (fieldType -> accum) -> Record row -> accum
Re-exports from Record.ExtraSrghma.FoldrValuesWithIndex
#FoldrValuesWithIndex Source
class (Homogeneous row fieldType, HomogeneousRowList rowList fieldType) <= FoldrValuesWithIndex (rowList :: RowList Type) (row :: Row Type) fieldType | rowList -> row fieldType where
Members
foldrValuesWithIndexImpl :: forall accum. Proxy rowList -> (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
#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
Re-exports from Record.ExtraSrghma.Keys
#slistKeys Source
slistKeys :: forall g tuples rl. SListToRowList tuples rl => Keys rl => g tuples -> List String
Re-exports from Record.ExtraSrghma.MapIndex
#MapIndex Source
Re-exports from Record.ExtraSrghma.MapRecord
#MapRecord Source
Re-exports from Record.ExtraSrghma.MapValuesWithIndex
#MapValuesWithIndex Source
class MapValuesWithIndex (xs :: RowList Type) (row :: Row Type) a b (from :: Row Type) (to :: Row Type) | xs -> row a b from to where
Members
mapValuesWithIndexBuilder :: Proxy xs -> (String -> a -> b) -> Record row -> Builder (Record from) (Record to)
Instances
(IsSymbol name, Cons name a trash row, MapValuesWithIndex tail row a b from from', Lacks name from', Cons name b from' to) => MapValuesWithIndex (Cons name a tail) row a b from to
MapValuesWithIndex Nil row a b () ()
#mapValuesWithIndex Source
mapValuesWithIndex :: forall row xs a b row'. RowToList row xs => MapValuesWithIndex xs row a b () row' => (String -> a -> b) -> Record row -> Record row'
Re-exports from Record.ExtraSrghma.ParSequenceRecord
#ParSequenceRecord Source
class (Parallel parM m) <= ParSequenceRecord rl row from to parM m | rl -> row from to parM m where
Members
Instances
(IsSymbol name, Cons name (m ty) trash row, Parallel parM m, Lacks name (), Cons name ty () to) => ParSequenceRecord (Cons name (m ty) Nil) row () to parM m
(IsSymbol name, Cons name (m ty) trash row, ParSequenceRecord tail row from from' parM m, Lacks name from', Cons name ty from' to) => ParSequenceRecord (Cons name (m ty) tail) row from to parM m
(Parallel parM m, Applicative parM) => ParSequenceRecord Nil row () () parM m
#parSequenceRecord Source
parSequenceRecord :: forall row row' rl parM m. RowToList row rl => ParSequenceRecord rl row () row' parM m => Record row -> m (Record row')
Re-exports from Record.ExtraSrghma.SequenceRecord
#SequenceRecord Source
class (Functor m) <= SequenceRecord rl 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')
Re-exports from Record.ExtraSrghma.ValuesToUnfoldableLazy
#LazyTupleList Source
newtype LazyTupleList v
Constructors
LazyTupleList (Unit -> Maybe (Tuple v (LazyTupleList v)))
Instances
Lazy (LazyTupleList v)
#valuesToUnfoldableLazy Source
valuesToUnfoldableLazy :: forall r fields f v. RowToList r fields => FoldrValuesLazy fields r v => Unfoldable f => Record r -> f v
Re-exports from Record.ExtraSrghma.ZipRecord
#ZipRecord Source
- Modules
- Record.
ExtraSrghma - Record.
ExtraSrghma. CompareRecord - Record.
ExtraSrghma. FoldlValues - Record.
ExtraSrghma. FoldlValuesWithIndex - Record.
ExtraSrghma. FoldrValues - Record.
ExtraSrghma. FoldrValuesLazy - Record.
ExtraSrghma. FoldrValuesWithIndex - Record.
ExtraSrghma. Keys - Record.
ExtraSrghma. MapIndex - Record.
ExtraSrghma. MapRecord - Record.
ExtraSrghma. MapValuesWithIndex - Record.
ExtraSrghma. ParSequenceRecord - Record.
ExtraSrghma. SequenceRecord - Record.
ExtraSrghma. ValuesToUnfoldableLazy - Record.
ExtraSrghma. ZipRecord