When I do the following:
(defvar a (cons 4 5))
(defvar b nil)
(setf b (copy-list a))
… uLisp crashes (ARM version). Maybe it’s not intended to use “copy-list” with a dotted pair?
When I do the following:
(defvar a (cons 4 5))
(defvar b nil)
(setf b (copy-list a))
… uLisp crashes (ARM version). Maybe it’s not intended to use “copy-list” with a dotted pair?
I confirm this crashes uLisp. The Common Lisp documentation says:
Returns a copy of a list. If the list is a dotted list, the resulting list will also be a dotted list.
so it should work. I’ll fix it for next release - thanks for finding this!