6 lines
93 B
Raku
6 lines
93 B
Raku
my %x = foo => 0, bar => [0, 1];
|
|
my %y = %x.deepmap(*.clone);
|
|
|
|
%x<bar>[1]++;
|
|
say %x;
|
|
say %y;
|