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

Safe HaskellNone
LanguageHaskell98

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

class ToYaml a where Source #

Minimal complete definition

toYaml

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 #