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
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@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@common-lisp.net http://common-lisp.net/cgi-bin/mailman/listinfo/postmodern-devel
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@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@common-lisp.net http://common-lisp.net/cgi-bin/mailman/listinfo/postmodern-devel
postmodern-devel mailing list postmodern-devel@common-lisp.net http://common-lisp.net/cgi-bin/mailman/listinfo/postmodern-devel
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@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@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@common-lisp.net http://common-lisp.net/cgi-bin/mailman/listinfo/postmodern-devel
postmodern-devel mailing list postmodern-devel@common-lisp.net http://common-lisp.net/cgi-bin/mailman/listinfo/postmodern-devel
postmodern-devel mailing list postmodern-devel@common-lisp.net http://common-lisp.net/cgi-bin/mailman/listinfo/postmodern-devel
postmodern-devel@common-lisp.net