hgeometry-0.7.0.0: Geometric Algorithms, Data structures, and Data types.

Safe HaskellNone
LanguageHaskell2010

Data.Yaml.Util

Synopsis

Documentation

encodeYaml :: ToJSON a => a -> ByteString Source #

Write the output to yaml

printYaml :: ToJSON a => a -> IO () Source #

Prints the yaml

decodeYaml :: FromJSON a => ByteString -> Either ParseException a Source #

alias for decodeEither' from the Yaml Package

decodeYamlFile :: FromJSON a => FilePath -> IO (Either ParseException a) Source #

alias for reading a yaml file