Module
Untagged.Castable
- Package
- purescript-untagged-union
- Repository
- rowtype-yoga/purescript-untagged-union
#CastableRecordRL Source
class CastableRecordRL :: RowList Type -> RowList Type -> Constraint
class CastableRecordRL (rl :: RowList Type) (rl' :: RowList Type)
Instances
CastableRecordRL Nil Nil
(CastableRecordRL trl trl') => CastableRecordRL (Cons name typ trl) (Cons name typ trl')
(CastableRecordRL trl trl', Castable typ typ') => CastableRecordRL (Cons name typ trl) (Cons name typ' trl')
(CastableRecordRL trl trl', Castable Undefined t) => CastableRecordRL trl (Cons name t trl')