strings: document properties of EqualFold #44867
Labels
Documentation
NeedsDecision
Feedback is required from experts, contributors, and/or the community before a change can be made.
Milestone
It is unclear whether
EqualFold
implements some common operation defined in the Unicode standard. If so we should document what that is and reference it. It is also unclear what properties ofEqualFold
are guaranteed. Is it safe to assume thatEqualFold
holds to the same relations that one would expect from equality?strings.EqualFold(a, a)
?strings.EqualFold(a, b)
==strings.EqualFold(b, a)
?strings.EqualFold(a, b)
&&strings.EqualFold(b, c)
, thenstrings.EqualFold(a, c)
?Similar documentation should be made on
bytes.EqualFold
The text was updated successfully, but these errors were encountered: