On May 18, 9:56 am, Mark Engelberg <mark.engelb...@gmail.com> wrote:
>
> So how to do this?  As far as I can tell, these various modules are
> all "hard-linked" to point at one another, and I don't see how to make
> this linkage more dynamic.  To change one file, I'd have to create new
> versions of ALL the files.  It would be great if each file could store
> a variable for what namespace it needs to use to get at the other
> functions.  For example, the generator has a variable that points at
> the solver namespace, and accesses the solver functions through that
> variable.  Then, you could have one master file that loads the
> particular versions of the modules you want, and links them to one
> another.  But I really don't see how such glue could be written.  Any
> suggestions?
>


It seems like what you are really trying to do is simulate
inheritance/overriding in clojure.  What's wrong with using
gen-class and proxy for that?

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