Re: [PD] Couple of new list-abs
Hallo, Luke Iannini (pd) hat gesagt: // Luke Iannini (pd) wrote: [list-remove] is like list-delete, but it allows the removal of an arbitrary number of items. I like this idea. I now extended list-delete to accept a second argument and with a second inlet to do as your list-remove does. (I chose a slightyy different implementation, though.) Ciao -- Frank Barknecht _ __footils.org_ __goto10.org__ ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
[PD] Couple of new list-abs
Hi all, Here are list-remove and list-swap. [list-remove] is like list-delete, but it allows the removal of an arbitrary number of items. [list-swap] is a hybrid of list-remove and list-insert. It overwrites a portion of a list with another list of arbitrary length. I considered the name [list-overwrite]; I decided it was too long, but I'm open to suggestions. HTH, Luke list-remove-help.pd Description: Binary data list-remove.pd Description: Binary data list-swap-help.pd Description: Binary data list-swap.pd Description: Binary data ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] Couple of new list-abs
Luke Iannini (pd) wrote: [list-swap] is a hybrid of list-remove and list-insert. It overwrites a portion of a list with another list of arbitrary length. I considered the name [list-overwrite]; I decided it was too long, but I'm open to suggestions. [list-replace] would be better, I think. [list-swap] makes me thing of [swap], which does something completely different. Claude ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] Couple of new list-abs
Good point. I just had another look at [list-replace] (which already existed, and caused me to seek a new name). And in fact, it does just what my [list-swap] does... I seem to have a knack for replicating work. I somehow thought it could only truncate lists and append to them. So, the naming issue is moot : ). But I do think list-remove does something novel? Right? On 5/19/07, Claude Heiland-Allen [EMAIL PROTECTED] wrote: Luke Iannini (pd) wrote: [list-swap] is a hybrid of list-remove and list-insert. It overwrites a portion of a list with another list of arbitrary length. I considered the name [list-overwrite]; I decided it was too long, but I'm open to suggestions. [list-replace] would be better, I think. [list-swap] makes me thing of [swap], which does something completely different. Claude ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list