|
From: | Dmitry Gutov |
Subject: | bug#64960: Documentation for copy-sequence |
Date: | Sun, 30 Jul 2023 22:59:16 +0300 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.13.0 |
So it returns a copy but elements are not copied. So what happens exactly ? You get a reference to the original ? When I modify the copy, the original remains intact.
The list (if the sequence is a list) is new (from newly allocated cons cells), but the values inside (in cars of those conses) are shared with the original list.
[Prev in Thread] | Current Thread | [Next in Thread] |