Std.Toml.Toml
1 declaration
type
TomlThis declaration introduces a public type.
What it does
A configuration value.
Numbers are kept apart the way the format keeps them: a whole number is
Whole, and anything with a fractional part or an exponent stays as the
text it was written in. A reader that turned 1 into a floating value
would lose the distinction a caller cares about, and one that turned
0.1 into a binary float would answer with a number nobody wrote.
A date or time is Moment, holding the text unchanged. The format has four
of them and they differ in what they leave unsaid — a local time names no
day, a local date names no instant — so deciding which is which belongs to
the caller, who can hand the text to Std.Time.Format.
Read the signature
- This declaration has no value signature because it introduces a type or trait.
