Innovenergy_trunk/frontend/node_modules/fp-ts/es6/Alt.js

4 lines
191 B
JavaScript

export function altAll(F) {
return function (startWith) { return function (as) { return as.reduce(function (acc, a) { return F.alt(acc, function () { return a; }); }, startWith); }; };
}