lens-3.7.4: Lenses, Folds and Traversals

PortabilityRank2Types
Stabilityprovisional
MaintainerEdward Kmett <ekmett@gmail.com>
Safe HaskellSafe-Inferred

Control.Lens.Simple

Description

Infix type operators for simple lenses and traversals.

These type aliases are not re-exported from Control.Lens.

Synopsis

Documentation

type :-> s a = forall f. Functor f => (a -> f a) -> s -> f sSource

This is a commonly used infix alias for a Simple Lens.

type :=> s a = forall f. Applicative f => (a -> f a) -> s -> f sSource

This is a commonly-used infix alias for a Simple Traversal.

type :<-> s a = Iso s s a aSource

This is a commonly-used infix alias for a Simple Iso