[REBOL] Re: Is unique buggy?
From: g:santilli:tiscalinet:it at: 13-Aug-2002 15:31
Hi Louis,
On Tuesday, August 13, 2002, 2:27:04 PM, you wrote:
LAT> PS Seems to me there should be an objects refinement for unique.
No, actually you need to use the /SKIP refinement for SORT and
UNIQUE, because you don't have just objects, but also string keys
in your block, and the order (key, object) needs to be preserved.
If keeping the keys unique is what you are after, UNIQUE/SKIP does
the job for you perfectly even with objects.
HTH,
Gabriele.
--
Gabriele Santilli <[g--santilli--tiscalinet--it]> -- REBOL Programmer
Amigan -- AGI L'Aquila -- REB: http://web.tiscali.it/rebol/index.r