Hans-Christoph Steiner wrote:
Interesting idea, ideally it would be done without adding new syntax.
Perhaps if you were able to test if an object can be instantiated, then you could use that info to dynamically patch things depending on the setup.
i have learned the hard way that dynamic patching is evil (at least in a context where i think that a "try" thing would have meaning)
apart from that it should be fairly simple to implement a query object that asks for the existance of a certain class.
fgmasdr IOhannes