etc-0.4.1.0: Declarative configuration spec for Haskell projects

Safe HaskellNone
LanguageHaskell2010

System.Etc.Internal.Config

Contents

Documentation

_getConfigValueWith :: MonadThrow m => (Value -> Parser result) -> [Text] -> Config -> m result #

_getConfigValue :: (MonadThrow m, FromJSON result) => [Text] -> Config -> m result #

Orphan instances

IConfig Config # 
Instance details

Methods

getConfigValue :: (MonadThrow m, FromJSON result) => [Text] -> Config -> m result #

getConfigValueWith :: MonadThrow m => (Value -> Parser result) -> [Text] -> Config -> m result #

getAllConfigSources :: MonadThrow m => [Text] -> Config -> m (Set ConfigSource) #

getSelectedConfigSource :: MonadThrow m => [Text] -> Config -> m ConfigSource #