Remove duplicate elements: Difference between revisions

(Remove duplicate elements en True BASIC)
Line 217:
=={{header|APL}}==
{{works with|Dyalog APL}}
{{works with|GNU APL}}
The primitive monad ∪ means "unique", so:
<lang apl>∪ 1 2 3 1 2 3 4 1
Line 222 ⟶ 223:
 
{{works with|APL2}}
{{works with|GNU APL}}
<lang apl>w←1 2 3 1 2 3 4 1
((⍳⍨w)=⍳⍴w)/w
67

edits