| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Cfg.Deriving.ConfigRoot
Documentation
newtype ConfigRoot a Source #
Constructors
| ConfigRoot | |
Fields
| |
Instances
| Generic a => Generic (ConfigRoot a) Source # | |
Defined in Cfg.Deriving.ConfigRoot Associated Types type Rep (ConfigRoot a) :: Type -> Type # | |
| (AssertTopLevelRecord RootConfig a, Generic a, GRootConfigParser (Rep a)) => RootParser (ConfigRoot a) Source # | |
Defined in Cfg.Deriving.ConfigRoot Methods 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 Methods toRootConfig :: Tree Text Source # | |
| type Rep (ConfigRoot a) Source # | |
Defined in Cfg.Deriving.ConfigRoot | |
newtype ConfigRootOpts t t' a Source #
Constructors
| ConfigRootOpts | |
Fields
| |
Instances
| Generic a => Generic (ConfigRootOpts t t' a) Source # | |
Defined in Cfg.Deriving.ConfigRoot Associated Types type Rep (ConfigRootOpts t t' a) :: Type -> Type # Methods 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 Methods 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 Methods 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 #
Methods
Instances
| (LabelModifier t, LabelModifier t') => GetConfigRootOptions t t' Source # | |
Defined in Cfg.Deriving.ConfigRoot Methods | |