(into [] (concat [1 2] [3 4])) Different tools for different jobs. And Mark makes a great point about assuming too much from a particular usage.
On Nov 3, 7:56 pm, mbrodersen <morten.broder...@gmail.com> wrote: > Currently (into) takes 2 parameters (destination and source): > > (into [] [1 2]) => [1 2] > > but not more than 2: > > (into [] [1 2] [3 4]) => Wrong number of args... > > It would be nice to have (into) work for more parameters: > > (into [] [1 2] [3 4] [5 6 7]) => [1 2 3 4 5 6 7] --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---