Hi Laurent,

On Wed, May 05, 2010 at 10:12:52PM +0200, Laurent PETIT wrote:

> > The question with the new style is: to which filter does f refer to?
> >
> > (ns some.name.space)
> >
> > (defn f [pred x] (filter pred x)) ; core filter?
> >
> > (defn filter [pred x] ...)
> 
> I bet on core filter, since compilation will hard link to the fn (for
> clojure.core) or resolve the symbol into a var, which at compile time
> will still be the var pointing to core.
> 
> /me crosses fingers and hopes he finally "got things" :-)

What happens when re-evaluating (parts) of the namespace? Eg. during
development in the Repl?

There are pitfalls one has to be aware of. I still like the warning
instead of the error.

Sincerely
Meikel

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