In the specific cases of "and" and "or", I made utility functions that do non-short-circuiting "and" and "or" for use with "apply" and a stream of boolean data. (Not sure which implementation is more efficient though: a version that returns its argument with one argument, punts to the appropriate macro with two, and uses recur with more than two; a version similar to that that uses reduce with more than two; or a higher-level (every? identity args) / (some? identity args). The latter are clearly more elegant, but speed is a concern with something that might be used often.)
What macros do y'all have that you want to "apply" things to? Most likely what you need is to make a version that's a function, if you can live without some deferred/selective evaluation of arguments type feature (like the short-circuiting of "and"). --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---