Documentation
¶
Overview ¶
Package value is how tutor reads a value as the module format's checks read it: the normalization of steps 1 to 4, a number's value read in steps 1 to 5 and 7, and a text in a notation of number as a rational number, exactly. The reading compares the texts of parts by it and finds a value in its part's writing, the leak check finds the key's number, and the reports compare what was read with what was written. The verdict is module-kit's.
The normalization follows Unicode 17.0.0, the version of the tables of Go 1.27 and of golang.org/x/text v0.42.0 (norm.Version); the format's test vectors use only characters that every version from 15.0 on normalizes alike.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Lowercase ¶
Lowercase maps each character to its simple lowercase mapping, as unicode.ToLower does: a character at a time, so that no context, such as a final sigma, counts.
func Normalize ¶
Normalize is steps 1 to 4 of the format's checks, which a value goes through: the superscript and subscript digits, and the vulgar fractions a number touches, become U+FFFD; NFKC; the dashes and the minus become "-" and the fraction and division slashes "/"; every run of white space becomes one space, and white space at either end is dropped.
Types ¶
This section is empty.