1 | "use strict";
|
2 |
|
3 | function __export(m) {
|
4 | for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];
|
5 | }
|
6 | Object.defineProperty(exports, "__esModule", { value: true });
|
7 | var fantasy_land_1 = require("./fantasy-land");
|
8 | var L = require("./fantasy-land");
|
9 | __export(require("./index"));
|
10 | fantasy_land_1.List.prototype.append = function (value) {
|
11 | return L.append(value, this);
|
12 | };
|
13 | fantasy_land_1.List.prototype.nth = function (index) {
|
14 | return L.nth(index, this);
|
15 | };
|
16 | fantasy_land_1.List.prototype.empty = function () {
|
17 | return L.empty();
|
18 | };
|
19 | fantasy_land_1.List.prototype.of = function (b) {
|
20 | return L.of(b);
|
21 | };
|
22 | fantasy_land_1.List.prototype.prepend = function (value) {
|
23 | return L.prepend(value, this);
|
24 | };
|
25 | fantasy_land_1.List.prototype.append = function (value) {
|
26 | return L.append(value, this);
|
27 | };
|
28 | fantasy_land_1.List.prototype.first = function () {
|
29 | return L.first(this);
|
30 | };
|
31 | fantasy_land_1.List.prototype.last = function () {
|
32 | return L.last(this);
|
33 | };
|
34 | fantasy_land_1.List.prototype.map = function (f) {
|
35 | return L.map(f, this);
|
36 | };
|
37 | fantasy_land_1.List.prototype.pluck = function (key) {
|
38 | return L.pluck(key, this);
|
39 | };
|
40 | fantasy_land_1.List.prototype.foldl = function foldl(f, initial) {
|
41 | return L.foldl(f, initial, this);
|
42 | };
|
43 | fantasy_land_1.List.prototype.reduce = fantasy_land_1.List.prototype.foldl;
|
44 | fantasy_land_1.List.prototype.foldr = function (f, initial) {
|
45 | return L.foldr(f, initial, this);
|
46 | };
|
47 | fantasy_land_1.List.prototype.reduceRight = fantasy_land_1.List.prototype.foldr;
|
48 | fantasy_land_1.List.prototype.forEach = function (callback) {
|
49 | return L.forEach(callback, this);
|
50 | };
|
51 | fantasy_land_1.List.prototype.filter = function (predicate) {
|
52 | return L.filter(predicate, this);
|
53 | };
|
54 | fantasy_land_1.List.prototype.reject = function (predicate) {
|
55 | return L.reject(predicate, this);
|
56 | };
|
57 | fantasy_land_1.List.prototype.partition = function (predicate) {
|
58 | return L.partition(predicate, this);
|
59 | };
|
60 | fantasy_land_1.List.prototype.join = function (separator) {
|
61 | return L.join(separator, this);
|
62 | };
|
63 | fantasy_land_1.List.prototype.ap = function (listF) {
|
64 | return L.ap(listF, this);
|
65 | };
|
66 | fantasy_land_1.List.prototype.flatten = function () {
|
67 | return L.flatten(this);
|
68 | };
|
69 | fantasy_land_1.List.prototype.chain = function (f) {
|
70 | return L.chain(f, this);
|
71 | };
|
72 | fantasy_land_1.List.prototype.every = function (predicate) {
|
73 | return L.every(predicate, this);
|
74 | };
|
75 | fantasy_land_1.List.prototype.some = function (predicate) {
|
76 | return L.some(predicate, this);
|
77 | };
|
78 | fantasy_land_1.List.prototype.none = function (predicate) {
|
79 | return L.none(predicate, this);
|
80 | };
|
81 | fantasy_land_1.List.prototype.indexOf = function (element) {
|
82 | return L.indexOf(element, this);
|
83 | };
|
84 | fantasy_land_1.List.prototype.find = function find(predicate) {
|
85 | return L.find(predicate, this);
|
86 | };
|
87 | fantasy_land_1.List.prototype.findIndex = function (predicate) {
|
88 | return L.findIndex(predicate, this);
|
89 | };
|
90 | fantasy_land_1.List.prototype.includes = function (element) {
|
91 | return L.includes(element, this);
|
92 | };
|
93 | fantasy_land_1.List.prototype.equals = function (secondList) {
|
94 | return L.equals(this, secondList);
|
95 | };
|
96 | fantasy_land_1.List.prototype.concat = function (right) {
|
97 | return L.concat(this, right);
|
98 | };
|
99 | fantasy_land_1.List.prototype.update = function (index, a) {
|
100 | return L.update(index, a, this);
|
101 | };
|
102 | fantasy_land_1.List.prototype.adjust = function (index, f) {
|
103 | return L.adjust(index, f, this);
|
104 | };
|
105 | fantasy_land_1.List.prototype.slice = function (from, to) {
|
106 | return L.slice(from, to, this);
|
107 | };
|
108 | fantasy_land_1.List.prototype.take = function (n) {
|
109 | return L.take(n, this);
|
110 | };
|
111 | fantasy_land_1.List.prototype.takeWhile = function (predicate) {
|
112 | return L.takeWhile(predicate, this);
|
113 | };
|
114 | fantasy_land_1.List.prototype.takeLast = function (n) {
|
115 | return L.takeLast(n, this);
|
116 | };
|
117 | fantasy_land_1.List.prototype.splitAt = function (index) {
|
118 | return L.splitAt(index, this);
|
119 | };
|
120 | fantasy_land_1.List.prototype.remove = function (from, amount) {
|
121 | return L.remove(from, amount, this);
|
122 | };
|
123 | fantasy_land_1.List.prototype.drop = function (n) {
|
124 | return L.drop(n, this);
|
125 | };
|
126 | fantasy_land_1.List.prototype.dropWhile = function (predicate) {
|
127 | return L.dropWhile(predicate, this);
|
128 | };
|
129 | fantasy_land_1.List.prototype.dropLast = function (n) {
|
130 | return L.dropLast(n, this);
|
131 | };
|
132 | fantasy_land_1.List.prototype.pop = function () {
|
133 | return L.pop(this);
|
134 | };
|
135 | fantasy_land_1.List.prototype.tail = function () {
|
136 | return L.tail(this);
|
137 | };
|
138 | fantasy_land_1.List.prototype.toArray = function () {
|
139 | return L.toArray(this);
|
140 | };
|
141 | fantasy_land_1.List.prototype.insert = function (index, element) {
|
142 | return L.insert(index, element, this);
|
143 | };
|
144 | fantasy_land_1.List.prototype.insertAll = function (index, elements) {
|
145 | return L.insertAll(index, elements, this);
|
146 | };
|
147 | fantasy_land_1.List.prototype.reverse = function () {
|
148 | return L.reverse(this);
|
149 | };
|
150 | fantasy_land_1.List.prototype.zipWith = function (f, bs) {
|
151 | return L.zipWith(f, this, bs);
|
152 | };
|
153 | fantasy_land_1.List.prototype.zip = function (bs) {
|
154 | return L.zip(this, bs);
|
155 | };
|
156 | fantasy_land_1.List.prototype.sort = function () {
|
157 | return L.sort(this);
|
158 | };
|
159 | fantasy_land_1.List.prototype.sortWith = function (comparator) {
|
160 | return L.sortWith(comparator, this);
|
161 | };
|
162 | fantasy_land_1.List.prototype.sortBy = function (f) {
|
163 | return L.sortBy(f, this);
|
164 | };
|
165 |
|
\ | No newline at end of file |