Module

Record.ExtraSrghma

Re-exports from Record.ExtraSrghma.CompareRecord

#SNil

data SNil :: SList

Instances

#SList

data SList

#SCons

data SCons :: Symbol -> SList -> SList

Instances

#OrdRecord

class OrdRecord rl row | rl -> row where

Members

Instances

#SListToRowList

class SListToRowList (xs :: SList) (rl :: RowList Type) | xs -> rl, rl -> xs

Instances

#compareRecord

compareRecord :: forall row rl. RowToList row rl => OrdRecord rl row => Record row -> Record row -> Ordering

#type (:::)

Operator alias for Record.ExtraSrghma.CompareRecord.SCons (right-associative / precedence 6)

Re-exports from Record.ExtraSrghma.FoldlValues

#FoldlValues

class (Homogeneous row fieldType, HomogeneousRowList rowList fieldType) <= FoldlValues (rowList :: RowList Type) (row :: Row Type) fieldType | rowList -> row fieldType where

Members

Instances

#foldlValues

foldlValues :: forall accum row fieldType rowList. RowToList row rowList => FoldlValues rowList row fieldType => (accum -> fieldType -> accum) -> accum -> Record row -> accum

#foldMapValuesL

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

class (Homogeneous row fieldType, HomogeneousRowList rowList fieldType) <= FoldlValuesWithIndex (rowList :: RowList Type) (row :: Row Type) fieldType | rowList -> row fieldType where

Members

Instances

#foldlValuesWithIndex

foldlValuesWithIndex :: forall accum row fieldType rowList. RowToList row rowList => FoldlValuesWithIndex rowList row fieldType => (accum -> String -> fieldType -> accum) -> accum -> Record row -> accum

#foldMapValuesWithIndexL

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

class (Homogeneous row fieldType, HomogeneousRowList rowList fieldType) <= FoldrValues (rowList :: RowList Type) (row :: Row Type) fieldType | rowList -> row fieldType where

Members

Instances

#foldrValues

foldrValues :: forall accum row fieldType rowList. RowToList row rowList => FoldrValues rowList row fieldType => (fieldType -> accum -> accum) -> accum -> Record row -> accum

#foldMapValuesR

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

class (Homogeneous row fieldType, HomogeneousRowList rl fieldType) <= FoldrValuesLazy rl row fieldType | row -> fieldType where

Members

Instances

#foldrValuesLazy

foldrValuesLazy :: forall accum row fieldType rowList. Lazy accum => RowToList row rowList => FoldrValuesLazy rowList row fieldType => (fieldType -> accum -> accum) -> accum -> Record row -> accum

#foldMapValuesLazyR

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

class (Homogeneous row fieldType, HomogeneousRowList rowList fieldType) <= FoldrValuesWithIndex (rowList :: RowList Type) (row :: Row Type) fieldType | rowList -> row fieldType where

Members

Instances

#foldrValuesWithIndex

foldrValuesWithIndex :: forall accum row fieldType rowList. RowToList row rowList => FoldrValuesWithIndex rowList row fieldType => (String -> fieldType -> accum -> accum) -> accum -> Record row -> accum

#foldMapValuesWithIndexR

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

#Keys

class Keys (xs :: RowList Type)  where

Members

Instances

#slistKeys

slistKeys :: forall g tuples rl. SListToRowList tuples rl => Keys rl => g tuples -> List String

#pickFn

pickFn :: forall r1 r2. Fn2 (Array String) (Record r1) (Record r2)

#pick

pick :: forall a r b l. Union b r a => RowToList b l => Keys l => Record a -> Record b

#keys

keys :: forall g row rl. RowToList row rl => Keys rl => g row -> List String

Re-exports from Record.ExtraSrghma.MapIndex

#MapIndex

class MapIndex (xs :: RowList Type) (row :: Row Type) a b (from :: Row Type) (to :: Row Type) | xs -> row a b from to where

Members

Instances

#mapIndex

mapIndex :: forall row xs a b row'. RowToList row xs => MapIndex xs row a b () row' => (String -> b) -> Proxy row -> Record row'

Re-exports from Record.ExtraSrghma.MapRecord

#MapRecord

class MapRecord (xs :: RowList Type) (row :: Row Type) a b (from :: Row Type) (to :: Row Type) | xs -> row a b from to where

Members

Instances

#mapRecord

mapRecord :: forall row xs a b row'. RowToList row xs => MapRecord xs row a b () row' => (a -> b) -> Record row -> Record row'

Re-exports from Record.ExtraSrghma.MapValuesWithIndex

#MapValuesWithIndex

class MapValuesWithIndex (xs :: RowList Type) (row :: Row Type) a b (from :: Row Type) (to :: Row Type) | xs -> row a b from to where

Members

Instances

#mapValuesWithIndex

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

class (Parallel parM m) <= ParSequenceRecord rl row from to parM m | rl -> row from to parM m where

Members

Instances

#parSequenceRecord

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

class (Functor m) <= SequenceRecord rl row from to m | rl -> row from to m where

Members

Instances

#sequenceRecord

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

newtype LazyTupleList v

Constructors

Instances

#valuesToUnfoldableLazy

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

class 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

Instances

#zipRecord

zipRecord :: forall ta ra tb rb rc. RowToList ra ta => RowToList rb tb => ZipRecord ta ra tb rb () rc => Record ra -> Record rb -> Record rc

Modules