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: 2017/03/07 09:36 by office

Access website using Tor Access website using i2p


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