On Aug 31, 2008, at 10:11 PM, Rich Hickey wrote:
> On Aug 31, 8:12 pm, "Stephen C. Gilardi" <[EMAIL PROTECTED]> wrote:
>> There may still be situations where other code can hold onto an old
>> definition across a reload but this change will cover the vast
>> majority of cases easily and reliably.

Or, as it turns out not the vast majority at all. Whoops!

> No, because code that used the namespace will then be bound to
> orphaned vars. New/fixed definitions under those names will create new
> vars, and thus not update referencing code.

I understand, thanks. I recall now we've discussed "transactional  
loading" in the past and you decided to pass.

Would it work to compare the set of ns-publics for the namespace  
before and after the load and unbind-root the vars that were present  
before but are not present after? I'm not proposing it, just trying to  
understand how things work.

--Steve


--~--~---------~--~----~------------~-------~--~----~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/clojure?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to