in reply to Re^2: Factory Pattern in Perl6
in thread Factory Pattern in Perl6
nextsame means about the same as callsame; return (but I think the compiler avoids the additional callframe on the stack), i.e. call the next multi candidate (with the exact same arguments) and don't bother running any more of the code that follows the nextsame.
I would expect a multi method that starts with a nextsame to behave as if the method didn't exist, i.e. exactly the same as just commenting the method out. So your s/callsame/nextsame/ unfortunately doesn't narrow things down.
»ö« . o O ( "the celebrity tell-all of the Perl-6 cult?" )
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Factory Pattern in Perl6
by hardburn (Abbot) on May 18, 2016 at 22:00 UTC | |
by raiph (Deacon) on May 19, 2016 at 21:14 UTC | |
by hardburn (Abbot) on May 20, 2016 at 20:31 UTC | |
by raiph (Deacon) on May 22, 2016 at 04:40 UTC | |
by hardburn (Abbot) on May 22, 2016 at 12:14 UTC |