Re: Macro Style Question: Expanding to Multiple (def ...) Forms

2008-12-15 Thread Michael Wood
On Mon, Dec 15, 2008 at 4:52 PM, Randall R Schulz wrote: > > Hi, > > I'm wondering whether it's a good idea to create a defsomething -style > macro that establishes multiple root bindings? In other one, a macro > that expands to multiple (def ...) forms? Well that sounds quite like declare: use

Re: Macro Style Question: Expanding to Multiple (def ...) Forms

2008-12-15 Thread Michael Reid
Hi Randall, Seems the general consensus is that there is nothing inherently bad with such a design. The idea of macros is to give you the power to generate code from commonly occurring templates. Emitting multiple def forms certainly falls under this umbrella. /mike. On Mon, Dec 15, 2008 at