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 fantasy_land_1 = require("./fantasy-land");
|
7 | var L = require("./fantasy-land");
|
8 | __export(require("./index"));
|
9 | fantasy_land_1.List.prototype.append = function (value) {
|
10 | return L.append(value, this);
|
11 | };
|
12 | fantasy_land_1.List.prototype.intersperse = function (separator) {
|
13 | return L.intersperse(separator, this);
|
14 | };
|
15 | fantasy_land_1.List.prototype.nth = function (index) {
|
16 | return L.nth(index, this);
|
17 | };
|
18 | fantasy_land_1.List.prototype.empty = function () {
|
19 | return L.empty();
|
20 | };
|
21 | fantasy_land_1.List.prototype.of = function (b) {
|
22 | return L.of(b);
|
23 | };
|
24 | fantasy_land_1.List.prototype.prepend = function (value) {
|
25 | return L.prepend(value, this);
|
26 | };
|
27 | fantasy_land_1.List.prototype.append = function (value) {
|
28 | return L.append(value, this);
|
29 | };
|
30 | fantasy_land_1.List.prototype.first = function () {
|
31 | return L.first(this);
|
32 | };
|
33 | fantasy_land_1.List.prototype.head = fantasy_land_1.List.prototype.first;
|
34 | fantasy_land_1.List.prototype.last = function () {
|
35 | return L.last(this);
|
36 | };
|
37 | fantasy_land_1.List.prototype.map = function (f) {
|
38 | return L.map(f, this);
|
39 | };
|
40 | fantasy_land_1.List.prototype.pluck = function (key) {
|
41 | return L.pluck(key, this);
|
42 | };
|
43 | fantasy_land_1.List.prototype.foldl = function foldl(f, initial) {
|
44 | return L.foldl(f, initial, this);
|
45 | };
|
46 | fantasy_land_1.List.prototype.reduce = fantasy_land_1.List.prototype.foldl;
|
47 | fantasy_land_1.List.prototype.scan = function scan(f, initial) {
|
48 | return L.scan(f, initial, this);
|
49 | };
|
50 | fantasy_land_1.List.prototype.foldr = function (f, initial) {
|
51 | return L.foldr(f, initial, this);
|
52 | };
|
53 | fantasy_land_1.List.prototype.reduceRight = fantasy_land_1.List.prototype.foldr;
|
54 | fantasy_land_1.List.prototype.foldlWhile = function foldlWhile(predicate, f, initial) {
|
55 | return L.foldlWhile(predicate, f, initial, this);
|
56 | };
|
57 | fantasy_land_1.List.prototype.reduceWhile = fantasy_land_1.List.prototype.foldlWhile;
|
58 | fantasy_land_1.List.prototype.traverse = function (of, f) {
|
59 | return L.traverse(of, f, this);
|
60 | };
|
61 | fantasy_land_1.List.prototype.sequence = function (of) {
|
62 | return L.sequence(of, this);
|
63 | };
|
64 | fantasy_land_1.List.prototype.forEach = function (callback) {
|
65 | return L.forEach(callback, this);
|
66 | };
|
67 | fantasy_land_1.List.prototype.filter = function (predicate) {
|
68 | return L.filter(predicate, this);
|
69 | };
|
70 | fantasy_land_1.List.prototype.reject = function (predicate) {
|
71 | return L.reject(predicate, this);
|
72 | };
|
73 | fantasy_land_1.List.prototype.partition = function (predicate) {
|
74 | return L.partition(predicate, this);
|
75 | };
|
76 | fantasy_land_1.List.prototype.join = function (separator) {
|
77 | return L.join(separator, this);
|
78 | };
|
79 | fantasy_land_1.List.prototype.ap = function (listF) {
|
80 | return L.ap(listF, this);
|
81 | };
|
82 | fantasy_land_1.List.prototype.flatten = function () {
|
83 | return L.flatten(this);
|
84 | };
|
85 | fantasy_land_1.List.prototype.flatMap = function (f) {
|
86 | return L.flatMap(f, this);
|
87 | };
|
88 | fantasy_land_1.List.prototype.chain = fantasy_land_1.List.prototype.flatMap;
|
89 | fantasy_land_1.List.prototype.every = function (predicate) {
|
90 | return L.every(predicate, this);
|
91 | };
|
92 | fantasy_land_1.List.prototype.some = function (predicate) {
|
93 | return L.some(predicate, this);
|
94 | };
|
95 | fantasy_land_1.List.prototype.none = function (predicate) {
|
96 | return L.none(predicate, this);
|
97 | };
|
98 | fantasy_land_1.List.prototype.indexOf = function (element) {
|
99 | return L.indexOf(element, this);
|
100 | };
|
101 | fantasy_land_1.List.prototype.lastIndexOf = function (element) {
|
102 | return L.lastIndexOf(element, this);
|
103 | };
|
104 | fantasy_land_1.List.prototype.find = function find(predicate) {
|
105 | return L.find(predicate, this);
|
106 | };
|
107 | fantasy_land_1.List.prototype.findLast = function findLast(predicate) {
|
108 | return L.findLast(predicate, this);
|
109 | };
|
110 | fantasy_land_1.List.prototype.findIndex = function (predicate) {
|
111 | return L.findIndex(predicate, this);
|
112 | };
|
113 | fantasy_land_1.List.prototype.includes = function (element) {
|
114 | return L.includes(element, this);
|
115 | };
|
116 | fantasy_land_1.List.prototype.equals = function (secondList) {
|
117 | return L.equals(this, secondList);
|
118 | };
|
119 | fantasy_land_1.List.prototype.equalsWith = function (f, secondList) {
|
120 | return L.equalsWith(f, this, secondList);
|
121 | };
|
122 | fantasy_land_1.List.prototype.concat = function (right) {
|
123 | return L.concat(this, right);
|
124 | };
|
125 | fantasy_land_1.List.prototype.update = function (index, a) {
|
126 | return L.update(index, a, this);
|
127 | };
|
128 | fantasy_land_1.List.prototype.adjust = function (index, f) {
|
129 | return L.adjust(index, f, this);
|
130 | };
|
131 | fantasy_land_1.List.prototype.slice = function (from, to) {
|
132 | return L.slice(from, to, this);
|
133 | };
|
134 | fantasy_land_1.List.prototype.take = function (n) {
|
135 | return L.take(n, this);
|
136 | };
|
137 | fantasy_land_1.List.prototype.takeWhile = function (predicate) {
|
138 | return L.takeWhile(predicate, this);
|
139 | };
|
140 | fantasy_land_1.List.prototype.takeLast = function (n) {
|
141 | return L.takeLast(n, this);
|
142 | };
|
143 | fantasy_land_1.List.prototype.takeLastWhile = function (predicate) {
|
144 | return L.takeLastWhile(predicate, this);
|
145 | };
|
146 | fantasy_land_1.List.prototype.splitAt = function (index) {
|
147 | return L.splitAt(index, this);
|
148 | };
|
149 | fantasy_land_1.List.prototype.splitWhen = function (predicate) {
|
150 | return L.splitWhen(predicate, this);
|
151 | };
|
152 | fantasy_land_1.List.prototype.splitEvery = function (size) {
|
153 | return L.splitEvery(size, this);
|
154 | };
|
155 | fantasy_land_1.List.prototype.remove = function (from, amount) {
|
156 | return L.remove(from, amount, this);
|
157 | };
|
158 | fantasy_land_1.List.prototype.drop = function (n) {
|
159 | return L.drop(n, this);
|
160 | };
|
161 | fantasy_land_1.List.prototype.dropWhile = function (predicate) {
|
162 | return L.dropWhile(predicate, this);
|
163 | };
|
164 | fantasy_land_1.List.prototype.dropRepeats = function () {
|
165 | return L.dropRepeats(this);
|
166 | };
|
167 | fantasy_land_1.List.prototype.dropRepeatsWith = function (predicate) {
|
168 | return L.dropRepeatsWith(predicate, this);
|
169 | };
|
170 | fantasy_land_1.List.prototype.dropLast = function (n) {
|
171 | return L.dropLast(n, this);
|
172 | };
|
173 | fantasy_land_1.List.prototype.pop = function () {
|
174 | return L.pop(this);
|
175 | };
|
176 | fantasy_land_1.List.prototype.tail = function () {
|
177 | return L.tail(this);
|
178 | };
|
179 | fantasy_land_1.List.prototype.toArray = function () {
|
180 | return L.toArray(this);
|
181 | };
|
182 | fantasy_land_1.List.prototype.insert = function (index, element) {
|
183 | return L.insert(index, element, this);
|
184 | };
|
185 | fantasy_land_1.List.prototype.insertAll = function (index, elements) {
|
186 | return L.insertAll(index, elements, this);
|
187 | };
|
188 | fantasy_land_1.List.prototype.reverse = function () {
|
189 | return L.reverse(this);
|
190 | };
|
191 | fantasy_land_1.List.prototype.backwards = function () {
|
192 | return L.backwards(this);
|
193 | };
|
194 | fantasy_land_1.List.prototype.zipWith = function (f, bs) {
|
195 | return L.zipWith(f, this, bs);
|
196 | };
|
197 | fantasy_land_1.List.prototype.zip = function (bs) {
|
198 | return L.zip(this, bs);
|
199 | };
|
200 | fantasy_land_1.List.prototype.sort = function () {
|
201 | return L.sort(this);
|
202 | };
|
203 | fantasy_land_1.List.prototype.sortWith = function (comparator) {
|
204 | return L.sortWith(comparator, this);
|
205 | };
|
206 | fantasy_land_1.List.prototype.sortBy = function (f) {
|
207 | return L.sortBy(f, this);
|
208 | };
|
209 | fantasy_land_1.List.prototype.group = function () {
|
210 | return L.group(this);
|
211 | };
|
212 | fantasy_land_1.List.prototype.groupWith = function (f) {
|
213 | return L.groupWith(f, this);
|
214 | };
|
215 | fantasy_land_1.List.prototype.isEmpty = function () {
|
216 | return L.isEmpty(this);
|
217 | };
|