Loading

UNIQUE

lists

The UNIQUE function eliminates duplicate elements on the LIST on the top of the stack. The order of the resulting LIST is not the same than the original one.

It makes elements of a list unique by converting it to a set temporarily. See () for more informations.

UNIQUE is available since version 1.0.0.

See also

Signatures

Examples

[ 'audi' 'dacia' 'dacia' 'nissan' 'mercedes' 'volvo' ] 'inputlist' STORE $inputlist UNIQUE // Returns the new list, without duplicates. Order is different. $inputlist // Original list is not modified