vinyl-0.1.1.0: Extensible Records

Safe HaskellNone

Data.Vinyl.Lens

Documentation

type RLens sy t = IElem (sy ::: t) rs => SimpleLens (PlainRec rs) tSource

rLens :: (sy ::: t) -> RLens sy tSource

rGet :: (MonadReader (PlainRec rs) m, IElem * (::: sy a) rs) => ::: sy a -> m aSource

rPut :: IElem * (::: sy b) rs => ::: sy b -> b -> PlainRec rs -> PlainRec rsSource

rMod :: IElem * (::: sy t) rs => ::: sy t -> (t -> t) -> PlainRec rs -> PlainRec rsSource