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.