2009/5/18 Mark Engelberg <mark.engelb...@gmail.com>: > > On Mon, May 18, 2009 at 4:23 AM, Laurent PETIT <laurent.pe...@gmail.com> > wrote: >> The most modular I can think of right now is just about creating a >> gravity type and using multimethods for all your functions. >> >> This way you would have dynamic resolution of methods that do not work >> with precompiled fns. > > Can you elaborate on this? I've tried to think of a multimethod > solution, perhaps even a multimethod that dispatches on what the > current namespace is, but haven't made much progress.
It is the solution provided by Meikel ( "structure with multimethods") I was thinking of. The problem being, as you mentioned, that it is not a cheap refactoring to go incrementally from pure fns with globals to structure with multimethods. > > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---