yaml-0.9.0: Support for parsing and rendering YAML documents.

Safe HaskellNone
LanguageHaskell2010

Data.Yaml.Builder

Description

NOTE: This module is a highly experimental preview release. It may change drastically, or be entirely removed, in a future release.

Synopsis

Documentation

newtype YamlBuilder Source #

Constructors

YamlBuilder 

Fields

Instances
ToYaml YamlBuilder Source # 
Instance details

Defined in Data.Yaml.Builder

class ToYaml a where Source #

Minimal complete definition

toYaml

Methods

toYaml :: a -> YamlBuilder Source #

Instances
ToYaml Int Source # 
Instance details

Defined in Data.Yaml.Builder

ToYaml Text Source # 
Instance details

Defined in Data.Yaml.Builder

ToYaml YamlBuilder Source # 
Instance details

Defined in Data.Yaml.Builder

ToYaml a => ToYaml [(Text, a)] Source # 
Instance details

Defined in Data.Yaml.Builder

Methods

toYaml :: [(Text, a)] -> YamlBuilder Source #

ToYaml a => ToYaml [a] Source # 
Instance details

Defined in Data.Yaml.Builder

Methods

toYaml :: [a] -> YamlBuilder Source #

number :: Scientific -> YamlBuilder Source #

Deprecated: Use scientific

writeYamlFile :: ToYaml a => FilePath -> a -> IO () Source #

(.=) :: ToYaml a => Text -> a -> (Text, YamlBuilder) Source #