[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Proposing "alist" macro
From: |
Noam Postavsky |
Subject: |
Re: Proposing "alist" macro |
Date: |
Wed, 5 Sep 2018 10:05:10 -0400 |
On 5 September 2018 at 09:16, Van L <address@hidden> wrote:
>>>> LGTM, but couldn't it be a function?
>>>
>>> A macro does not needlessly eval the args.
>>
>> The proposed macro expansions do eval all the args.
>
> The eval occurs after the macro expansion, right? that is why there is the
> defmacro.
Correct, the expressions passed to the macro are evaluated exactly
once at runtime. Exactly the same as if it was a defun.