RosettaCodeData/Task/Remove-duplicate-elements/Perl-6/remove-duplicate-elements-1.pl6

2 lines
56 B
Raku
Raw Permalink Normal View History

2015-11-18 06:14:39 +00:00
my @unique = [1, 2, 3, 5, 2, 4, 3, -3, 7, 5, 6].unique;