On 7 February 2010 16:28, Robert Campbell <rrc...@gmail.com> wrote: > That works perfectly and is much simpler, thank you.
Sure thing! As for your macro producing (), note that it never uses its argument in its body. What it does use instead is something called 'coordinates' -- my guess would be that you had that bound to an empty map (or possibly an empty set -- wouldn't really make a difference) and thus the result was hard-wired to be (). Also, you're using something called flatten in your code to process the result of a call to map -- check out mapcat for a shorter way to do what I think this does. :-) Sincerely, Michał -- 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 Note that posts from new members are moderated - please be patient with your first post. 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