Safe Haskell | None |
---|
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.
Documentation
newtype YamlBuilder Source
Constructors
YamlBuilder | |
Fields
|
Instances
Methods
toYaml :: a -> YamlBuilderSource
mapping :: [(Text, YamlBuilder)] -> YamlBuilderSource
array :: [YamlBuilder] -> YamlBuilderSource
string :: Text -> YamlBuilderSource
toByteString :: ToYaml a => a -> ByteStringSource
writeYamlFile :: ToYaml a => FilePath -> a -> IO ()Source