[postmodern-devel] prepare macro syntax

Marijn Haverbeke marijnh at gmail.com
Thu Jun 19 22:58:59 UTC 2008


Hi,

The behaviour here was indeed a bit dodgy. I've pushed a patch that
seems to fix this. Take a look.

Regards,
Marijn

On Sun, Jun 8, 2008 at 4:01 AM, Roman Budzianowski
<superdog at budzianowski.net> wrote:
> 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
>
> _______________________________________________
> 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