confide-0.1.0.3: derive typeclass instances for decoding types from HOCON conf

Safe HaskellNone
LanguageHaskell2010

Data.Confide.Generic

Documentation

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

get :: (Generic a, GFromConf (Rep a), MonadThrow m) => Text -> Config -> m a Source #

Decode an a from a Config given a Text path to its HOCON .conf object

Instances