Module

Refract.Lens

Package
purescript-refract
Repository
pkamenarsky/purescript-refract

#ListToLens Source

class ListToLens st (l :: RowList) (r :: RowList) | l st -> r, r st -> l

Instances

#RecordToLens Source

class RecordToLens st (r :: Row Type) (rs :: Row Type) 

Instances

#recordToLens Source

recordToLens :: forall st rs r. RecordToLens st r rs => Record r -> Lens' st (Record rs)