Newsgroups: perl.perl6.language
From: la...@wall.org (Larry Wall)
Date: Wed, 30 Oct 2002 09:25:21 -0800 (PST)
Local: Wed, Oct 30 2002 12:25 pm
Subject: RE: [RFC] Perl6 HyperOperator List
On Wed, 30 Oct 2002, Austin Hastings wrote: : --- Brent Dax <brent...@cpan.org> wrote: : > Buddha Buck: : > # How would you parse: : > # : > # @a = @b[[5]]; : > : > A 2D array slice, since you can't hyper numbers? : > : : It's hypering the [5]. I don't think so. We can't allow general expressions inside a hyper [] In fact, [] for hyper works for postfix and prefix operators only if we An earlier message had something like this as a hyper: @a = @b[.method]; That absolutely won't work, because [.method] is a valid subscript. @a = @b[.]method; But the general problem is just about enough to kill the whole [] For example, [undef] is a vector undef only if C<undef> is a member of I think making people remember a distinguished set of operators is a So despite the beauty of @a [+] @b I think it cannot survive in its current form. It overloads square Larry You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
| ||||||||||||||