I have a quick question.
((lambda (&key k) k) :k 1 :k 2)
=> 1 ; on my system
Is the outcome of this form well defined by the standard?
Search found 3 matches
Search found 3 matches • Page 1 of 1
- Thu Jun 21, 2012 4:15 pm
- Forum: Common Lisp
- Topic: Passing values by reference
- Replies: 12
- Views: 15335
Well I think this is wrong nevertheless as a literal list is modified here...
Code: Select all
(setf foo '(a b c)) (setf bar '(d e f)) (setf foo (nconc foo bar)) ; <= correct