Maybe something along these lines? (defn myreplace [str [a b]] (.replace str a b)) (myreplace target search-replace) -> "heo world"
I can see how it would be nice to 'splice in' from a variable like the [EMAIL PROTECTED] splicing from within a macro --~--~---------~--~----~------------~-------~--~----~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/clojure?hl=en -~----------~----~----~----~------~----~------~--~---