Safe Haskell | None |
---|---|
Language | Haskell2010 |
Documentation
newtype ConfigRoot a Source #
ConfigRoot | |
|
Instances
Generic a => Generic (ConfigRoot a) Source # | |
Defined in Cfg.Deriving.ConfigRoot type Rep (ConfigRoot a) :: Type -> Type # from :: ConfigRoot a -> Rep (ConfigRoot a) x # to :: Rep (ConfigRoot a) x -> ConfigRoot a # | |
(AssertTopLevelRecord RootConfig a, Generic a, GRootConfigParser (Rep a)) => RootParser (ConfigRoot a) Source # | |
Defined in Cfg.Deriving.ConfigRoot parseRootConfig :: Tree Text -> Either ConfigParseError (ConfigRoot a) Source # | |
(AssertTopLevelRecord RootConfig a, Generic a, GConfigTree (Rep a)) => RootConfig (ConfigRoot a) Source # | |
Defined in Cfg.Deriving.ConfigRoot toRootConfig :: Tree Text Source # | |
type Rep (ConfigRoot a) Source # | |
Defined in Cfg.Deriving.ConfigRoot |
newtype ConfigRootOpts t t' a Source #
Instances
Generic a => Generic (ConfigRootOpts t t' a) Source # | |
Defined in Cfg.Deriving.ConfigRoot type Rep (ConfigRootOpts t t' a) :: Type -> Type # from :: ConfigRootOpts t t' a -> Rep (ConfigRootOpts t t' a) x # to :: Rep (ConfigRootOpts t t' a) x -> ConfigRootOpts t t' a # | |
(LabelModifier t, LabelModifier t', AssertTopLevelRecord RootConfig a, Generic a, GRootConfigParser (Rep a)) => RootParser (ConfigRootOpts t t' a) Source # | |
Defined in Cfg.Deriving.ConfigRoot parseRootConfig :: Tree Text -> Either ConfigParseError (ConfigRootOpts t t' a) Source # | |
(LabelModifier t, LabelModifier t', AssertTopLevelRecord RootConfig a, Generic a, GConfigTree (Rep a)) => RootConfig (ConfigRootOpts t t' a) Source # | |
Defined in Cfg.Deriving.ConfigRoot toRootConfig :: Tree Text Source # | |
type Rep (ConfigRootOpts t t' a) Source # | |
Defined in Cfg.Deriving.ConfigRoot |
class (LabelModifier t, LabelModifier t') => GetConfigRootOptions t t' where Source #
Instances
(LabelModifier t, LabelModifier t') => GetConfigRootOptions t t' Source # | |
Defined in Cfg.Deriving.ConfigRoot |