Re: reduce metaoperator on an empty list

2005-05-21 Thread Edward Cherlin
On Friday 20 May 2005 08:11, "TSa (Thomas Sandlaß)" wrote: > John Macdonald wrote: > > ... (and there may be additional > > operator attributes that make sense there too, although none > > come immediately to mind). > > Well, I wonder why people neglect the fact that the > neutral/identity element

Re: reduce metaoperator on an empty list

2005-05-21 Thread Edward Cherlin
On Friday 20 May 2005 07:18, John Macdonald wrote: > Is there a built-in operator that doesn't have a meaningful > identity value? Certainly. > I first thought of exponentiation, but it has > an identity value of 1 - you just have to realize that since > it is a right associative operator, th

Re: reduce metaoperator on an empty list

2005-05-21 Thread Edward Cherlin
On Thursday 19 May 2005 20:42, Andrew Rodland wrote: > On Thursday 19 May 2005 10:51 pm, Sam Vilain wrote: > > Edward Cherlin wrote: > > > Here is the last answer from Ken Iverson, who invented > > > reduce in the 1950s, and died recently. > > > file:///usr/share/j504/system/extras/help/dictionary/

RE: Declaration of my() variables using symbolic referentiation

2005-05-21 Thread Joe Gottman
> -Original Message- > From: news [mailto:[EMAIL PROTECTED] On Behalf Of Ingo Blechschmidt > Sent: Saturday, May 21, 2005 7:22 AM > To: perl6-language@perl.org > Subject: Declaration of my() variables using symbolic referentiation > > Hi, > > am I correct in the assumption that the foll

Declaration of my() variables using symbolic referentiation

2005-05-21 Thread Ingo Blechschmidt
Hi, am I correct in the assumption that the following is an error? # Not in a BEGIN block my $::(calc_varname()) = 42; I think so, as my() is a compile-time operation, but in this example, the variable name is not known until runtime, so I think this should be forbidden. Correct?