snm-0.0.4: The Simple Nice-Looking Manual Generator.

Data.Yaml.Simple

Description

Simpler yaml interface

Synopsis

Documentation

class Yamlable y whereSource

Things that can be encoded as YAML

Methods

from_yaml :: Yaml -> IO ySource

data Yaml Source

Yaml

Constructors

YMap (Map Yaml Yaml) 
YSeq [Yaml] 
YStr String 
YNil 

Instances

simplify :: YamlNode -> YamlSource

Simplify Syck's yaml type

parse_yaml :: String -> IO YamlSource

Parse yaml

parse_yaml_file :: FilePath -> IO YamlSource

Parse yaml file

yookup :: String -> Yaml -> Maybe YamlSource

Look up a yaml element referenced by a string in a yaml map