When the compiler encounters a non-namespace-qualified symbol in the
code, it first resolves it to a Var. For example, the symbol 'inc
normally gets resolved to #'clojure.core/inc; however, after you
(declare inc) in the user namespace, it resolves to #'user/inc. Calls
going through Vars in clojure.core receive special treatment for
speed, which is why you can't rebind them.
Note that with the upcoming :static functions we'll all be free to
have our Vars behave this way (at a finer, per Var granularity level).
Sincerely,
Michał
Actually this was backed out before 1.2 was released. Now only
definline functions and (in 1.3) static functions behave this way if I
remember correctly.
-Phil