Re: def app = apply, problem
- From: Tim Bradshaw <tfb+google@xxxxxxxx>
- Date: Tue, 29 Apr 2008 10:12:02 -0700 (PDT)
On Apr 29, 5:34 pm, globalrev <skanem...@xxxxxxxx> wrote:
instead of:
CL-USER> (apply #'+ '(1 2 3))
6
i want to do:
(app + (1 2 3))
(def app (oper expr)
(apply #'oper 'expr))
(defmacro app (op &rest args) `(apply (function ,op) ,@args)))
I'll leave it to others to explain why the whole idea is ill-
conceived.
.
- References:
- def app = apply, problem
- From: globalrev
- def app = apply, problem
- Prev by Date: Re: automatically call functions based on arguments
- Next by Date: Re: def app = apply, problem
- Previous by thread: def app = apply, problem
- Next by thread: Re: def app = apply, problem
- Index(es):