[REBOL] Re: Is unique buggy?
From: louisaturk:coxinet at: 13-Aug-2002 14:30
Hi Gabriele,
At 03:31 PM 8/13/2002 +0200, you wrote:
>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.
Thanks!. I had totally forgotten about the keys. Using skip works.
Louis