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