On Sat, Aug 4, 2012 at 11:45 PM, Mark Engelberg
<mark.engelb...@gmail.com> wrote:
> In any case, Clojure is already able to detect when x and y are equal in
> something like #{x y} and report it as an error.

So do you think #{1 1} should not be an error? And {:a 1 :a 2}? These
seem like "obvious" programmer errors that I'd want the compiler to
catch.

> And if for some reason, the behavior absolutely has to be the way it is, I'd
> much rather the *compiler* warn for any use of a non-constant in a set
> literal or in the key position of a map.

That sounds like a good enhancement to me.
-- 
Sean A Corfield -- (904) 302-SEAN
An Architect's View -- http://corfield.org/
World Singles, LLC. -- http://worldsingles.com/

"Perfection is the enemy of the good."
-- Gustave Flaubert, French realist novelist (1821-1880)

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