2009/4/9 Christophe Grand <christo...@cgrand.net>:
> The problem is with the last two lines of your macro (the let expansion
> is fine):
>
>      (.add l)
>      (.add b))))
> Do you really want to hardcode l and b here or emit as many .add as
> required?

No - this is where the macro is incomplete - these lines are just
temporary.  But I was sure the problem was in the let form.

I have commented these lines out and everything works fine now!!

Thanks for putting me straight - I'm struggling a bit with macros and
so I was convinced the problem was more serious.  Good to know it's
just a silly mistake on my part.

Paul.
--
Iode Software Ltd, registered in England No. 6299803.

Registered Office Address: 12 Sancroft Drive, Houghton-le-Spring, Tyne
& Wear, DH5 8NE.

This message is intended only for the use of the person(s) ("the
intended recipient(s)") to whom it is addressed. It may contain
information which is privileged and confidential within the meaning of
applicable law. If you are not the intended recipient, please contact
the sender as soon as possible. The views expressed in this
communication may not necessarily be the views held by The Company.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To post to this group, send email to clojure@googlegroups.com
To unsubscribe from this group, send email to 
clojure+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/clojure?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to