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 (CLensFor k root) = LensFor root (ConfigBool k) |
type family ConfigLast a k where ... Source #
ConfigLast a CPartial = Last a | |
ConfigLast a CComplete = a | |
ConfigLast a (CLensFor k root) = LensFor root (ConfigLast a k) |
configLens :: forall config proxy. (Generic (config CComplete), Generic (LensConfig CComplete config), GLensFor CComplete (config CComplete) (Rep (config CComplete)) (Rep (LensConfig CComplete config))) => LensConfig CComplete config Source #