| In arc.arc from arc2.tar: (def list args args)
In arc.arc from arc3.tar: (def copylist (xs)
(if (no xs)
nil
(cons (car xs) (copylist (cdr xs)))))
(def list args (copylist args))
I'm not sure why 'copylist is necessary, considering the following, evaluated in vanilla arc3: arc> (def mylist args args)
#<procedure: mylist>
arc> (= l '(1 2 3))
(1 2 3)
arc> (is l l)
t
arc> (= l2 (apply mylist l))
(1 2 3)
arc> (is l l2)
nil
arc> (= car.l2 'foo)
foo
arc> l2
(foo 2 3)
arc> l
(1 2 3)
|