>> Neither gen-class nor proxy seem to mention how one can access or >> mutate member variables. I would have thought instance variables >> would be accessible and mutatable within some kind of binding... > > gen-class has an :exposes option that allows you to create > getter and setter methods for super class protected fields.
I just hit that problem of inherited protected member field when writing a custom constructor for SnakeYaml, which assumes inheritance as an customization mechanism. Is there a reason why this is not possible with proxy itself? Florian -- Florian Ebeling florian.ebel...@gmail.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 Note that posts from new members are moderated - please be patient with your first post. 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 -~----------~----~----~----~------~----~------~--~---