This week's summary

2003-09-08 Thread Piers Cawley
The Perl 6 Summary for the week ending 20030907 Welcome to the last Perl 6 summary of my 35th year. Next week's summary will (in theory) be written on my 36th birthday (a year of being square, so no change there then). I'll give you fair warning that it might be late, though it prob

Autovivification (was Re: E6: assume nothing)

2003-09-08 Thread Paul Johnson
Jonadab the Unsightly One said: > $s = %h{foo} = nonex; > > After deleting the foo key (and its value, if any) from %h this then > probably procedes to autovivify it when evaluating it as an rvalue; Now why on earth would you want to do that? Perl 5 doesn't. By the way, I trust this will be

Re: Dispatch on context

2003-09-08 Thread Luke Palmer
Piers Cawley writes: > So, I was wondering about how to do multidispatch based on the > context in which something is called, which leads me to wonder if > there's going to be a way of reifying calling context so I could > write: > > method whatever($arg1, $arg2) > { my multi whatever ($sel

Dispatch on context

2003-09-08 Thread Piers Cawley
So, I was wondering about how to do multidispatch based on the context in which something is called, which leads me to wonder if there's going to be a way of reifying calling context so I could write: method whatever($arg1, $arg2) { my multi whatever ($self, Scalar $context: