#

common-lisp

Common Lisp language and idioms, including equality predicates.

ProgrammingWhy member behaves differently in FiveAM tests (SBCL)

SBCL may intern string literals when compiling, so (member "foo" '("foo") :test #'eql) can match by identity. Use equal or string= for consistent results.

1 answer 1 view