I’m novice in LISP
, so I’m sorry in advance for probably non-clever question.
Now it is needed to check if the given symbol is a member of the given list of symbols. Function position
works well for most cases, but the problem arises when the symbol is generated by gensym
function:
(position ‘#:G808 (list ‘#:G808))
I expected 0
as a response for this query, but got nil
instead. I suspect that #
and :
have some special meaning, but item '#:G808
anycase does belong to the list '#:G808
doesn’t it?