Subject: Re: NIL is not of type CONS
From: rpw3@rpw3.org (Rob Warnock)
Date: Wed, 19 Dec 2007 21:22:39 -0600
Newsgroups: comp.lang.lisp
Message-ID: <QuCdneTH3PhiQvTanZ2dnUVZ_q3inZ2d@speakeasy.net>
Barry Margolin <barmar@alum.mit.edu> wrote: +--------------- | Scheme has apply, just not funcall. | You need apply to tell it to spread the arguments. +--------------- Which is why, way back when I was still going back & forth between Scheme & CL, I had this in my Scheme toolbox: (define (funcall func . rest) (apply func rest)) ;-} ;-} -Rob ----- Rob Warnock <rpw3@rpw3.org> 627 26th Avenue <URL:http://rpw3.org/> San Mateo, CA 94403 (650)572-2607