Skip to content

v0.17.0-alpha

Pre-release
Pre-release
Compare
Choose a tag to compare
@sdclibbery sdclibbery released this 24 Apr 07:10
· 53 commits to master since this release

Cannot always map a function call with lookup operator; eg: (1.5,2.5).floor. Previously, this would evaluate to (1,2) as the floor function was applied to each element of the chord.

However, now the floor function will be evaluated, then the result used to index into the chord. floor on its own evaluates to zero,.

To get the same behaviour as before, call the function with the chord instead: floor{(1.5,2.5)}.

This change was made to allow the new time and rand functions to be used to index into chords. Note that aggregators still work with lookup, so for example (1,2).max still returns 2 as expected.