Safe Haskell | None |
---|---|
Language | Haskell2010 |
Functions for declaring a configuration data type.
Documentation
type family ConfigBool k where ... Source #
ConfigBool CPartial = Any | |
ConfigBool CComplete = Bool | |
ConfigBool CAccum = Bool | |
ConfigBool (CLensFor k root) = ConfigLensFor k root (ConfigBool (ConfigLensTarget k)) |
type family ConfigLast a k where ... Source #
ConfigLast a CPartial = Last a | |
ConfigLast a CComplete = a | |
ConfigLast a CAccum = a | |
ConfigLast a (CLensFor k root) = ConfigLensFor k root (ConfigLast a (ConfigLensTarget k)) |
configLens :: forall config. (Generic (config CComplete), Generic (LensConfig CComplete config), GLensFor (config CComplete) (Rep (config CComplete)) (Rep (LensConfig CComplete config))) => LensConfig CComplete config Source #