lens-1.3: Lenses, Folds and Traversals

PortabilityGHC
Stabilityexperimental
MaintainerEdward Kmett <ekmett@gmail.com>
Safe HaskellSafe-Infered

GHC.Generics.Lens

Description

 

Synopsis

Documentation

generic :: (Generic a, Generic b) => Iso a b (Rep a x) (Rep b y)Source

Convert from the data type to its representation (or back)

generic1 :: (Generic1 f, Generic1 g) => Iso (f a) (g b) (Rep1 f a) (Rep1 g b)Source

Convert from the data type to its representation (or back)