UNPKG

788 BJavaScriptView Raw
1"use strict";
2Object.defineProperty(exports, "__esModule", { value: true });
3var index_1 = require("./index");
4index_1.List.prototype["fantasy-land/equals"] = function (l) {
5 return index_1.equals(this, l);
6};
7index_1.List.prototype["fantasy-land/map"] = function (f) {
8 return index_1.map(f, this);
9};
10index_1.List.prototype["fantasy-land/filter"] = function (predicate) {
11 return index_1.filter(predicate, this);
12};
13index_1.List.prototype["fantasy-land/empty"] = function () {
14 return index_1.empty();
15};
16index_1.List.prototype["fantasy-land/concat"] = function (right) {
17 return index_1.concat(this, right);
18};
19index_1.List.prototype["fantasy-land/reduce"] = function (f, initial) {
20 return index_1.foldl(f, initial, this);
21};
22//# sourceMappingURL=fantasy-land.js.map
\No newline at end of file