This seems to work: (reduce into '([1 2] [3 4] [5 6]))
although it does lack the simplicity. On Oct 2, 7:10 am, Mark Volkmann <[email protected]> wrote: > (into [1 2] [3 4]) -> [1 2 3 4] > > (into [1 2] [3 4] [5 6]) -> wrong number of arguments > > It's seems more Clojure-like to allow any number of collections to be > passed to into. > In this case the result would be [1 2 3 4 5 6]. > > -- > R. Mark Volkmann > Object Computing, Inc. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to [email protected] Note that posts from new members are moderated - please be patient with your first post. 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 -~----------~----~----~----~------~----~------~--~---
