Re: [Fwd: Re: Something to ponder]

2004-08-18 Thread Larry Wall
I think this is something the optimizer could use to eliminate an "ordinary" return that happens to be followed by a call to a known set of something elses. So it might well help things like switch statements and cascaded function calls and tail recursion (and maybe invocation of autoloaded functi

Re: [Fwd: Re: Something to ponder]

2004-08-18 Thread Dan Hursh
Aaron Sherman wrote: This bit comes from the p6i list, and I just thought I'd ask those in-the-know if my suggested "returntype" role/property would make sense here, or if there's another way to do it that makes more sense? For that matter, does MMD on return type map into Perl6's gestalt at all, o

[Fwd: Re: Something to ponder]

2004-08-18 Thread Aaron Sherman
This bit comes from the p6i list, and I just thought I'd ask those in-the-know if my suggested "returntype" role/property would make sense here, or if there's another way to do it that makes more sense? For that matter, does MMD on return type map into Perl6's gestalt at all, or would it be tumoro