Safe Haskell | None |
---|---|
Language | Haskell2010 |
Data.Yaml.Extra
Description
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) #
encodeFile :: ToJSON a => FilePath -> a -> IO () #
module Data.Yaml