common-lisp
common-lisp copied to clipboard
Clarify array equality
The test data and instructions could have led to confusion.
The previous instructions and code could lead someone to believe that an equality predicate other than equalp
could work for the "loosely" function. However even with the previous test data that could not be since all equality predicates but equalp
only consider arrays equal if they are eq
. Only equalp
checks the contents of the array for equality.
The mention of numeric type (and then not showing it in the test) was an unintentional red herring.
Both the test data and the instructions have been changed to (hopefully) make things clearer.
Fixes #798
[no important files changed]