Function ‘position’ in Common LISP works strange with ‘gensym’
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: