cabal-debian-4.24.9: Create a Debianization for a Cabal package

Safe HaskellSafe-Inferred
LanguageHaskell98

OldLens

Documentation

type Lens a b = Lens' a b Source

lens :: (a -> b) -> (b -> a -> a) -> Lens a b Source

iso :: (a -> b) -> (b -> a) -> Lens a b Source

getL :: Lens a b -> a -> b Source

setL :: Lens a b -> b -> a -> a Source

modL :: Lens a b -> (b -> b) -> a -> a Source

access :: Monad m => Lens a b -> StateT a m b Source

focus :: forall m n s t c. (Zoom m n s t, Zoomed n ~ Zoomed m) => LensLike' (Zoomed m c) t s -> m c -> n c Source

(%=) :: Monad m => Lens a b -> (b -> b) -> StateT a m () Source

(~=) :: Monad m => Lens a b -> b -> StateT a m () Source