validations-0.1.0.2: A nice way to define field validations in Haskell.

Validations.Internal.Lens

getter :: (forall f. Functor f => (a -> f a) -> s -> f s) -> s -> aSource

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

lens :: Functor f => (s -> a) -> (s -> a -> s) -> (a -> f a) -> s -> f sSource

type Lens a s = Functor f => (a -> f a) -> s -> f sSource