On Fri, Feb 22, 2008 at 09:57:42PM +0900, Daishi Kato wrote:
> OK, so that was stupid.
> 
> How about this?
> 
> (define a 'values)
> (define b '((1 2 3) #(4 5 6))
> 
> I'd like to evaluate (values '(1 2 3) '#(4 5 6))
> using eval, a and b.

More of the same:
(eval (cons a (map (cut list 'quote <>) b)))

HTH,
Peter
-- 
http://sjamaan.ath.cx
--
"The process of preparing programs for a digital computer
 is especially attractive, not only because it can be economically
 and scientifically rewarding, but also because it can be an aesthetic
 experience much like composing poetry or music."
                                                        -- Donald Knuth

Attachment: pgpJtM9M93QLR.pgp
Description: PGP signature

_______________________________________________
Chicken-users mailing list
Chicken-users@nongnu.org
http://lists.nongnu.org/mailman/listinfo/chicken-users

Reply via email to