Pudu programming language
Menu
API reference

Std.Yaml.Yaml

1 declaration

type

Yaml

This declaration introduces a public type.

What it does

A value a YAML document holds.

The same shape a JSON document has, because that is what YAML documents in

practice hold: the format's own extras — anchors, tags, multiple documents

in one file, the several ways of writing a string — are ways of writing

these, not additional kinds of value.

Numbers are kept apart as whole and fractional for the same reason Std.Toml

keeps them apart: a fractional value read into a binary float and written

back is no longer the text that was read, and configuration is compared as

text more often than it is calculated with. A fractional value is carried as

what was written, and a caller that wants a number converts it.

Read the signature

  • This declaration has no value signature because it introduces a type or trait.

Back to Std.YamlSearch related declarations