Wouldn't the order be different depending on wether you keep the first or the 
last?

(distinct [1 2 1])
=> [1 2]
vs
(distinct [1 2 1])
=> [2 1]

Erik. 
-- 
i farta

> Den 29. des. 2016 kl. 22.32 skrev Sean Corfield <s...@corfield.org>:
>  
> Can you provide a scenario when it matters? Given that you had two immutable, 
> equal values in a collection, when would it matter which one was discarded 
> and which one was kept?
>  
> 

-- 
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
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to