[PD] purge list of redundant numbers

Frank Barknecht fbar at footils.org
Fri Jul 6 23:41:33 CEST 2007


Hallo,
mark edward grimm hat gesagt: // mark edward grimm wrote:

> ...just looking for a way to purge a list of
> redundancy such that if i have in my list:
> 
> 54 63 54 76 63 89 71 93 89
> 
> i could take out (1) 54, 63, and 89 to get the list:
> 
> 54 63 76 89 71 93
> 
> i was looking at franks '[list]-abs' but didn't see
> anything that might do this...

I think, the [zl] external has an operation for this called IIRC "zl
union" or so, don't know exactly ATM.

I guess, the operation would make a good addition to the [list]-abs,
maybe I'll make one tomorrow involving [list-find] and [list-filter]
(hint, hint).

Ciao
-- 
 Frank Barknecht                 _ ______footils.org_ __goto10.org__




More information about the Pd-list mailing list