Yep that's it, thanks!
> my Any %h{ Any };
> %h{ 22 } = "foo"; %h{ "22" } = IO; %h{ IO } = sub { ... };
> %h.kv.raku;
(IO, sub { ... }, 22, "foo", "22", IO).Seq
-y
On Wed, Aug 26, 2020 at 8:04 PM Brad Gilbert wrote:
>
> On Wed, Aug 26, 2020 at 9:56 PM yary wrote:
>
>> Map and its
On Wed, Aug 26, 2020 at 9:56 PM yary wrote:
> 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
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