stack-1.2.0: The Haskell Tool Stack

Safe HaskellNone
LanguageHaskell2010

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

encodeFile :: ToJSON a => FilePath -> a -> IO () Source

module Data.Yaml