This website requires JavaScript.
Explore
Help
Sign In
mirror
/
RosettaCodeData
mirror of
https://github.com/acmeism/RosettaCodeData.git
Watch
1
Star
0
Fork
You've already forked RosettaCodeData
0
Code
Issues
Packages
Projects
Releases
Wiki
Activity
master
RosettaCodeData
/
Task
/
Deepcopy
/
Perl-6
/
deepcopy-1.pl6
7 lines
93 B
Raku
Raw
Permalink
Blame
History
my
%x
=
foo
=>
0
,
bar
=>
[
0
,
1
]
;
my
%y
=
%x
.
deepmap
(
*
.
clone
)
;
%x
<
bar
>
[
1
]
++
;
say
%x
;
say
%y
;
Reference in New Issue
View Git Blame
Copy Permalink