effect 2.0.0-next.1 → 2.0.0-next.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Debug.d.ts +5 -0
- package/Debug.d.ts.map +1 -1
- package/Debug.js.map +1 -1
- package/Differ.d.ts +59 -5
- package/Differ.d.ts.map +1 -1
- package/Differ.js +10 -10
- package/Differ.js.map +1 -1
- package/Fiber.d.ts +49 -4
- package/Fiber.d.ts.map +1 -1
- package/Fiber.js +8 -8
- package/Fiber.js.map +1 -1
- package/FiberRefs.d.ts +19 -1
- package/FiberRefs.d.ts.map +1 -1
- package/FiberRefs.js +2 -2
- package/FiberRefs.js.map +1 -1
- package/Logger.d.ts +31 -0
- package/Logger.d.ts.map +1 -0
- package/Logger.js +29 -0
- package/Logger.js.map +1 -0
- package/Metric.d.ts +99 -9
- package/Metric.d.ts.map +1 -1
- package/Metric.js +18 -18
- package/Metric.js.map +1 -1
- package/Optic.d.ts +62 -0
- package/Optic.d.ts.map +1 -0
- package/Optic.js +70 -0
- package/Optic.js.map +1 -0
- package/README.md +1 -1
- package/Ref.d.ts +29 -2
- package/Ref.d.ts.map +1 -1
- package/Ref.js +4 -4
- package/Ref.js.map +1 -1
- package/Schedule.d.ts +39 -3
- package/Schedule.d.ts.map +1 -1
- package/Schedule.js +6 -6
- package/Schedule.js.map +1 -1
- package/_mjs/Debug.mjs +5 -0
- package/_mjs/Debug.mjs.map +1 -1
- package/_mjs/Differ.mjs +59 -10
- package/_mjs/Differ.mjs.map +1 -1
- package/_mjs/Fiber.mjs +49 -8
- package/_mjs/Fiber.mjs.map +1 -1
- package/_mjs/FiberRefs.mjs +19 -2
- package/_mjs/FiberRefs.mjs.map +1 -1
- package/_mjs/Logger.mjs +31 -0
- package/_mjs/Logger.mjs.map +1 -0
- package/_mjs/Metric.mjs +99 -18
- package/_mjs/Metric.mjs.map +1 -1
- package/_mjs/Optic.mjs +62 -0
- package/_mjs/Optic.mjs.map +1 -0
- package/_mjs/Ref.mjs +29 -4
- package/_mjs/Ref.mjs.map +1 -1
- package/_mjs/Schedule.mjs +39 -6
- package/_mjs/Schedule.mjs.map +1 -1
- package/_mjs/index.mjs +490 -1
- package/_mjs/index.mjs.map +1 -1
- package/index.d.ts +490 -1
- package/index.d.ts.map +1 -1
- package/index.js +7 -3
- package/index.js.map +1 -1
- package/package.json +6 -5
package/index.d.ts
CHANGED
|
@@ -1,5 +1,29 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @since 2.0.0
|
|
3
|
+
*
|
|
4
|
+
* The Effect Ecosystem Package
|
|
5
|
+
*
|
|
6
|
+
* To be used as a prelude when developing apps, it includes
|
|
7
|
+
* a selected portion of ecosystem packages that have been identified
|
|
8
|
+
* as the most common needed in most of the apps regardless
|
|
9
|
+
* of the runtime (Node, Browser, Deno, Bun, etc).
|
|
10
|
+
*
|
|
11
|
+
* The user is expected to further install and use additional libraries
|
|
12
|
+
* such as "@effect/node" to integrate with specific runtimes and / or
|
|
13
|
+
* frameworks such as "@effect/express".
|
|
14
|
+
*
|
|
15
|
+
* Includes modules from:
|
|
16
|
+
*
|
|
17
|
+
* - "@fp-ts/core"
|
|
18
|
+
* - "@fp-ts/data"
|
|
19
|
+
* - "@fp-ts/schema" (tbd)
|
|
20
|
+
* - "@fp-ts/optic"
|
|
21
|
+
* - "@effect/io"
|
|
22
|
+
* - "@effect/stm" (tbd)
|
|
23
|
+
* - "@effect/stream" (tbd)
|
|
24
|
+
*
|
|
25
|
+
* Note: don't use this package when developing libraries, prefer targeting
|
|
26
|
+
* individual dependencies.
|
|
3
27
|
*/
|
|
4
28
|
import * as Cached from "@effect/io/Cached";
|
|
5
29
|
import * as Cause from "@effect/io/Cause";
|
|
@@ -12,7 +36,6 @@ import * as Exit from "@effect/io/Exit";
|
|
|
12
36
|
import * as FiberRef from "@effect/io/FiberRef";
|
|
13
37
|
import * as Hub from "@effect/io/Hub";
|
|
14
38
|
import * as Layer from "@effect/io/Layer";
|
|
15
|
-
import * as Logger from "@effect/io/Logger";
|
|
16
39
|
import * as Queue from "@effect/io/Queue";
|
|
17
40
|
import * as Random from "@effect/io/Random";
|
|
18
41
|
import * as Reloadable from "@effect/io/Reloadable";
|
|
@@ -74,6 +97,7 @@ import * as Predicate from "@fp-ts/data/Predicate";
|
|
|
74
97
|
import * as ImmutableQueue from "@fp-ts/data/Queue";
|
|
75
98
|
import * as PCGRandom from "@fp-ts/data/Random";
|
|
76
99
|
import * as ReadonlyArray from "@fp-ts/data/ReadonlyArray";
|
|
100
|
+
import * as RedBlackTree from "@fp-ts/data/RedBlackTree";
|
|
77
101
|
import * as SortedMap from "@fp-ts/data/SortedMap";
|
|
78
102
|
import * as SortedSet from "@fp-ts/data/SortedSet";
|
|
79
103
|
import * as String from "@fp-ts/data/String";
|
|
@@ -83,364 +107,829 @@ import * as Seq from "@fp-ts/data/typeclass/Seq";
|
|
|
83
107
|
import * as Differ from "effect/Differ";
|
|
84
108
|
import * as Fiber from "effect/Fiber";
|
|
85
109
|
import * as FiberRefs from "effect/FiberRefs";
|
|
110
|
+
import * as Logger from "effect/Logger";
|
|
86
111
|
import * as Metric from "effect/Metric";
|
|
112
|
+
import * as Optic from "effect/Optic";
|
|
87
113
|
import * as Ref from "effect/Ref";
|
|
88
114
|
import * as Schedule from "effect/Schedule";
|
|
89
115
|
export {
|
|
90
116
|
/**
|
|
91
117
|
* @since 2.0.0
|
|
118
|
+
*
|
|
119
|
+
* ```md
|
|
120
|
+
* - Docs: https://fp-ts.github.io/data/modules/Function.ts.html#absurd
|
|
121
|
+
* - Module: "@fp-ts/data/Function"
|
|
122
|
+
* ```
|
|
92
123
|
*/
|
|
93
124
|
absurd,
|
|
94
125
|
/**
|
|
95
126
|
* @since 2.0.0
|
|
127
|
+
*
|
|
128
|
+
* ```md
|
|
129
|
+
* - Docs: https://fp-ts.github.io/core/modules/typeclass/Alternative.ts.html
|
|
130
|
+
* - Module: "@fp-ts/core/typeclass/Alternative"
|
|
131
|
+
* ```
|
|
96
132
|
*/
|
|
97
133
|
Alternative,
|
|
98
134
|
/**
|
|
99
135
|
* @since 2.0.0
|
|
136
|
+
*
|
|
137
|
+
* ```md
|
|
138
|
+
* - Docs: https://fp-ts.github.io/core/modules/typeclass/Applicative.ts.html
|
|
139
|
+
* - Module: "@fp-ts/core/typeclass/Applicative"
|
|
140
|
+
* ```
|
|
100
141
|
*/
|
|
101
142
|
Applicative,
|
|
102
143
|
/**
|
|
103
144
|
* @since 2.0.0
|
|
145
|
+
*
|
|
146
|
+
* ```md
|
|
147
|
+
* - Docs: https://fp-ts.github.io/core/modules/typeclass/Bicovariant.ts.html
|
|
148
|
+
* - Module: "@fp-ts/core/typeclass/Bicovariant"
|
|
149
|
+
* ```
|
|
104
150
|
*/
|
|
105
151
|
Bicovariant,
|
|
106
152
|
/**
|
|
107
153
|
* @since 2.0.0
|
|
154
|
+
*
|
|
155
|
+
* ```md
|
|
156
|
+
* - Docs: https://fp-ts.github.io/data/modules/Boolean.ts.html
|
|
157
|
+
* - Module: "@fp-ts/data/Boolean"
|
|
158
|
+
* ```
|
|
108
159
|
*/
|
|
109
160
|
Boolean,
|
|
110
161
|
/**
|
|
111
162
|
* @since 2.0.0
|
|
163
|
+
*
|
|
164
|
+
* ```md
|
|
165
|
+
* - Docs: https://fp-ts.github.io/core/modules/typeclass/Bounded.ts.html
|
|
166
|
+
* - Module: "@fp-ts/core/typeclass/Bounded"
|
|
167
|
+
* ```
|
|
112
168
|
*/
|
|
113
169
|
Bounded,
|
|
114
170
|
/**
|
|
115
171
|
* @since 2.0.0
|
|
172
|
+
*
|
|
173
|
+
* ```md
|
|
174
|
+
* - Docs: https://effect-ts.github.io/io/modules/Cached.ts.html
|
|
175
|
+
* - Module: "@effect/io/Cached"
|
|
176
|
+
* ```
|
|
116
177
|
*/
|
|
117
178
|
Cached,
|
|
118
179
|
/**
|
|
119
180
|
* @since 2.0.0
|
|
181
|
+
*
|
|
182
|
+
* ```md
|
|
183
|
+
* - Docs: https://effect-ts.github.io/io/modules/Cause.ts.html
|
|
184
|
+
* - Module: "@effect/io/Cause"
|
|
185
|
+
* ```
|
|
120
186
|
*/
|
|
121
187
|
Cause,
|
|
122
188
|
/**
|
|
123
189
|
* @since 2.0.0
|
|
190
|
+
*
|
|
191
|
+
* ```md
|
|
192
|
+
* - Docs: https://fp-ts.github.io/core/modules/typeclass/Chainable.ts.html
|
|
193
|
+
* - Module: "@fp-ts/core/typeclass/Chainable"
|
|
194
|
+
* ```
|
|
124
195
|
*/
|
|
125
196
|
Chainable,
|
|
126
197
|
/**
|
|
127
198
|
* @since 2.0.0
|
|
199
|
+
*
|
|
200
|
+
* ```md
|
|
201
|
+
* - Docs: https://fp-ts.github.io/data/modules/Chunk.ts.html
|
|
202
|
+
* - Module: "@fp-ts/data/Chunk"
|
|
203
|
+
* ```
|
|
128
204
|
*/
|
|
129
205
|
Chunk,
|
|
130
206
|
/**
|
|
131
207
|
* @since 2.0.0
|
|
208
|
+
*
|
|
209
|
+
* ```md
|
|
210
|
+
* - Docs: https://effect-ts.github.io/io/modules/Clock.ts.html
|
|
211
|
+
* - Module: "@effect/io/Clock"
|
|
212
|
+
* ```
|
|
132
213
|
*/
|
|
133
214
|
Clock,
|
|
134
215
|
/**
|
|
135
216
|
* @since 2.0.0
|
|
217
|
+
*
|
|
218
|
+
* ```md
|
|
219
|
+
* - Docs: https://fp-ts.github.io/core/modules/typeclass/Compactable.ts.html
|
|
220
|
+
* - Module: "@fp-ts/core/typeclass/Compactable"
|
|
221
|
+
* ```
|
|
136
222
|
*/
|
|
137
223
|
Compactable,
|
|
138
224
|
/**
|
|
139
225
|
* @since 2.0.0
|
|
226
|
+
*
|
|
227
|
+
* ```md
|
|
228
|
+
* - Docs: https://fp-ts.github.io/data/modules/Context.ts.html
|
|
229
|
+
* - Module: "@fp-ts/data/Context"
|
|
230
|
+
* ```
|
|
140
231
|
*/
|
|
141
232
|
Context,
|
|
142
233
|
/**
|
|
143
234
|
* @since 2.0.0
|
|
235
|
+
*
|
|
236
|
+
* ```md
|
|
237
|
+
* - Docs: https://fp-ts.github.io/core/modules/typeclass/Contravatiant.ts.html
|
|
238
|
+
* - Module: "@fp-ts/core/typeclass/Contravariant"
|
|
239
|
+
* ```
|
|
144
240
|
*/
|
|
145
241
|
Contravariant,
|
|
146
242
|
/**
|
|
147
243
|
* @since 2.0.0
|
|
244
|
+
*
|
|
245
|
+
* ```md
|
|
246
|
+
* - Docs: https://fp-ts.github.io/core/modules/typeclass/Coproduct.ts.html
|
|
247
|
+
* - Module: "@fp-ts/core/typeclass/Coproduct"
|
|
248
|
+
* ```
|
|
148
249
|
*/
|
|
149
250
|
Coproduct,
|
|
150
251
|
/**
|
|
151
252
|
* @since 2.0.0
|
|
253
|
+
*
|
|
254
|
+
* ```md
|
|
255
|
+
* - Docs: https://fp-ts.github.io/core/modules/typeclass/Covariant.ts.html
|
|
256
|
+
* - Module: "@fp-ts/core/typeclass/Covariant"
|
|
257
|
+
* ```
|
|
152
258
|
*/
|
|
153
259
|
Covariant,
|
|
154
260
|
/**
|
|
155
261
|
* @since 2.0.0
|
|
262
|
+
*
|
|
263
|
+
* ```md
|
|
264
|
+
* - Docs: https://fp-ts.github.io/data/modules/typeclass/ContravatiantWithIndex.ts.html
|
|
265
|
+
* - Module: "@fp-ts/data/typeclass/ContravariantWithIndex"
|
|
266
|
+
* ```
|
|
156
267
|
*/
|
|
157
268
|
CovariantWithIndex,
|
|
158
269
|
/**
|
|
159
270
|
* @since 2.0.0
|
|
271
|
+
*
|
|
272
|
+
* ```md
|
|
273
|
+
* - Docs: https://effect-ts.github.io/io/modules/DefaultServices.ts.html
|
|
274
|
+
* - Module: "@effect/io/DefaultServices"
|
|
275
|
+
* ```
|
|
160
276
|
*/
|
|
161
277
|
DefaultServices,
|
|
162
278
|
/**
|
|
163
279
|
* @since 2.0.0
|
|
280
|
+
*
|
|
281
|
+
* ```md
|
|
282
|
+
* - Docs: https://effect-ts.github.io/io/modules/Deferred.ts.html
|
|
283
|
+
* - Module: "@effect/io/Deferred"
|
|
284
|
+
* ```
|
|
164
285
|
*/
|
|
165
286
|
Deferred,
|
|
166
287
|
/**
|
|
167
288
|
* @since 2.0.0
|
|
289
|
+
*
|
|
290
|
+
* ```md
|
|
291
|
+
* - Docs: https://fp-ts.github.io/data/modules/Differ.ts.html
|
|
292
|
+
* - Module: "@fp-ts/data/Differ"
|
|
293
|
+
* ```
|
|
168
294
|
*/
|
|
169
295
|
Differ,
|
|
170
296
|
/**
|
|
171
297
|
* @since 2.0.0
|
|
298
|
+
*
|
|
299
|
+
* ```md
|
|
300
|
+
* - Docs: https://fp-ts.github.io/data/modules/Duration.ts.html
|
|
301
|
+
* - Module: "@fp-ts/data/Duration"
|
|
302
|
+
* ```
|
|
172
303
|
*/
|
|
173
304
|
Duration,
|
|
174
305
|
/**
|
|
175
306
|
* @since 2.0.0
|
|
307
|
+
*
|
|
308
|
+
* ```md
|
|
309
|
+
* - Docs: https://effect-ts.github.io/io/modules/Effect.ts.html
|
|
310
|
+
* - Module: "@effect/io/Effect"
|
|
311
|
+
* ```
|
|
176
312
|
*/
|
|
177
313
|
Effect,
|
|
178
314
|
/**
|
|
179
315
|
* @since 2.0.0
|
|
316
|
+
*
|
|
317
|
+
* ```md
|
|
318
|
+
* - Docs: https://fp-ts.github.io/data/modules/Either.ts.html
|
|
319
|
+
* - Module: "@fp-ts/data/Either"
|
|
320
|
+
* ```
|
|
180
321
|
*/
|
|
181
322
|
Either,
|
|
182
323
|
/**
|
|
183
324
|
* @since 2.0.0
|
|
325
|
+
*
|
|
326
|
+
* ```md
|
|
327
|
+
* - Docs: https://fp-ts.github.io/data/modules/Equal.ts.html
|
|
328
|
+
* - Module: "@fp-ts/data/Equal"
|
|
329
|
+
* ```
|
|
184
330
|
*/
|
|
185
331
|
Equal,
|
|
186
332
|
/**
|
|
187
333
|
* @since 2.0.0
|
|
334
|
+
*
|
|
335
|
+
* ```md
|
|
336
|
+
* - Docs: https://effect-ts.github.io/io/modules/ExecutionStrategy.ts.html
|
|
337
|
+
* - Module: "@effect/io/ExecutionStrategy"
|
|
338
|
+
* ```
|
|
188
339
|
*/
|
|
189
340
|
ExecutionStrategy,
|
|
190
341
|
/**
|
|
191
342
|
* @since 2.0.0
|
|
343
|
+
*
|
|
344
|
+
* ```md
|
|
345
|
+
* - Docs: https://effect-ts.github.io/io/modules/Exit.ts.html
|
|
346
|
+
* - Module: "@effect/io/Exit"
|
|
347
|
+
* ```
|
|
192
348
|
*/
|
|
193
349
|
Exit,
|
|
194
350
|
/**
|
|
195
351
|
* @since 2.0.0
|
|
352
|
+
*
|
|
353
|
+
* ```md
|
|
354
|
+
* - Docs: https://effect-ts.github.io/io/modules/Fiber.ts.html
|
|
355
|
+
* - Module: "@effect/io/Fiber"
|
|
356
|
+
* ```
|
|
196
357
|
*/
|
|
197
358
|
Fiber,
|
|
198
359
|
/**
|
|
199
360
|
* @since 2.0.0
|
|
361
|
+
*
|
|
362
|
+
* ```md
|
|
363
|
+
* - Docs: https://effect-ts.github.io/io/modules/FiberRef.ts.html
|
|
364
|
+
* - Module: "@effect/io/FiberRef"
|
|
365
|
+
* ```
|
|
200
366
|
*/
|
|
201
367
|
FiberRef,
|
|
202
368
|
/**
|
|
203
369
|
* @since 2.0.0
|
|
370
|
+
*
|
|
371
|
+
* ```md
|
|
372
|
+
* - Docs: https://effect-ts.github.io/io/modules/FiberRefs.ts.html
|
|
373
|
+
* - Module: "@effect/io/FiberRefs"
|
|
374
|
+
* ```
|
|
204
375
|
*/
|
|
205
376
|
FiberRefs,
|
|
206
377
|
/**
|
|
207
378
|
* @since 2.0.0
|
|
379
|
+
*
|
|
380
|
+
* ```md
|
|
381
|
+
* - Docs: https://fp-ts.github.io/core/modules/typeclass/Filterable.ts.html
|
|
382
|
+
* - Module: "@fp-ts/core/typeclass/Filterable"
|
|
383
|
+
* ```
|
|
208
384
|
*/
|
|
209
385
|
Filterable,
|
|
210
386
|
/**
|
|
211
387
|
* @since 2.0.0
|
|
388
|
+
*
|
|
389
|
+
* ```md
|
|
390
|
+
* - Docs: https://fp-ts.github.io/data/modules/typeclass/FilterableWithIndex.ts.html
|
|
391
|
+
* - Module: "@fp-ts/data/typeclass/FilterableWithIndex"
|
|
392
|
+
* ```
|
|
212
393
|
*/
|
|
213
394
|
FilterableWithIndex,
|
|
214
395
|
/**
|
|
215
396
|
* @since 2.0.0
|
|
397
|
+
*
|
|
398
|
+
* ```md
|
|
399
|
+
* - Docs: https://fp-ts.github.io/core/modules/typeclass/FlatMap.ts.html
|
|
400
|
+
* - Module: "@fp-ts/core/typeclass/FlatMap"
|
|
401
|
+
* ```
|
|
216
402
|
*/
|
|
217
403
|
FlatMap,
|
|
218
404
|
/**
|
|
219
405
|
* @since 2.0.0
|
|
406
|
+
*
|
|
407
|
+
* ```md
|
|
408
|
+
* - Docs: https://fp-ts.github.io/data/modules/Function.ts.html
|
|
409
|
+
* - Module: "@fp-ts/data/Function"
|
|
410
|
+
* ```
|
|
220
411
|
*/
|
|
221
412
|
flow,
|
|
222
413
|
/**
|
|
223
414
|
* @since 2.0.0
|
|
415
|
+
*
|
|
416
|
+
* ```md
|
|
417
|
+
* - Docs: https://fp-ts.github.io/core/modules/typeclass/Foldable.ts.html
|
|
418
|
+
* - Module: "@fp-ts/core/typeclass/Foldable"
|
|
419
|
+
* ```
|
|
224
420
|
*/
|
|
225
421
|
Foldable,
|
|
226
422
|
/**
|
|
227
423
|
* @since 2.0.0
|
|
424
|
+
*
|
|
425
|
+
* ```md
|
|
426
|
+
* - Docs: https://fp-ts.github.io/data/modules/Function.ts.html
|
|
427
|
+
* - Module: "@fp-ts/data/Function"
|
|
428
|
+
* ```
|
|
228
429
|
*/
|
|
229
430
|
Function,
|
|
230
431
|
/**
|
|
231
432
|
* @since 2.0.0
|
|
433
|
+
*
|
|
434
|
+
* ```md
|
|
435
|
+
* - Docs: https://fp-ts.github.io/data/modules/HashMap.ts.html
|
|
436
|
+
* - Module: "@fp-ts/data/HashMap"
|
|
437
|
+
* ```
|
|
232
438
|
*/
|
|
233
439
|
HashMap,
|
|
234
440
|
/**
|
|
235
441
|
* @since 2.0.0
|
|
442
|
+
*
|
|
443
|
+
* ```md
|
|
444
|
+
* - Docs: https://fp-ts.github.io/data/modules/HashSet.ts.html
|
|
445
|
+
* - Module: "@fp-ts/data/HashSet"
|
|
446
|
+
* ```
|
|
236
447
|
*/
|
|
237
448
|
HashSet,
|
|
238
449
|
/**
|
|
239
450
|
* @since 2.0.0
|
|
451
|
+
*
|
|
452
|
+
* ```md
|
|
453
|
+
* - Docs: https://fp-ts.github.io/core/modules/HKT.ts.html
|
|
454
|
+
* - Module: "@fp-ts/core/HKT"
|
|
455
|
+
* ```
|
|
240
456
|
*/
|
|
241
457
|
HKT,
|
|
242
458
|
/**
|
|
243
459
|
* @since 2.0.0
|
|
460
|
+
*
|
|
461
|
+
* ```md
|
|
462
|
+
* - Docs: https://fp-ts.github.io/data/modules/Function.ts.html#hole
|
|
463
|
+
* - Module: "@fp-ts/data/Function"
|
|
464
|
+
* ```
|
|
244
465
|
*/
|
|
245
466
|
hole,
|
|
246
467
|
/**
|
|
247
468
|
* @since 2.0.0
|
|
469
|
+
*
|
|
470
|
+
* ```md
|
|
471
|
+
* - Docs: https://effect-ts.github.io/io/modules/Hub.ts.html
|
|
472
|
+
* - Module: "@effect/io/Hub"
|
|
473
|
+
* ```
|
|
248
474
|
*/
|
|
249
475
|
Hub,
|
|
250
476
|
/**
|
|
251
477
|
* @since 2.0.0
|
|
478
|
+
*
|
|
479
|
+
* ```md
|
|
480
|
+
* - Docs: https://fp-ts.github.io/data/modules/Identity.ts.html
|
|
481
|
+
* - Module: "@fp-ts/data/Identity"
|
|
482
|
+
* ```
|
|
252
483
|
*/
|
|
253
484
|
Identity,
|
|
254
485
|
/**
|
|
255
486
|
* @since 2.0.0
|
|
487
|
+
*
|
|
488
|
+
* ```md
|
|
489
|
+
* - Docs: https://fp-ts.github.io/data/modules/Function.ts.html#identity
|
|
490
|
+
* - Module: "@fp-ts/data/Function"
|
|
491
|
+
* ```
|
|
256
492
|
*/
|
|
257
493
|
identity,
|
|
258
494
|
/**
|
|
259
495
|
* @since 2.0.0
|
|
496
|
+
*
|
|
497
|
+
* ```md
|
|
498
|
+
* - Docs: https://fp-ts.github.io/data/modules/Queue.ts.html
|
|
499
|
+
* - Module: "@fp-ts/data/Queue"
|
|
500
|
+
* ```
|
|
260
501
|
*/
|
|
261
502
|
ImmutableQueue,
|
|
262
503
|
/**
|
|
263
504
|
* @since 2.0.0
|
|
505
|
+
*
|
|
506
|
+
* ```md
|
|
507
|
+
* - Docs: https://fp-ts.github.io/core/modules/typeclass/Invariant.ts.html
|
|
508
|
+
* - Module: "@fp-ts/core/typeclass/Invariant"
|
|
509
|
+
* ```
|
|
264
510
|
*/
|
|
265
511
|
Invariant,
|
|
266
512
|
/**
|
|
267
513
|
* @since 2.0.0
|
|
514
|
+
*
|
|
515
|
+
* ```md
|
|
516
|
+
* - Docs: https://fp-ts.github.io/data/modules/Json.ts.html
|
|
517
|
+
* - Module: "@fp-ts/data/Json"
|
|
518
|
+
* ```
|
|
268
519
|
*/
|
|
269
520
|
Json,
|
|
270
521
|
/**
|
|
271
522
|
* @since 2.0.0
|
|
523
|
+
*
|
|
524
|
+
* ```md
|
|
525
|
+
* - Docs: https://effect-ts.github.io/io/modules/Layer.ts.html
|
|
526
|
+
* - Module: "@effect/io/Layer"
|
|
527
|
+
* ```
|
|
272
528
|
*/
|
|
273
529
|
Layer,
|
|
274
530
|
/**
|
|
275
531
|
* @since 2.0.0
|
|
532
|
+
*
|
|
533
|
+
* ```md
|
|
534
|
+
* - Docs: https://fp-ts.github.io/data/modules/List.ts.html
|
|
535
|
+
* - Module: "@fp-ts/data/List"
|
|
536
|
+
* ```
|
|
276
537
|
*/
|
|
277
538
|
List,
|
|
278
539
|
/**
|
|
279
540
|
* @since 2.0.0
|
|
541
|
+
*
|
|
542
|
+
* ```md
|
|
543
|
+
* - Docs: https://effect-ts.github.io/io/modules/Logger.ts.html
|
|
544
|
+
* - Module: "@effect/io/Logger"
|
|
545
|
+
* ```
|
|
280
546
|
*/
|
|
281
547
|
Logger,
|
|
282
548
|
/**
|
|
283
549
|
* @since 2.0.0
|
|
550
|
+
*
|
|
551
|
+
* ```md
|
|
552
|
+
* - Docs: https://effect-ts.github.io/io/modules/Metric.ts.html
|
|
553
|
+
* - Module: "@effect/io/Metric"
|
|
554
|
+
* ```
|
|
284
555
|
*/
|
|
285
556
|
Metric,
|
|
286
557
|
/**
|
|
287
558
|
* @since 2.0.0
|
|
559
|
+
*
|
|
560
|
+
* ```md
|
|
561
|
+
* - Docs: https://fp-ts.github.io/core/modules/typeclass/Monad.ts.html
|
|
562
|
+
* - Module: "@fp-ts/core/typeclass/Monad"
|
|
563
|
+
* ```
|
|
288
564
|
*/
|
|
289
565
|
Monad,
|
|
290
566
|
/**
|
|
291
567
|
* @since 2.0.0
|
|
568
|
+
*
|
|
569
|
+
* ```md
|
|
570
|
+
* - Docs: https://fp-ts.github.io/core/modules/typeclass/Monoid.ts.html
|
|
571
|
+
* - Module: "@fp-ts/core/typeclass/Monoid"
|
|
572
|
+
* ```
|
|
292
573
|
*/
|
|
293
574
|
Monoid,
|
|
294
575
|
/**
|
|
295
576
|
* @since 2.0.0
|
|
577
|
+
*
|
|
578
|
+
* ```md
|
|
579
|
+
* - Docs: https://fp-ts.github.io/data/modules/mutable/MutableHashMap.ts.html
|
|
580
|
+
* - Module: "@fp-ts/data/mutable/MutableHashMap"
|
|
581
|
+
* ```
|
|
296
582
|
*/
|
|
297
583
|
MutableHashMap,
|
|
298
584
|
/**
|
|
299
585
|
* @since 2.0.0
|
|
586
|
+
*
|
|
587
|
+
* ```md
|
|
588
|
+
* - Docs: https://fp-ts.github.io/data/modules/mutable/MutableHashSet.ts.html
|
|
589
|
+
* - Module: "@fp-ts/data/mutable/MutableHashSet"
|
|
590
|
+
* ```
|
|
300
591
|
*/
|
|
301
592
|
MutableHashSet,
|
|
302
593
|
/**
|
|
303
594
|
* @since 2.0.0
|
|
595
|
+
*
|
|
596
|
+
* ```md
|
|
597
|
+
* - Docs: https://fp-ts.github.io/data/modules/mutable/MutableList.ts.html
|
|
598
|
+
* - Module: "@fp-ts/data/mutable/MutableList"
|
|
599
|
+
* ```
|
|
304
600
|
*/
|
|
305
601
|
MutableList,
|
|
306
602
|
/**
|
|
307
603
|
* @since 2.0.0
|
|
604
|
+
*
|
|
605
|
+
* ```md
|
|
606
|
+
* - Docs: https://fp-ts.github.io/data/modules/mutable/MutableListBuilder.ts.html
|
|
607
|
+
* - Module: "@fp-ts/data/mutable/MutableListBuilder"
|
|
608
|
+
* ```
|
|
308
609
|
*/
|
|
309
610
|
MutableListBuilder,
|
|
310
611
|
/**
|
|
311
612
|
* @since 2.0.0
|
|
613
|
+
*
|
|
614
|
+
* ```md
|
|
615
|
+
* - Docs: https://fp-ts.github.io/data/modules/mutable/MutableQueue.ts.html
|
|
616
|
+
* - Module: "@fp-ts/data/mutable/MutableQueue"
|
|
617
|
+
* ```
|
|
312
618
|
*/
|
|
313
619
|
MutableQueue,
|
|
314
620
|
/**
|
|
315
621
|
* @since 2.0.0
|
|
622
|
+
*
|
|
623
|
+
* ```md
|
|
624
|
+
* - Docs: https://fp-ts.github.io/data/modules/mutable/MutableRef.ts.html
|
|
625
|
+
* - Module: "@fp-ts/data/mutable/MutableRef"
|
|
626
|
+
* ```
|
|
316
627
|
*/
|
|
317
628
|
MutableRef,
|
|
318
629
|
/**
|
|
319
630
|
* @since 2.0.0
|
|
631
|
+
*
|
|
632
|
+
* ```md
|
|
633
|
+
* - Docs: https://fp-ts.github.io/core/modules/typeclass/NonEmptyTraversable.ts.html
|
|
634
|
+
* - Module: "@fp-ts/core/typeclass/NonEmptyTraversable"
|
|
635
|
+
* ```
|
|
320
636
|
*/
|
|
321
637
|
NonEmptyTraversable,
|
|
322
638
|
/**
|
|
323
639
|
* @since 2.0.0
|
|
640
|
+
*
|
|
641
|
+
* ```md
|
|
642
|
+
* - Docs: https://fp-ts.github.io/data/modules/Number.ts.html
|
|
643
|
+
* - Module: "@fp-ts/data/Number"
|
|
644
|
+
* ```
|
|
324
645
|
*/
|
|
325
646
|
Number,
|
|
326
647
|
/**
|
|
327
648
|
* @since 2.0.0
|
|
649
|
+
*
|
|
650
|
+
* ```md
|
|
651
|
+
* - Docs: https://fp-ts.github.io/core/modules/typeclass/Of.ts.html
|
|
652
|
+
* - Module: "@fp-ts/core/typeclass/Of"
|
|
653
|
+
* ```
|
|
328
654
|
*/
|
|
329
655
|
Of,
|
|
330
656
|
/**
|
|
331
657
|
* @since 2.0.0
|
|
658
|
+
*
|
|
659
|
+
* ```md
|
|
660
|
+
* - Docs: https://fp-ts.github.io/optic/modules/index.ts.html
|
|
661
|
+
* - Module: "@fp-ts/optic"
|
|
662
|
+
* ```
|
|
663
|
+
*/
|
|
664
|
+
Optic,
|
|
665
|
+
/**
|
|
666
|
+
* @since 2.0.0
|
|
667
|
+
*
|
|
668
|
+
* ```md
|
|
669
|
+
* - Docs: https://fp-ts.github.io/data/modules/Option.ts.html
|
|
670
|
+
* - Module: "@fp-ts/data/Option"
|
|
671
|
+
* ```
|
|
332
672
|
*/
|
|
333
673
|
Option,
|
|
334
674
|
/**
|
|
335
675
|
* @since 2.0.0
|
|
676
|
+
*
|
|
677
|
+
* ```md
|
|
678
|
+
* - Docs: https://fp-ts.github.io/core/modules/typeclass/Order.ts.html
|
|
679
|
+
* - Module: "@fp-ts/core/typeclass/Order"
|
|
680
|
+
* ```
|
|
336
681
|
*/
|
|
337
682
|
Order,
|
|
338
683
|
/**
|
|
339
684
|
* @since 2.0.0
|
|
685
|
+
*
|
|
686
|
+
* ```md
|
|
687
|
+
* - Docs: https://fp-ts.github.io/data/modules/Ordering.ts.html
|
|
688
|
+
* - Module: "@fp-ts/data/Ordering"
|
|
689
|
+
* ```
|
|
340
690
|
*/
|
|
341
691
|
Ordering,
|
|
342
692
|
/**
|
|
343
693
|
* @since 2.0.0
|
|
694
|
+
*
|
|
695
|
+
* ```md
|
|
696
|
+
* - Docs: https://fp-ts.github.io/data/modules/Random.ts.html
|
|
697
|
+
* - Module: "@fp-ts/data/Random"
|
|
698
|
+
* ```
|
|
344
699
|
*/
|
|
345
700
|
PCGRandom,
|
|
346
701
|
/**
|
|
347
702
|
* @since 2.0.0
|
|
703
|
+
*
|
|
704
|
+
* ```md
|
|
705
|
+
* - Docs: https://fp-ts.github.io/data/modules/Function.ts.html#pipe
|
|
706
|
+
* - Module: "@fp-ts/data/Function"
|
|
707
|
+
* ```
|
|
348
708
|
*/
|
|
349
709
|
pipe,
|
|
350
710
|
/**
|
|
351
711
|
* @since 2.0.0
|
|
712
|
+
*
|
|
713
|
+
* ```md
|
|
714
|
+
* - Docs: https://fp-ts.github.io/core/modules/typeclass/Pointed.ts.html
|
|
715
|
+
* - Module: "@fp-ts/core/typeclass/Pointed"
|
|
716
|
+
* ```
|
|
352
717
|
*/
|
|
353
718
|
Pointed,
|
|
354
719
|
/**
|
|
355
720
|
* @since 2.0.0
|
|
721
|
+
*
|
|
722
|
+
* ```md
|
|
723
|
+
* - Docs: https://fp-ts.github.io/data/modules/Predicate.ts.html
|
|
724
|
+
* - Module: "@fp-ts/data/Predicate"
|
|
725
|
+
* ```
|
|
356
726
|
*/
|
|
357
727
|
Predicate,
|
|
358
728
|
/**
|
|
359
729
|
* @since 2.0.0
|
|
730
|
+
*
|
|
731
|
+
* ```md
|
|
732
|
+
* - Docs: https://fp-ts.github.io/core/modules/typeclass/Product.ts.html
|
|
733
|
+
* - Module: "@fp-ts/core/typeclass/Product"
|
|
734
|
+
* ```
|
|
360
735
|
*/
|
|
361
736
|
Product,
|
|
362
737
|
/**
|
|
363
738
|
* @since 2.0.0
|
|
739
|
+
*
|
|
740
|
+
* ```md
|
|
741
|
+
* - Docs: https://effect-ts.github.io/io/modules/Queue.ts.html
|
|
742
|
+
* - Module: "@effect/io/Queue"
|
|
743
|
+
* ```
|
|
364
744
|
*/
|
|
365
745
|
Queue,
|
|
366
746
|
/**
|
|
367
747
|
* @since 2.0.0
|
|
748
|
+
*
|
|
749
|
+
* ```md
|
|
750
|
+
* - Docs: https://effect-ts.github.io/io/modules/Random.ts.html
|
|
751
|
+
* - Module: "@effect/io/Random"
|
|
752
|
+
* ```
|
|
368
753
|
*/
|
|
369
754
|
Random,
|
|
370
755
|
/**
|
|
371
756
|
* @since 2.0.0
|
|
757
|
+
*
|
|
758
|
+
* ```md
|
|
759
|
+
* - Docs: https://fp-ts.github.io/data/modules/ReadonlyArray.ts.html
|
|
760
|
+
* - Module: "@fp-ts/data/ReadonlyArray"
|
|
761
|
+
* ```
|
|
372
762
|
*/
|
|
373
763
|
ReadonlyArray,
|
|
374
764
|
/**
|
|
375
765
|
* @since 2.0.0
|
|
766
|
+
*
|
|
767
|
+
* ```md
|
|
768
|
+
* - Docs: https://fp-ts.github.io/data/modules/RedBlackTree.ts.html
|
|
769
|
+
* - Module: "@fp-ts/data/RedBlackTree"
|
|
770
|
+
* ```
|
|
771
|
+
*/
|
|
772
|
+
RedBlackTree,
|
|
773
|
+
/**
|
|
774
|
+
* @since 2.0.0
|
|
775
|
+
*
|
|
776
|
+
* ```md
|
|
777
|
+
* - Docs: https://effect-ts.github.io/io/modules/Ref.ts.html
|
|
778
|
+
* - Module: "@effect/io/Ref"
|
|
779
|
+
* ```
|
|
376
780
|
*/
|
|
377
781
|
Ref,
|
|
378
782
|
/**
|
|
379
783
|
* @since 2.0.0
|
|
784
|
+
*
|
|
785
|
+
* ```md
|
|
786
|
+
* - Docs: https://effect-ts.github.io/io/modules/Reloadable.ts.html
|
|
787
|
+
* - Module: "@effect/io/Reloadable"
|
|
788
|
+
* ```
|
|
380
789
|
*/
|
|
381
790
|
Reloadable,
|
|
382
791
|
/**
|
|
383
792
|
* @since 2.0.0
|
|
793
|
+
*
|
|
794
|
+
* ```md
|
|
795
|
+
* - Docs: https://effect-ts.github.io/io/modules/Runtime.ts.html
|
|
796
|
+
* - Module: "@effect/io/Runtime"
|
|
797
|
+
* ```
|
|
384
798
|
*/
|
|
385
799
|
Runtime,
|
|
386
800
|
/**
|
|
387
801
|
* @since 2.0.0
|
|
802
|
+
*
|
|
803
|
+
* ```md
|
|
804
|
+
* - Docs: https://effect-ts.github.io/io/modules/Schedule.ts.html
|
|
805
|
+
* - Module: "@effect/io/Schedule"
|
|
806
|
+
* ```
|
|
388
807
|
*/
|
|
389
808
|
Schedule,
|
|
390
809
|
/**
|
|
391
810
|
* @since 2.0.0
|
|
811
|
+
*
|
|
812
|
+
* ```md
|
|
813
|
+
* - Docs: https://effect-ts.github.io/io/modules/Scope.ts.html
|
|
814
|
+
* - Module: "@effect/io/Scope"
|
|
815
|
+
* ```
|
|
392
816
|
*/
|
|
393
817
|
Scope,
|
|
394
818
|
/**
|
|
395
819
|
* @since 2.0.0
|
|
820
|
+
*
|
|
821
|
+
* ```md
|
|
822
|
+
* - Docs: https://fp-ts.github.io/core/modules/typeclass/SemiAlternative.ts.html
|
|
823
|
+
* - Module: "@fp-ts/core/typeclass/SemiAlternative"
|
|
824
|
+
* ```
|
|
396
825
|
*/
|
|
397
826
|
SemiAlternative,
|
|
398
827
|
/**
|
|
399
828
|
* @since 2.0.0
|
|
829
|
+
*
|
|
830
|
+
* ```md
|
|
831
|
+
* - Docs: https://fp-ts.github.io/core/modules/typeclass/SemiApplicative.ts.html
|
|
832
|
+
* - Module: "@fp-ts/core/typeclass/SemiApplicative"
|
|
833
|
+
* ```
|
|
400
834
|
*/
|
|
401
835
|
SemiApplicative,
|
|
402
836
|
/**
|
|
403
837
|
* @since 2.0.0
|
|
838
|
+
*
|
|
839
|
+
* ```md
|
|
840
|
+
* - Docs: https://fp-ts.github.io/core/modules/typeclass/SemiCoproduct.ts.html
|
|
841
|
+
* - Module: "@fp-ts/core/typeclass/SemiCoproduct"
|
|
842
|
+
* ```
|
|
404
843
|
*/
|
|
405
844
|
SemiCoproduct,
|
|
406
845
|
/**
|
|
407
846
|
* @since 2.0.0
|
|
847
|
+
*
|
|
848
|
+
* ```md
|
|
849
|
+
* - Docs: https://fp-ts.github.io/core/modules/typeclass/Semigroup.ts.html
|
|
850
|
+
* - Module: "@fp-ts/core/typeclass/Semigroup"
|
|
851
|
+
* ```
|
|
408
852
|
*/
|
|
409
853
|
Semigroup,
|
|
410
854
|
/**
|
|
411
855
|
* @since 2.0.0
|
|
856
|
+
*
|
|
857
|
+
* ```md
|
|
858
|
+
* - Docs: https://fp-ts.github.io/core/modules/typeclass/SemiProduct.ts.html
|
|
859
|
+
* - Module: "@fp-ts/core/typeclass/SemiProduct"
|
|
860
|
+
* ```
|
|
412
861
|
*/
|
|
413
862
|
SemiProduct,
|
|
414
863
|
/**
|
|
415
864
|
* @since 2.0.0
|
|
865
|
+
*
|
|
866
|
+
* ```md
|
|
867
|
+
* - Docs: https://fp-ts.github.io/data/modules/typeclass/Seq.ts.html
|
|
868
|
+
* - Module: "@fp-ts/data/typeclass/Seq"
|
|
869
|
+
* ```
|
|
416
870
|
*/
|
|
417
871
|
Seq,
|
|
418
872
|
/**
|
|
419
873
|
* @since 2.0.0
|
|
874
|
+
*
|
|
875
|
+
* ```md
|
|
876
|
+
* - Docs: https://fp-ts.github.io/data/modules/SortedMap.ts.html
|
|
877
|
+
* - Module: "@fp-ts/data/SortedMap"
|
|
878
|
+
* ```
|
|
420
879
|
*/
|
|
421
880
|
SortedMap,
|
|
422
881
|
/**
|
|
423
882
|
* @since 2.0.0
|
|
883
|
+
*
|
|
884
|
+
* ```md
|
|
885
|
+
* - Docs: https://fp-ts.github.io/data/modules/SortedSet.ts.html
|
|
886
|
+
* - Module: "@fp-ts/data/SortedSet"
|
|
887
|
+
* ```
|
|
424
888
|
*/
|
|
425
889
|
SortedSet,
|
|
426
890
|
/**
|
|
427
891
|
* @since 2.0.0
|
|
892
|
+
*
|
|
893
|
+
* ```md
|
|
894
|
+
* - Docs: https://fp-ts.github.io/data/modules/String.ts.html
|
|
895
|
+
* - Module: "@fp-ts/data/String"
|
|
896
|
+
* ```
|
|
428
897
|
*/
|
|
429
898
|
String,
|
|
430
899
|
/**
|
|
431
900
|
* @since 2.0.0
|
|
901
|
+
*
|
|
902
|
+
* ```md
|
|
903
|
+
* - Docs: https://effect-ts.github.io/io/modules/Supervisor.ts.html
|
|
904
|
+
* - Module: "@effect/io/Supervisor"
|
|
905
|
+
* ```
|
|
432
906
|
*/
|
|
433
907
|
Supervisor,
|
|
434
908
|
/**
|
|
435
909
|
* @since 2.0.0
|
|
910
|
+
*
|
|
911
|
+
* ```md
|
|
912
|
+
* - Docs: https://effect-ts.github.io/io/modules/Tracer.ts.html
|
|
913
|
+
* - Module: "@effect/io/Tracer"
|
|
914
|
+
* ```
|
|
436
915
|
*/
|
|
437
916
|
Tracer,
|
|
438
917
|
/**
|
|
439
918
|
* @since 2.0.0
|
|
919
|
+
*
|
|
920
|
+
* ```md
|
|
921
|
+
* - Docs: https://fp-ts.github.io/core/modules/typeclass/Traversable.ts.html
|
|
922
|
+
* - Module: "@fp-ts/core/typeclass/Traversable"
|
|
923
|
+
* ```
|
|
440
924
|
*/
|
|
441
925
|
Traversable,
|
|
442
926
|
/**
|
|
443
927
|
* @since 2.0.0
|
|
928
|
+
*
|
|
929
|
+
* ```md
|
|
930
|
+
* - Docs: https://fp-ts.github.io/core/modules/typeclass/TraversableFilterable.ts.html
|
|
931
|
+
* - Module: "@fp-ts/core/typeclass/TraversableFilterable"
|
|
932
|
+
* ```
|
|
444
933
|
*/
|
|
445
934
|
TraversableFilterable,
|
|
446
935
|
/**
|