Module
Heterogeneous.Mapping 
- Package
- purescript-heterogeneous
- Repository
- natefaubion/purescript-heterogeneous
#MappingWithIndex Source
class MappingWithIndex f i a b | f a -> b, f -> i whereMembers
- mappingWithIndex :: f -> i -> a -> b
Instances
- (Mapping f a b) => MappingWithIndex (ConstMapping f) ix a b
#ConstMapping Source
newtype ConstMapping fConstructors
Instances
- (Mapping f a b) => MappingWithIndex (ConstMapping f) ix a b
#HMapWithIndex Source
class HMapWithIndex f a b | a -> f b whereMembers
- hmapWithIndex :: f -> a -> b
Instances
- (FunctorWithIndex i f, MappingWithIndex fn i a b) => HMapWithIndex fn (App f a) (App f b)
- (RowToList rin rl, MapRecordWithIndex rl fn rin rout) => HMapWithIndex fn (Record rin) (Record rout)
#MapRecordWithIndex Source
class MapRecordWithIndex (xs :: RowList) f (as :: Row Type) (bs :: Row Type) | xs -> f as bs whereMembers
- mapRecordWithIndexBuilder :: RLProxy xs -> f -> Builder (Record as) (Record bs)
Instances
- (IsSymbol sym, MappingWithIndex f (SProxy sym) a b, MapRecordWithIndex rest f as bs', Cons sym a bx bs', Cons sym b bx bs) => MapRecordWithIndex (Cons sym a rest) f as bs
- MapRecordWithIndex Nil fn as as