Re: "Can't take value of a macro" aka "macro noob needs help"

2011-10-30 Thread Brian Goslinga
On Oct 30, 9:22 am, Dennis Haupt wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > i played around a bit > > (defmacro times [times & exprs] >   '(let [countdown# ~times] >      (loop [remaining# countdown#] >        (when (< 0 remaining#) >          ~@exprs >          (recur (dec remai

Re: "Can't take value of a macro" aka "macro noob needs help"

2011-10-30 Thread Dennis Haupt
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 your magic eye is right. using a backquote fixed it Am 30.10.2011 15:37, schrieb David Powell: > > > On Sun, Oct 30, 2011 at 2:22 PM, Dennis Haupt > mailto:d.haup...@googlemail.com>> > wrote: > > -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 > > i

Re: "Can't take value of a macro" aka "macro noob needs help"

2011-10-30 Thread David Powell
On Sun, Oct 30, 2011 at 2:22 PM, Dennis Haupt wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > i played around a bit > > (defmacro times [times & exprs] > '(let [countdown# ~times] > (loop [remaining# countdown#] > (when (< 0 remaining#) > ~@exprs > (recur (d