[cl-faq] faq answer: What's the difference between APPLY and FUNCALL?

Luís Oliveira luismbo at gmail.com
Thu Jun 22 23:29:55 CDT 2006


Larry Clapp <larry at theclapp.org> writes:
> FUNCALL can be implemented using APPLY, but not the other way 'round:

I only skimmed this answer but my first suggestion is to actually
present a definition of funcall in terms of apply:

  (defun .funcall (function &rest args)
    (apply function args))

-- 
Luís Oliveira
luismbo (@) gmail (.) com
http://student.dei.uc.pt/~lmoliv/



More information about the cl-faq mailing list