Replies: 1 comment 4 replies
-
Something like:
|
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I can do postfix ones easily
Test e.g. with
But if I try to pass a reversed 'list' in, that fails due to structural matching on the reversor itself!
gives
And I don't know how to do prefix sums (more) directly, since I can't pattern match the last element of a 'list', can I?
(Prefix rather postfix sums are musically more relevant, since that's what's needed to get the start times of events/notes from their durations, e.g. in a sequencer. So prefix sums computation should probably be part of some Faust library.)
Beta Was this translation helpful? Give feedback.
All reactions