A reduce method on the array type would be very useful in situations like taking sums of things.

Submitted on 15 January 2011 at 22:50

On 16 January 2011 at 00:38 Zef Hemel commented:

Added it in this commit: https://github.com/mobl/mobl-lib/commit/15cdf9e8c38efbce3ed41953af4ff5636d746f99

Will be part of a new release. If you want to use it now. Clone the mobl-lib repo:

git clone https://github.com/mobl/mobl-lib

Then, in your project’s config.mobl, set the stdlib setting:

stdlib /absolute/path/to/mobl-lib

Then, the reduce method should be available.


On 16 January 2011 at 00:39 Zef Hemel tagged 0.3.3

On 5 March 2011 at 18:45 Zef Hemel closed this issue.

Log in to post comments