I support this change. Not only is it closer to the GIGO philosophy, but "let x in S" is actually a very reasonable use-case. Sometimes I just want an element from a set and I don't care about which particular one.
Your code may break if you're using try/catch to handle sets in a special way, but I can't imagine a situation where using clojure.core/set? wouldn't be simpler and more appropriate. Le samedi 4 juin 2016 09:32:09 UTC-7, Atamert Ölçgen a écrit : > > Hi Alex, > > On Sat, Jun 4, 2016 at 3:22 PM, Alex Miller <al...@puredanger.com > <javascript:>> wrote: > >> Why? >> > > Because unordered collections shouldn't have heads defined. > > Is (first #{3 1 2}) => 3? or 2? or 1? > > (I just tried it in a REPL and it is apparently 1.) > > > >> >> -- >> You received this message because you are subscribed to the Google >> Groups "Clojure" group. >> To post to this group, send email to clo...@googlegroups.com >> <javascript:> >> Note that posts from new members are moderated - please be patient with >> your first post. >> To unsubscribe from this group, send email to >> clojure+u...@googlegroups.com <javascript:> >> 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+u...@googlegroups.com <javascript:>. >> For more options, visit https://groups.google.com/d/optout. >> > > > > -- > Kind Regards, > Atamert Ölçgen > > ◻◼◻ > ◻◻◼ > ◼◼◼ > > www.muhuk.com > -- 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.