On 03.03.2009, at 00:53, Laurent PETIT wrote:

> I'm able to do that from the REPL when done one by one :
> (clojure.core/ns-unmap *ns* (quote filter))
> (clojure.core/defn filter [] "oh my!")
>
> thus correctly redefining the binding of filter for the rest of use  
> by the ns
>
> But I can't manage to get it work from a macro (indeed not even  
> when directly called inside a do) :
>
> (do (clojure.core/ns-unmap *ns* (quote filter)) (clojure.core/defn  
> filter [] "my map!"))
>
> What is wrong with me ? (Something with def I still haven't  
> understood, I think)

I can only confirm your observation, and say that I don't understand  
it either!

Konrad.

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