On Sun, Dec 23, 2007 at 09:39:46AM +0900, Charles Oliver Nutter wrote: > Robert Klemme wrote: >> Yeah, and then there is still the question what happens to recursion? >> Since the checks are lexically, you could override a recursive method with >> another one and the second invocation ends up calling the old version. >> Spooky although I guess you could do some cute tricks with this. :-) > > One way or the other :) I don't claim to know where selector namespaces are > actually useful, so I can't say which way would be better to go. But I'll > gladly illustrate how to implement them either way. Here's a ruby-core thread which looks related. The features described in there could likely be implemented through selector namespaces. http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-core/9960 -- Jos Backus jos at catnook.com