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

8 lines
311 B
JavaScript

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.altAll = void 0;
function altAll(F) {
return function (startWith) { return function (as) { return as.reduce(function (acc, a) { return F.alt(acc, function () { return a; }); }, startWith); }; };
}
exports.altAll = altAll;