Subject: Re: Lisp sucks!
From: rpw3@rpw3.org (Rob Warnock)
Date: Thu, 03 Jul 2008 20:37:19 -0500
Newsgroups: comp.lang.lisp
Message-ID: <itqdna7_xcNS4_DVnZ2dnUVZ_vednZ2d@speakeasy.net>
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