RosettaCodeData/Task/Remove-duplicate-elements/D/remove-duplicate-elements-3.d

8 lines
137 B
D

void main()
{
import std.stdio, std.algorithm, std.array;
auto a = [5,4,32,7,6,4,2,6,0,8,6,9].sort.uniq.array;
a.writeln;
}