RosettaCodeData/Task/Remove-duplicate-elements/Maple/remove-duplicate-elements-1.maple

6 lines
198 B
Text
Raw Permalink Normal View History

2013-04-10 23:57:08 -07:00
> L := [ 1, 2, 1, 2, 3, 3, 2, 1, "a", "b", "b", "a", "c", "b" ];
L := [1, 2, 1, 2, 3, 3, 2, 1, "a", "b", "b", "a", "c", "b"]
> [op]({op}(L));
[1, 2, 3, "a", "b", "c"]