On Oct 15, 5:49 pm, Martin DeMello <[EMAIL PROTECTED]> wrote: > Is there any sort of "splat" operator that expands a list into an > inline sequence of arguments? Failing that, is there any way to use > apply within a doto block? > > e..g > > (def search-replace '("ll" "") > (def target "hello world") > > (doto target > ;(apply replace search-replace) <-- that, except something that > works
(okay, bad example, i forgot the string was immutable anyway :) but it's mostly the general syntax i'm after) martin --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---