Std.Fmt
18 public declarations
- Align
Where the content sits when it is narrower than the width asked for.
- alignOf
&Std.Fmt.Spec -> Std.Fmt.AlignWhere a spec places its content.
- binary
&Std.Fmt.Spec -> Int -> StrA whole number in base two, shaped by the spec.
- columns
&Array[Array[Str]] -> Str -> Array[Str]Rows laid out in columns, each column as wide as its widest entry.
- fillOf
&Std.Fmt.Spec -> CharThe character a spec fills with.
- fixed
&Std.Fmt.Spec -> Decimal -> Int -> StrAn exact fraction shaped by the spec, shown to a fixed number of places.
- hex
&Std.Fmt.Spec -> Int -> StrA whole number in base sixteen, shaped by the spec.
- int
&Std.Fmt.Spec -> Int -> StrA whole number shaped by the spec.
- list
&Std.Fmt.Spec -> &Array[Str] -> Str -> StrEvery value in an array shaped alike and joined.
- octal
&Std.Fmt.Spec -> Int -> StrA whole number in base eight, shaped by the spec.
- radix
&Std.Fmt.Spec -> Int -> Int -> StrA whole number in a base the caller names, shaped by the spec.
- Shaping
A spec with one decision changed, each answering a spec rather than taking
- spec
Std.Fmt.SpecA spec that shapes nothing.
- Spec
The decisions about how a value is shaped, held as a value.
- text
&Std.Fmt.Spec -> Str -> StrText placed within the spec's width.
- truncated
Str -> Int -> Str -> StrText cut to a width, ending in a marker when anything was removed.
- widthOf
&Std.Fmt.Spec -> IntThe width a spec asks for.
- zeroPadded
&Std.Fmt.Spec -> Int -> StrA number filled to its width with zeros between the sign and the digits.
