[PD] purge list of redundant numbers

Thomas O Fredericks tof at danslchamp.org
Fri Jul 6 23:29:01 CEST 2007


This solution uses coll (from the cyclone library).
It works with floats and symbols (you could even count the repetitions
with a few changes).

Tom

On 7/6/07, Nicolas Montgermont <nicolas_montgermont at yahoo.fr> wrote:
> Hello,
>
> This seems to work but the order is broken.
> I haven't test all the possibilities.
>
> Hope that helps
>
> +n
>
> mark edward grimm a écrit :
> > hello.
> >
> > ...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...
> >
> > best
> > m
> >
> >   ____________________
> >   mark edward grimm | m.f.a | ed.m
> >   megrimm.net | socialmediagroup.org & .com
> >   meg156 at columbia.edu | 585.509.8703
> >   ______________________________
> >
> >
> >
> >
> >
> > _______________________________________________
> > PD-list at iem.at mailing list
> > UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
> >
> >
>
> --
> Nicolas Montgermont
> http://nicomon.basseslumieres.org
>
> _______________________________________________
> PD-list at iem.at mailing list
> UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
>
>
>


-- 
thomas ouellet fredericks, tof at danslchamp.org, montreal, canada
-------------- next part --------------
A non-text attachment was scrubbed...
Name: list.remove.repetitions.pd
Type: application/octet-stream
Size: 638 bytes
Desc: not available
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20070706/01dd3788/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: list.remove.repetitions-help.pd
Type: application/octet-stream
Size: 241 bytes
Desc: not available
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20070706/01dd3788/attachment-0001.obj>


More information about the Pd-list mailing list