[postmodern-devel] prepare macro syntax
Roman Budzianowski
superdog at budzianowski.net
Sun Jun 8 02:01:53 UTC 2008
Right, it threw me off. I assumed that the arg is not evaluated.
But, then it is... Wrapping it in let and binding the arg makes it work.
On Jun 7, 2008, at 6:49 PM, Marijn Haverbeke wrote:
> Hi Roman,
>
> I wouldn't even have expected the first thing to work -- or is the
> query a string? .. If it is a string, then the second one should
> probably work too. This behaviour is not intentional in any case. I
> won't be able to look into it this week, but I'll get back to you.
>
> Cheers,
> Marijn
>
>
> On Sat, Jun 7, 2008 at 10:02 AM, Roman Budzianowski
> <superdog at budzianowski.net> wrote:
>> Hi Marijn,
>>
>> (prepare q) where q is bound to a query works fine, however
>> (prepare (get 'foo 'query)) doesn't complain, but generates incorrect
>> closure.
>> Easy workaround, but is this a bug?
>>
>> Thanks,
>>
>> Roman
>>
>> _______________________________________________
>> postmodern-devel mailing list
>> postmodern-devel at common-lisp.net
>> http://common-lisp.net/cgi-bin/mailman/listinfo/postmodern-devel
>>
> _______________________________________________
> postmodern-devel mailing list
> postmodern-devel at common-lisp.net
> http://common-lisp.net/cgi-bin/mailman/listinfo/postmodern-devel
More information about the postmodern-devel
mailing list