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
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, or
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
On Sat, Aug 14, 2004 at 08:57:21AM -0700, Larry Wall wrote:
: You'll also want to make sure the zip operator (¥) gets in there,
: probably with the same precedence as == (unless we decide it's
: a scalar-only operator, in which case it can be tighter because it
: would only work on array refs).
Larry Wall skribis 2004-08-18 15:37 (-0700):
It the moment the zipper has moved to be the same precedence as comma,
because it really wants to be looser than ranges but tighter than
listops. Plus it's sort of like a »,« if you squint. I'm eagerly
awaiting my first opportunity to use the »¥«
On Sat, 14 Aug 2004, Larry Wall wrote:
To get a Perlish representation of any data value, use the C.repr
method. This will put quotes around strings, square brackets around
list values, curlies around hash values, etc., such that standard
Perl could reparse the result. XXX .repr is what
On Wed, Aug 18, 2004 at 10:02:57PM -0600, John Williams wrote:
: On Sat, 14 Aug 2004, Larry Wall wrote:
: To get a Perlish representation of any data value, use the C.repr
: method. This will put quotes around strings, square brackets around
: list values, curlies around hash values, etc.,
On 8/14/04, [EMAIL PROTECTED] (Larry Wall) wrote:
To get a Perlish representation of any data value, use the C.repr
method. This will put quotes around strings, square brackets around
list values, curlies around hash values, etc., such that standard
Perl could reparse the result. XXX .repr is