| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
FeedGipeda.Config
Contents
Description
feed-gipeda.yaml related stuff like decoding and syntax checking.
Documentation
Represents a decoded config file. Has the appropriate FromJSON config to
be deserializable from YAML.
decodeFile :: FilePath -> IO (Either String Config) Source #
decodeFile file Either decodes a Config from a YAML file
(such as feed-gipeda.yaml) or returns a parse error message.
checkFile :: FilePath -> IO (Maybe String) Source #
Checks for syntax errors while reading a Config from the supplied YAML
file.