Daniel Ruoso daniel-at-ruoso.com |Perl 6| wrote:
Em Sex, 2009-05-22 às 18:27 -0500, John M. Dlugosz escreveu:
Daniel Ruoso wrote:
That's because dot is an operator as well and might be subject to be
overriden... but don't tell anyone that...
You mean by installing a different dispatcher for the object? By hooking the grammar at a lower level? Or will it be as simple as defining a multi sub for that?

Last time I heard about it, it was a simple multi sub...

daniel


That sounds like a circular reference problem. If the dot is a simple multi sub and is expected to dispatch based on type (different types may have different dispatchers), what "type" are you keying off of to pick the standard dispatcher? And how do you determine that without method calls? And what type is the right-hand-side?

Reply via email to