Hallo, Georg Holzmann hat gesagt: // Georg Holzmann wrote:
Hallo!
list append - append a list to another list prepend - prepend a list to another list cat - build a list by accumulating elements list serialize - spit out elements of a list one by one list first - output first n elements list last - output last n elements list length - output number of items in list list reverse - permute elements of a list back to front list pack - synonym for 'pack' list unpack - synonym for 'unpack' list selector - change selector of a list list <no args> - "prepend" the selector list to non-list messages
just some more suggestions (these objects are often the reason why I have to use externals in simple patches):
- a storage object for lists would also be useful in main-pd (like "lister"
from zexy - maybe the easiest way would be to make a 2.inlet at the "list" object (to have the same behaviour as "symbol" or "float" ...) ?
I think, "list append" would be just that. However I agree that using the plain "list" for this would feel more natural compared to the other Pd types symbol and float.
A further suggestion by me would be to maybe add a kind of combination "list first" and "list last", that is: Give "first" a second outlet wich outputs the rest of the list.
Reading through the planned actions, it might be useful to take a look at the max object [zl] which is also available in Cyclone. For those who don't know it, I attached the help file. I sometimes used it, but not too often yet to say anything about which operations would be useful to have in a Pd "list" object as well.
Another collection to consider would be the Lobjects externals for Max. PDF doc here: ftp://arts.ucsc.edu/pub/ems/lobjects/LObjs_doc.pdf
However Lobjects is a really huge collection of list operations, some of which might be better off as being implemented in externals (for now).
Ciao