Kenny <kentilton@gmail.com> wrote:
+---------------
| How come values do not work with recursion!!!?
| (values-list (multiple-value-list (yo-mama)))
| wtf?!!
+---------------
Reminder: You always rant to newbies about showing real examples and
saying which implementation, etc., etc. This works fine for me in CMUCL:
> (defun yo-mama ()
(values 1 2 3 4 5))
YO-MAMA
> (yo-mama)
1
2
3
4
5
> (values-list (multiple-value-list (yo-mama)))
1
2
3
4
5
>
So where's the "does not work" in your case?!?
-Rob
-----
Rob Warnock <rpw3@rpw3.org>
627 26th Avenue <URL:http://rpw3.org/>
San Mateo, CA 94403 (650)572-2607