Re

jweiss  at "Sun, 5 Dec 2010 10:29:41 -0800 (PST)" wrote:
 j> I'm no expert on this, but i'll take a crack at it.

 j> I think it's because sets don't (necessarily) impose any order, so
 j> there's no concept of "first" or "nth".  So destructuring would
 j> essentially be assigning a random item to x, or for join, joining them
 j> in random order.

Sometimes, order doesn't matter, for example, I want to print data from set
(or any collection that is transformable into sequence), using some
separator between elements... 

For some operations we can't also predict order, for example, conj behaves
differently for lists and vectors

-- 
With best wishes, Alex Ott, MBA
http://alexott.blogspot.com/        http://alexott.net/
http://alexott-ru.blogspot.com/
Skype: alex.ott

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