>
> I think you can do what you want with existing transducers. Won't 
> map/filter/keep/etc do the trick?
>

I can't say for sure that it's not possible, but I certainly lack the 
imagination :). The logic I need to write is quite complicated and I'm 
finding it's easier to write my own transducer to have fine-grained control.

My $0.02 is only resort to macros when all else has failed. Can just higher 
> order functions and composition and injection get you closer to what you 
> want?
>

This seems to be very common feedback on this group, and I'll definitely 
take it to heart. Mostly I just wanted to check my understanding of macros 
and verify that what I want to do is / is not possible using them before 
moving on to higher order functions.

You can "capture" symbols from the surrounding context, making them 
> available to the body of your macros, the "tilde tick trick" is what you're 
> looking for there


Ah perfect! This is exactly what I was hoping would be possible. Your 
examples are right on point, thanks for educating me :)

>

-- 
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
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to