3 ms·
TL;DR:? In the meantime: $ clisp [1]> (setq a '(1 2)) (1 2) [2]> (progn (nconc a a) nil) NIL [3]> (nth 2 a) 1 [4]> (nth 101 a) 2 [5]> (length a) *
by timonoko 9y ago
TL;DR:?
In the meantime:
$ clisp
[1]> (setq a '(1 2))
(1 2)
[2]> (progn (nconc a a) nil)
NIL
[3]> (nth 2 a)
1
[4]> (nth 101 a)
2
[5]> (length a)
* - LENGTH: A proper list must not be circular: #1=(1 2 . #1#)