Open
Description
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 of EqualFold
are guaranteed. Is it safe to assume that EqualFold
holds to the same relations that one would expect from equality?
- Reflexive:
strings.EqualFold(a, a)
? - Symmetric:
strings.EqualFold(a, b)
==strings.EqualFold(b, a)
? - Transitive: if
strings.EqualFold(a, b)
&&strings.EqualFold(b, c)
, thenstrings.EqualFold(a, c)
?
Similar documentation should be made on bytes.EqualFold