autodocodec-yaml-0.2.0.2: Autodocodec interpreters for yaml
Safe HaskellNone
LanguageHaskell2010

Autodocodec.Yaml.IO

Synopsis

Documentation

readYamlConfigFile :: HasCodec a => Path r File -> IO (Maybe a) Source #

Helper function to read a yaml file for a type in HasCodec

This will output a colourful yaml schema if parsing fails.

readFirstYamlConfigFile :: forall a r. HasCodec a => [Path r File] -> IO (Maybe a) Source #

Helper function to read the first in a list of yaml files for a type is HasCodec

This will output a colourful yaml schema if parsing fails.