| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Config.Simple
Description
Functions for declaring a configuration data type.
Documentation
type family ConfigBool k where ... Source #
Equations
| ConfigBool CPartial = Any | |
| ConfigBool CComplete = Bool | |
| ConfigBool (CLensFor CPartial root) = LensFor root Bool | |
| ConfigBool (CLensFor CComplete root) = LensFor root Bool |
type family ConfigLast a k where ... Source #
Equations
| ConfigLast a CPartial = Last a | |
| ConfigLast a CComplete = a | |
| ConfigLast a (CLensFor CPartial root) = LensFor root (Last a) | |
| ConfigLast a (CLensFor CComplete root) = LensFor root a |
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 #