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

4 lines
191 B
JavaScript
Raw Normal View History

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