-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 On 2014-09-30 18:16, IOhannes m zmoelnig wrote: > On 2014-09-30 17:08, Frank Barknecht wrote: >> On Tue, Sep 30, 2014 at 03:51:38PM +0200, IOhannes m zmoelnig >> wrote: >>> On 2014-09-30 12:20, Frank Barknecht wrote: >>>> I see that there now are the rather peculiar "list >>>> fromsymbol" and "list tosymbol" methods in [list], but the >>>> much needed "list foreach" still is missing. Why? >>> >>> most likely, because yo can do a [list foreach] as a simple >>> abstraction (if you don't mind another name), while you cannot >>> do a [list tosymbol]. > >> Okay, I see. But with the same logic, [list length] could be >> considered superfluous. > >> list-drip.pd, the equivalent abstraction to "list foreach" in >> the [list]-abs is the most used abstraction in the whole >> collection. Although Matju's implementation is highly optimized, >> including "list foreach" as an interal method would speed things >> up immensely. > > +1
re-reading your email, wouldn't [list cat] be the equivalent of [list drip], whereas [list foreach] is the equivalent of [list map]? in any case, i think that for performance reasons, both ought to be available as compiled objects (and for practical reasons: built-in) fgmsdr IOhannes -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBCAAGBQJUKthEAAoJELZQGcR/ejb4dtUP/21EerCqhqSWy5L/xPJq6ui4 LyqNx2bJPuP0D7rkc9vfbJ/dOH7j/KMLN5kOzMvvdneIWFlFALepsVKiPtyCy/ut Eemi4Oj8c5640oaS/7OPPPTB0iDM+i1nutNOfrfvvjAU0BsKC+N+LJJRsC4KdWJD BMQVSIKp3S66r2ZH9xdfAuJb+foOHnMNtDnkJ6B1zrlkR1gynweQuhYOgQItPrDu JeW9i+o5ni+JlzQJFRA70KaYC+qee8GK8sBZMV7d/FSwFad06IKiHM76YTiC3F3/ Yv9MK9v7+3/oKSD/UdrXmjPJTufUwLa3LQ1iWNwuxz8f3jwKzeF4i8NEDUz7P2+s KjN12GoCjofdk5MMxdoq/4C46cT2T9XQ8Af4gXmKnxNLWxFo9jYfPE3JsYbWaPIg HuvzYwtGCdOiYWhRTtU+YbowdNL+A0Vj/EC8deycCzCiK8Ag8xXljAuXNkgHeiS2 CCc7TjxBSUl/txaY+8zXKFKZtCTtuJbKLf2xwBTcSIAoTvm0wacGEP5eEHoi3DdQ AbMD/ppPLv9x4MLZ/YW+Bt0KvK1g5ZrMTtG75ahy4TRr9wJMOZFQ8rVI4VpWhFq8 taWvjL0GHZetldZsu2YwRmgwl67A/AzSa+i4SUvIiPJc/Cy97Avc56WhpxGXzGiT JC/6HfLOQE4fXzG8E3sj =Dqa1 -----END PGP SIGNATURE----- _______________________________________________ [email protected] mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
