Module
Data.Lens.Lens
- Package
- purescript-profunctor-lenses
- Repository
- purescript-contrib/purescript-profunctor-lenses
This module defines functions for working with lenses.
#ilens' Source
ilens' :: forall b a t s i. (s -> Tuple (Tuple i a) (b -> t)) -> IndexedLens i s t a b
#ilens Source
ilens :: forall b a t s i. (s -> Tuple i a) -> (s -> b -> t) -> IndexedLens i s t a b
#withIndexedLens Source
withIndexedLens :: forall r b a t s i. (AnIndexedLens i s t a b) -> ((s -> (Tuple i a)) -> (s -> b -> t) -> r) -> r
#cloneIndexedLens Source
cloneIndexedLens :: forall b a t s i. AnIndexedLens i s t a b -> IndexedLens i s t a b
Re-exports from Data.Lens.Types
#IndexedLens' Source
type IndexedLens' i s a = IndexedLens i s s a a
#IndexedLens Source
type IndexedLens i s t a b = forall p. Strong p => IndexedOptic p i s t a b
An indexed lens.
#AnIndexedLens' Source
type AnIndexedLens' i s a = AnIndexedLens i s s a a
#AnIndexedLens Source
type AnIndexedLens i s t a b = IndexedOptic (Shop (Tuple i a) b) i s t a b
- Modules
- Data.
Lens - Data.
Lens. At - Data.
Lens. Common - Data.
Lens. Fold - Data.
Lens. Fold. Partial - Data.
Lens. Getter - Data.
Lens. Grate - Data.
Lens. Index - Data.
Lens. Indexed - Data.
Lens. Internal. Exchange - Data.
Lens. Internal. Focusing - Data.
Lens. Internal. Forget - Data.
Lens. Internal. Grating - Data.
Lens. Internal. Indexed - Data.
Lens. Internal. Market - Data.
Lens. Internal. Re - Data.
Lens. Internal. Shop - Data.
Lens. Internal. Tagged - Data.
Lens. Internal. Wander - Data.
Lens. Internal. Zipping - Data.
Lens. Iso - Data.
Lens. Iso. Newtype - Data.
Lens. Lens - Data.
Lens. Lens. Product - Data.
Lens. Lens. Tuple - Data.
Lens. Lens. Unit - Data.
Lens. Lens. Void - Data.
Lens. Prism - Data.
Lens. Prism. Coproduct - Data.
Lens. Prism. Either - Data.
Lens. Prism. Maybe - Data.
Lens. Record - Data.
Lens. Setter - Data.
Lens. Traversal - Data.
Lens. Types - Data.
Lens. Zoom