yamlparse-applicative-0.1.0.2: Declaritive configuration parsing with free docs

Safe HaskellNone
LanguageHaskell2010

YamlParse.Applicative.IO

Synopsis

Documentation

readConfigFile :: (YamlSchema a, FromJSON a) => Path r File -> IO (Maybe a) Source #

Helper function to read a config file for a type in YamlSchema

readFirstConfigFile :: forall a r. (FromJSON a, YamlSchema a) => [Path r File] -> IO (Maybe a) Source #

Helper function to read the first in a list of config files