common lisp - Add an element to a global variable - Stack Overflow

preview_player
Показать описание
So you are pushing a value onto a list which is passed as a function parameter? That doesn't work; push creates a new cons cell, makes it point to the original list, and sets the variable to refer to the new cons cell.

#pushing #that #parameters #it's #"dummy"

Рекомендации по теме
welcome to shbcf.ru