Re: My possibly wrong use of apply

2014-07-08 Thread Alexander Burger
Hi Christophe, # In order to call xml with the default args and then the particular args, # decided to use apply: (apply xml (quote text text-anchor middle font-size 24 x 120 y 99 Yes, this is not possible. 'apply' can only be used for functions which evaluate their arguments (EXPRs and

Re: My possibly wrong use of apply

2014-07-08 Thread Christophe Gragnic
On Tue, Jul 8, 2014 at 10:38 AM, Alexander Burger a...@software-lab.de wrote: Hi Christophe, Hi Alex, thanks for this prompt answer. # In order to call xml with the default args and then the particular args, # decided to use apply: (apply xml (quote text text-anchor middle font-size 24 x 120

Re: My possibly wrong use of apply

2014-07-08 Thread Tomas Hlavaty
Hi Christophe, 2) rewrite xml so that it evaluates its args, then quote the args in my calls to it. Exactly! I would do: (de xml (Lst) # See also lib/xm.l and lib/xml.l ... ) and then provide also a quoting function (de xmlq Lst (xml Lst) ) giving a convenient