Add some more docs

This commit is contained in:
gingerBill
2025-10-07 14:27:19 +01:00
parent 1400952530
commit 20e67f2ad9
3 changed files with 36 additions and 4 deletions
+7 -2
View File
@@ -134,8 +134,13 @@ equal_fold :: proc(u, v: []byte) -> bool {
return false
}
// TODO(bill): Unicode folding
r := unicode.simple_fold(sr)
for r != sr && r < tr {
r = unicode.simple_fold(sr)
}
if r == tr {
continue loop
}
return false
}