Front page | perl.perl6.language |
Postings from February 2005
Re: Valid hash keys?
Thread Previous
|
Thread Next
From:
Thomas Sandlaß
Date:
February 27, 2005 14:57
Subject:
Re: Valid hash keys?
Message ID:
4222505A.7090309@orthogon.com
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 by container subclasses of Hash?
Like PersitentScalar or SparseArray?
Regards,
--
TSa (Thomas Sandlaß)
Thread Previous
|
Thread Next