UNPKG

1.41 kBJavaScriptView Raw
1"use strict";
2
3function __export(m) {
4 for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];
5}
6Object.defineProperty(exports, "__esModule", { value: true });
7var index_1 = /*#__PURE__*/require("./index");
8__export(require("./index"));
9var flOf = "fantasy-land/of";
10var flEmpty = "fantasy-land/empty";
11index_1.List.prototype["fantasy-land/equals"] = function (l) {
12 return index_1.equals(this, l);
13};
14index_1.List.prototype["fantasy-land/map"] = function (f) {
15 return index_1.map(f, this);
16};
17index_1.List.prototype[flOf] = index_1.of;
18index_1.List[flOf] = index_1.List.prototype[flOf];
19index_1.List.prototype["fantasy-land/ap"] = function (listF) {
20 return index_1.ap(listF, this);
21};
22index_1.List.prototype["fantasy-land/chain"] = function (f) {
23 return index_1.chain(f, this);
24};
25index_1.List.prototype["fantasy-land/filter"] = function (predicate) {
26 return index_1.filter(predicate, this);
27};
28index_1.List.prototype[flEmpty] = function () {
29 return index_1.empty();
30};
31index_1.List[flEmpty] = index_1.List.prototype[flEmpty];
32index_1.List.prototype["fantasy-land/concat"] = function (right) {
33 return index_1.concat(this, right);
34};
35index_1.List.prototype["fantasy-land/reduce"] = function (f, initial) {
36 return index_1.foldl(f, initial, this);
37};
38index_1.List.prototype["fantasy-land/traverse"] = function (of, f) {
39 return index_1.traverse(of, f, this);
40};
\No newline at end of file