Copyright | Copyright © 2015 PivotCloud Inc. |
---|---|
License | MIT |
Maintainer | Lars Kuhtz <lkuhtz@pivotmail.com> |
Stability | experimental |
Safe Haskell | None |
Language | Haskell2010 |
Synopsis
- parseConfigFiles :: (ConfigFileParser m, FromJSON (a -> a)) => ConfigFilesConfig -> a -> [ConfigFile] -> m a
- readConfigFile :: (ConfigFileParser m, FromJSON (a -> a)) => ConfigFilesConfig -> ConfigFile -> m (a -> a)
- data ConfigFileFormat
- loadLocal :: (Functor m, MonadIO m, MonadError Text m, FromJSON (a -> a)) => ConfigFile -> m (a -> a)
Documentation
:: (ConfigFileParser m, FromJSON (a -> a)) | |
=> ConfigFilesConfig | |
-> a | default configuration value |
-> [ConfigFile] | list of configuration file paths |
-> m a |
:: (ConfigFileParser m, FromJSON (a -> a)) | |
=> ConfigFilesConfig | |
-> ConfigFile | file path |
-> m (a -> a) |
data ConfigFileFormat Source #
Instances
Local Config Files
:: (Functor m, MonadIO m, MonadError Text m, FromJSON (a -> a)) | |
=> ConfigFile | file path |
-> m (a -> a) |