develooper Front page | perl.perl6.users | Postings from August 2020

Associative class for any key, any value

Thread Next
From:
yary
Date:
August 27, 2020 02:56
Subject:
Associative class for any key, any value
Message ID:
CAG2CFAabG_3z4hFYCNo6FwfcpcqmFKV6Btxns7Rop6r4448XPQ@mail.gmail.com
Map and its descendants like Hash relate "from *string* keys to values of
*arbitrary* types"
QuantHash and its descendants like Mix, Bag, Set "provide *object* hashes
whose values are *limited* in some way"

Is there an associative class where both the keys and values are arbitrary?

-y

Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About