On Sat, Oct 22, 2011 at 8:31 AM, Tyler Perkins <thinks.outs...@gmail.com> wrote: > Just take an idea from Haskell (as usual!). Function 'flip' returns a > function taking its first two arguments in order opposite the given > function:
That works nicely for functions with two arguments but in this situation I tend to have more than two arguments so #(f % a1 a2 a3) is what I'd need. After this and other threads, I'm beginning to think that need is a smell of some sort and it signals that the order of the arguments (to f) is wrong (to make it more amenable to partial application). I'm starting to think there's a nice, idiomatic solution lurking somewhere that wouldn't require an extra function... -- Sean A Corfield -- (904) 302-SEAN An Architect's View -- http://corfield.org/ World Singles, LLC. -- http://worldsingles.com/ Railo Technologies, Inc. -- http://www.getrailo.com/ "Perfection is the enemy of the good." -- Gustave Flaubert, French realist novelist (1821-1880) -- 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