No, this isn't a complaint about the number of operators in Perl6.  ;-)

Rather I'd just like to throw out an idea (or two) that occurred to me today
somewhere between consciousness and the lack thereof while riding the
Skytrain.

Obviously the Perl6 community has accepted that it's possible to have
variants on operators for things like vectorization.  I'm wondering if there
would be any desire, need or room for what I have so far thought of as
"persistent" (or "Energizer Bunny") operators.  The closest analogy I can
think of is a spreadsheet formula, where when one cell is altered, any
calculations dependent on the data in that cell are recalculated.

The other thought that grew from these random neurons firing was whether or
not it would be possible to have operators that don't actually do anything
until the data they're dependent upon changes.

my $a = 0;
my $b = 9;
$a later= $b;
print "$a $b\n"
# 0 9
$b = 10;
print "$a $b\n"
# 10 10

Not sure if any of this would be even remotely useful, but this seems to be
as good a place as any to discuss wacky ideas that are of dubious value.
:-)

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.593 / Virus Database: 376 - Release Date: 20/02/2004

Reply via email to