"reflexive" vs. "symmetric" in hash_table.h doc #519
Labels
documentation
This is a problem with documentation.
p3
This is a minor priority issue
pending-release
This issue will be fixed by an approved PR that hasn't been released yet.
The documentation for function
aws_hash_callback_eq_fn
inhash_table.h
states"Reflexive" means a==a for all a. A relation satisfying (a==b iff b==a) is "symmetric". Probably you want to require that equality functions are reflexive, symmetric, and transitive, i.e., that they are equivalence relations.
For comparison, see https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#equals-java.lang.Object-
The text was updated successfully, but these errors were encountered: