lens-3.0.3: Lenses, Folds and Traversals

Portabilityrank 2 types, MPTCs
Stabilityexperimental
MaintainerEdward Kmett <ekmett@gmail.com>
Safe HaskellNone

Control.Lens.IndexedGetter

Contents

Description

 

Synopsis

Indexed Folds

type IndexedGetter i a c = forall k f. (Indexed i k, Gettable f) => k (c -> f c) (a -> f a)Source

Every IndexedGetter is a valid IndexedFold and Getter.

type IndexedGetting i m a b c d = Index i (c -> Accessor m d) (a -> Accessor m b)Source

Used to consume an IndexedFold.

newtype ReifiedIndexedGetter i a c Source

Useful for storage.