That's what I get for posting a question while feeding a 1-year-old
child and getting ready to leave for lunch.

I was trying to put together a (for) construct to output the
combinations of a set, and my logic was flawed.

Here's what I really wanted [for sets of 3]:

(for [m x n x o x :while (and (not= m n) (not= m o) (not= n o))] [m n
o])

Maybe not the most efficient, but the smallest construct I've come up
with, but it isn't generic enough for me yet.

I'll keep working on it.

-- 
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

Reply via email to