what does the value part of env map automatically passed to all macros contain?

2010-12-03 Thread Sunil S Nandihalli
Hello everybody, I really like the env. It has saved a lot of tedious work a couple of times .. but I have only found use for the keys of the map that gets passed like in the following example. (defmacro display-local-bindings [] `(do ~@(map (fn [x#] (list 'println [`'~x# x#])) (keys env

Re: what does the value part of env map automatically passed to all macros contain?

2010-12-03 Thread Alex Osborne
Sunil S Nandihalli sunil.nandiha...@gmail.com writes: I really like the env. It has saved a lot of tedious work a couple of times .. but I have only found use for the keys of the map that gets passed like in the following example. I don't understand what the val part of the map contains? I

Re: what does the value part of env map automatically passed to all macros contain?

2010-12-03 Thread Sunil S Nandihalli
Thanks Alex. I asked because I thought it might be part of stable API. Thanks for your tip on slime (I do use slime) also. I will wait for it to become part of stable api. Sunil. On Sat, Dec 4, 2010 at 9:29 AM, Alex Osborne a...@meshy.org wrote: Sunil S Nandihalli sunil.nandiha...@gmail.com

Re: what does the value part of env map automatically passed to all macros contain?

2010-12-03 Thread Sunil S Nandihalli
I feel they could add a flag to indicate if it was obtained via gensym or not.. I would have liked to have it in the past. It can help in writing debug macros .. may be give better debug messages etc. Sunil On Sat, Dec 4, 2010 at 9:29 AM, Alex Osborne a...@meshy.org wrote: Sunil S Nandihalli