http://qs321.pair.com?node_id=91578


in reply to (jeffa) Re: Removing Duplicates in an array?
in thread Removing Duplicates in an array?

Is it just me, or does the FAQ title 'How can I extract just the unique elements of an array?' not actually convey what the solution does accurately?

The unique elements of ("fish","bread","eggs","eggs","fish","butter") are ("bread","butter").

And as a quick golf question: how would you extract the genuinely unique elements of a list?

Tiefling

-----BEGIN GEEK CODE BLOCK----- Version: 3.1 GAT d++ s:- a-- C++ UL P++ L++(+) E? W+(++) N+ o? K w+(--) !O M- V? PS+ PE- Y PGP- t+ 5 X+ R+++ tv- b+++ DI++++ D+ G+ e++ h!(-) y +? ------END GEEK CODE BLOCK------