On Wed, Oct 21, 2009 at 7:49 PM, samppi <rbysam...@gmail.com> wrote: > Is there a standard function that takes one argument and calls it? > That is, the function equivalent to #(%). Or is that the best idiom > there is?
#(%) is only four characters. Calling apply with only one argument also does this, and "apply" is five characters. Did you want a third one for some reason? :) --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---