Capital I in Int, to not use native type > my Int %h = A => 123
{A => 123}
-y
On Wed, Jan 15, 2020 at 6:00 PM ToddAndMargo via perl6-users <
[email protected]> wrote:
> A recent addition to my hashes keeper:
>
>
> Confining hashes:
> Note: as of 2020-01-15, confining only works with Str.
> And you must confine the entire hash, not each member
>
> my Str %h = A => "a"
> {A => a}
>
> my int %h = A => 123
> native value types for hashes not yet implemented. Sorry.
>
