At this point I think maybe a broader more abstract view is in order. How about watchers for every mutable construct in Clojure?
On Feb 1, 7:12 am, Mark Fredrickson <mark.m.fredrick...@gmail.com> wrote: > I know its been discussed before, but I would like to register a > request for a feature: watchers on namespaces. My needs are simple, > just a callback when something in the namespace changes. It does not > matter to me what binding changed, if something was added, if > something was deleted. > > My use case is setting up automatic testing of namespaces using test- > is's (run-tests <namespace>) function. If I know the namespace changed > in some way, it is sufficient for my needs to re-run all the tests. > > If this is hard to do, I can always pursue a file oriented solution, > but the namespace level watcher seems like the most Clojure-ish > solution. > > Thanks in advance, > - Mark Fredrickson > mark.m.fredrick...@gmail.comhttp://www.markmfredrickson.com --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---