Out of interest, did any library come out of this?
On Thursday, 15 January 2009 06:46:52 UTC+11, Laurent PETIT wrote:
>
> OK thank you both Chris & Mike for your answer.
>
> What I've done for the moment is similar to what Mike did: at any
> place where there is a chance for something to change
OK thank you both Chris & Mike for your answer.
What I've done for the moment is similar to what Mike did: at any
place where there is a chance for something to change namespaces, I
reload a new snapshot (and I throw the old).
Registering watchers for Vars seems very interesting, I'll
investigat
There's no event mechanism to monitor namespace changes. I accomplish
this by taking a snapshot before and after any possible namespace-
changing execution, using ns-map. Not as efficient as an event
callback, but I haven't had any performance issues (map lookups are
plenty fast for me).
You can
On Wed, Jan 14, 2009 at 3:07 AM, lpetit wrote:
>
> Hello,
>
> Is it possible for my code to "subscribe" to events of type
> "namespace change" which would inform of deltas on top level
> namespaces :
> - added symbol
> - removed symbol
> - changed root var binding of a symbol
>
> Indeed, I'm cur
Hello,
Is it possible for my code to "subscribe" to events of type
"namespace change" which would inform of deltas on top level
namespaces :
- added symbol
- removed symbol
- changed root var binding of a symbol
Indeed, I'm currently implementing a little "namespace browser" View
for clojuredev