On Mon, Oct 27, 2008 at 07:58:09AM -0700, Tayssir John Gabbour wrote:
> Pretty cool; this means that special operators just shadow my attempts
> to redefine them. For example:
> 
> user> (defn quote [a b]
>         (+ a b))
> #'user/quote
> user> (quote 1 2) ;; Quote ignores args after the first...
> 1
> user> (user/quote 1 2)
> 3
> 
> 
> I guess that makes sense; no matter how much someone messes with your
> environment, 'quote' is always a 'quote'...
> 

I figured having primitive forms as unqualified symbols in the compiler was
a relic from when namespaces weren't as well developed. To me, it's a
weakness to not be able to unrefer (or redefine) a name just because it
happens to be a primitive form.


-steve

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/clojure?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to