Module
TsBridge.Types.TsRecord
- Package
- purescript-ts-bridge
- Repository
- thought2/purescript-ts-bridge
#Mod Source
data Mod :: Row Boolean -> Type -> ModField Type
data Mod t0 t1
Instances
(ToRecordBuilder rl' rts r', Cons sym (Mod mods a) rtsx rts, Cons sym a_ r' r, Lacks sym r', IsSymbol sym, Get sym rts a_) => ToRecordBuilder (Cons sym (Mod mods a) rl') rts r
(TsBridgeBy tok t, TsBridgeTsRecordRL tok rl, IsSymbol s, GetMods mods) => TsBridgeTsRecordRL tok (Cons s (Mod mods t) rl)
#Get Source
#GetModsRL Source
class GetModsRL :: RowList Boolean -> Constraint
class GetModsRL rl where
Members
getModsRL :: Proxy rl -> PropModifiers
Instances
#ToRecordBuilder Source
class ToRecordBuilder :: RowList (ModField Type) -> Row (ModField Type) -> Row Type -> Constraint
class ToRecordBuilder rl rts r | rl rts -> r where
Members
toRecordBuilder :: forall proxy. proxy rl -> TsRecord rts -> Builder (Record ()) (Record r)
Instances
ToRecordBuilder Nil rts ()
(ToRecordBuilder rl' rts r', Cons sym (Mod mods a) rtsx rts, Cons sym a_ r' r, Lacks sym r', IsSymbol sym, Get sym rts a_) => ToRecordBuilder (Cons sym (Mod mods a) rl') rts r
#TsBridgeTsRecord Source
class TsBridgeTsRecord :: Type -> Row (ModField Type) -> Constraint
class TsBridgeTsRecord tok r where
Members
tsBridgeTsRecord :: tok -> Proxy (TsRecord r) -> TsBridgeM TsType
Instances
(RowToList r rl, TsBridgeTsRecordRL tok rl) => TsBridgeTsRecord tok r
#TsBridgeTsRecordRL Source
class TsBridgeTsRecordRL :: Type -> RowList (ModField Type) -> Constraint
class TsBridgeTsRecordRL tok rl where
Members
tsBridgeTsRecordRL :: tok -> Proxy rl -> TsBridgeM (Array TsRecordField)
Instances
TsBridgeTsRecordRL tok Nil
(TsBridgeBy tok t, TsBridgeTsRecordRL tok rl, IsSymbol s, GetMods mods) => TsBridgeTsRecordRL tok (Cons s (Mod mods t) rl)