heavy icon indicating copy to clipboard operation
heavy copied to clipboard

array set of objects

Open lokkiikkol opened this issue 7 years ago • 2 comments

are there any thoughts to include the array objects into the heavy compiler? they superseeded the table objects and are also more powerful (sum function etc.)

lokkiikkol avatar Jul 01 '17 06:07 lokkiikkol

If we were to support objects like [array sum] I think I would first probably implement it as an abstraction wrapping around a [until] looping over a [tabread]. However we currently don't have a good way to query the length of a table from within the patch so that would have to be implemented first.

diplojocus avatar Jul 03 '17 17:07 diplojocus

this is how i do it already for my tables :-)

i just thought array sum would be more efficient.

On 3 Jul 2017, at 19:50, Joe White [email protected] wrote:

If we were to support objects like [array sum] I think I would first probably implement it as an abstraction wrapping around a [until] looping over a [tabread]. However we currently don't have a good way to query the length of a table from within the patch so that would have to be implemented first.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/enzienaudio/heavy/issues/223#issuecomment-312703288, or mute the thread https://github.com/notifications/unsubscribe-auth/AMcmb_UobwweDYF8Wt908t_83HFEdKzQks5sKSnKgaJpZM4OLOy-.

lokkiikkol avatar Jul 03 '17 20:07 lokkiikkol