Re: automatically call functions based on arguments
- From: Alessio Stalla <alessiostalla@xxxxxxxxx>
- Date: Tue, 29 Apr 2008 02:43:20 -0700 (PDT)
[snip]
if you really have macros replace 4) with:
4) create a list with the name of the function/macro as an element
5) call EVAL with the list as an argument
Yeah, I hadn't thought about EVAL. So actually call-function can be a
function AND invoke macros. You could even use EVAL to build a lambda
calling your macro, as in (eval '(lambda () (my-macro-call))), and
then compile, cache or do whatewer you want with your lambda.
cheers
AS
.
- References:
- automatically call functions based on arguments
- From: normanj
- Re: automatically call functions based on arguments
- From: Rainer Joswig
- automatically call functions based on arguments
- Prev by Date: Re: automatically call functions based on arguments
- Next by Date: implementing defmethod using the mop ===> pcl problem
- Previous by thread: Re: automatically call functions based on arguments
- Next by thread: Re: automatically call functions based on arguments
- Index(es):
Relevant Pages
|
|