confide-0.1.0.3: derive typeclass instances for decoding types from HOCON conf
Data.Confide.Generic
class FromConf a where Source #
Methods
get :: MonadThrow m => Text -> Config -> m a Source #
Decode an a from a Config given a Text path to its HOCON .conf object
a
Config
Text
get :: (Generic a, GFromConf (Rep a), MonadThrow m) => Text -> Config -> m a Source #
Instances
get :: MonadThrow m => Text -> Config -> m Bool Source #
get :: MonadThrow m => Text -> Config -> m Integer Source #
get :: MonadThrow m => Text -> Config -> m Text Source #