It would just be a matter of supporting the syntax
mixed Bar.Gazonk() { ... }
and accept that it may take way longer to resolve than the normal way. But then you would have to touch the resolver, and if you do you will be eternally responsible for fixing all the bugs in it.
/ Martin Nilsson (DivX Networks)
Previous text:
2004-08-30 12:48: Subject: Re: pike modules
Perhaps it's time to create an FAQ at the pike-site. The standard answer to all questions without explicit answer can be "Overload the index operator". ;)
IMHO, overloading the index operator is not always an option. I thinkt it's a way to powerful thing in most cases. I would really like to see some way of adding constants (and programs) anywhere (within a branch) in the namespace. Is there some good reason why this cannot be implemented?
/ Marcus Agehall (PacketFront)