On Sun, Feb 1, 2009 at 8:25 PM, Mark Engelberg <mark.engelb...@gmail.com> wrote: > (set (map sort (selections [1 2 3 4 5] 3)))
or (distinct (map sort (selections [1 2 3 4 5] 3))) if you want to generate the values lazily rather than all at once. --~--~---------~--~----~------------~-------~--~----~ 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 clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en -~----------~----~----~----~------~----~------~--~---