Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Documentation
defaultParseRootConfig :: forall a. (Generic a, GRootConfigParser (Rep a)) => RootOptions -> Tree Text -> Either ConfigParseError a Source #
class GRootConfigParser (f :: Type -> Type) where Source #
gParseRootConfig :: RootOptions -> Tree Text -> Either ConfigParseError (f p) Source #
Instances
GFieldParser (a :*: b) => GRootConfigParser (a :*: b) Source # | |
Defined in Cfg.Parser.ConfigParser gParseRootConfig :: RootOptions -> Tree Text -> Either ConfigParseError ((a :*: b) p) Source # | |
(Constructor c, GRootConfigParser f) => GRootConfigParser (M1 C c f) Source # | |
Defined in Cfg.Parser.ConfigParser gParseRootConfig :: RootOptions -> Tree Text -> Either ConfigParseError (M1 C c f p) Source # | |
GRootConfigParser f => GRootConfigParser (M1 D s f) Source # | |
Defined in Cfg.Parser.ConfigParser gParseRootConfig :: RootOptions -> Tree Text -> Either ConfigParseError (M1 D s f p) Source # | |
(Selector s, GNestedParser f) => GRootConfigParser (M1 S s f) Source # | |
Defined in Cfg.Parser.ConfigParser gParseRootConfig :: RootOptions -> Tree Text -> Either ConfigParseError (M1 S s f p) Source # |
class FieldParser a where Source #
parseFields :: [Tree Text] -> Either ConfigParseError a Source #
class GFieldParser (f :: Type -> Type) where Source #
gParseFields :: ConfigOptions -> [Tree Text] -> Either ConfigParseError (f p) Source #
Instances
(GFieldParser a, GFieldParser b) => GFieldParser (a :*: b) Source # | |
Defined in Cfg.Parser.ConfigParser gParseFields :: ConfigOptions -> [Tree Text] -> Either ConfigParseError ((a :*: b) p) Source # | |
(Selector s, GNestedParser f) => GFieldParser (M1 S s f) Source # | |
Defined in Cfg.Parser.ConfigParser gParseFields :: ConfigOptions -> [Tree Text] -> Either ConfigParseError (M1 S s f p) Source # |
defaultParseNestedConfig :: forall a. (Generic a, GNestedParser (Rep a)) => ConfigOptions -> Tree Text -> Either ConfigParseError a Source #
class GNestedParser (f :: Type -> Type) where Source #
gParseNestedConfig :: ConfigOptions -> Tree Text -> Either ConfigParseError (f p) Source #
Instances
GFieldParser (a :*: b) => GNestedParser (a :*: b) Source # | |
Defined in Cfg.Parser.ConfigParser gParseNestedConfig :: ConfigOptions -> Tree Text -> Either ConfigParseError ((a :*: b) p) Source # | |
NestedParser a => GNestedParser (K1 R a :: Type -> Type) Source # | |
Defined in Cfg.Parser.ConfigParser gParseNestedConfig :: ConfigOptions -> Tree Text -> Either ConfigParseError (K1 R a p) Source # | |
(Constructor c, GNestedParser f) => GNestedParser (M1 C c f) Source # | |
Defined in Cfg.Parser.ConfigParser gParseNestedConfig :: ConfigOptions -> Tree Text -> Either ConfigParseError (M1 C c f p) Source # | |
GNestedParser f => GNestedParser (M1 D c f) Source # | |
Defined in Cfg.Parser.ConfigParser gParseNestedConfig :: ConfigOptions -> Tree Text -> Either ConfigParseError (M1 D c f p) Source # | |
(Selector s, GNestedParser f) => GNestedParser (M1 S s f) Source # | |
Defined in Cfg.Parser.ConfigParser gParseNestedConfig :: ConfigOptions -> Tree Text -> Either ConfigParseError (M1 S s f p) Source # |