std.fmt¶
Accepted
Accepted as a V1 namespace skeleton. Formatting APIs are deferred.
std.fmt owns formatting contracts and formatting helpers.
Expected Contents¶
- formatting contracts
- format-string or format-template helpers
- rendering helpers that target
std.iowriters - formatting error-policy decisions
- allocation-aware formatting APIs
- Unicode and locale policy when those designs mature
Formatting contracts belong in std. Core diagnostics and compiler reflection must not depend on user formatting implementations. Formatting needs writer, allocation, Unicode, locale, and error-policy decisions that are library concerns rather than prelude semantics.
V1 Boundary¶
V1 does not accept formatting contracts, format strings, rendering helpers, allocation-backed formatting APIs, or locale/Unicode formatting policy. Full text and formatting design is deferred to CEP-0048: Standard Text and Formatting.