Aggregate

Aggregate is a general aggregator over a data set that passes pairs of first and immediately next element of the data set to a lambda function and returns the cumulative result of lambda expression.

JavaScript (Reduce)

var totalSize = pencils.reduce((previous, current) => {
    return previous.size + current.size;
});

fuss/lambda_calculus/functional_programming/aggreagators/aggregate.txt ยท Last modified: 2022/04/19 08:28 by 127.0.0.1

Access website using Tor Access website using i2p Wizardry and Steamworks PGP Key


For the contact, copyright, license, warranty and privacy terms for the usage of this website please see the contact, license, privacy, copyright.