Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Synopsis
- type (:-.) src tgt = Lens src tgt
- type Lens = PQ_ (->) Store
- type (:~.) src tgt = forall a. Lens (src a) (tgt a)
- view :: Lens src tgt -> src -> tgt
- set :: Lens src tgt -> tgt -> src -> src
- over :: Lens src tgt -> (tgt -> tgt) -> src -> src
- represent :: (Representable t, Setoid (Representation t)) => Representation t -> t a :-. a
Documentation
represent :: (Representable t, Setoid (Representation t)) => Representation t -> t a :-. a Source #
Representable based lens