Safe Haskell | None |
---|---|
Language | Haskell2010 |
Wrappers for Yaml functions to workaround https://github.com/commercialhaskell/stack/issues/2491. Import Data.Yaml.Extra in place of Data.Yaml to use this workaround. Beware these functions construct/deconstruct the entire file at once!
Documentation
decodeFileEither :: FromJSON a => FilePath -> IO (Either ParseException a) Source
encodeFile :: ToJSON a => FilePath -> a -> IO () Source
module Data.Yaml