On Sun, Feb 27, 2005 at 03:36:42PM -0700, Luke Palmer wrote:
But the biggest problem is that if the user overloads 'equal' on two
objects, the hash should consider them equal. We could require that to
overload 'equal', you also have to overload .hash so that you've given
some thought to the
On Sun, Feb 27, 2005 at 11:57:30PM +0100, Thomas Sandlaß wrote:
Alex Burr wrote:
[..] Actually, it would be useful sometimes
to be able to give a hash an explicit canonicalizer:
my %msdos_files is canonicalized_by lc;
my %fractions is canonicalized_by gcd;
Shouldn't that be handled
--- Andy Wardley [EMAIL PROTECTED] wrote:
Adding unicode operators to Perl will just reinforce
its reputation as
a line noise language.
Perl6, the language with *real* runes.
Come to think of it, some of the ogham runes would
look more incharacter as a 'distribute' operator than
--- Austin Hastings [EMAIL PROTECTED] wrote:
--- Luke Palmer [EMAIL PROTECTED]
wrote:
Then again, there are some very talented people
with a lot of free
time in the Perl community; I wouldn't count it
out.
That looked to me like a Damian troll, hoping that
DC would pop up
and
[EMAIL PROTECTED] (Luke Palmer) writes:
I would hope the former. However, what about this compile-time
integral power macro[1]?
macro power ($x, $p) {
if $p 0 {
{ $x * power($x, $p-1) }
}
else {
{ 1 }
}
}
That would
[EMAIL PROTECTED] (Luke Palmer) writes:
I would hope the former. However, what about this
compile-time
integral power macro[1]?
macro power ($x, $p) {
if $p 0 {
{ $x * power($x, $p-1) }
}
else {
{ 1 }
}
}
That would