effect 3.9.0 → 3.9.2

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.
Files changed (197) hide show
  1. package/dist/cjs/BigDecimal.js +0 -3
  2. package/dist/cjs/BigDecimal.js.map +1 -1
  3. package/dist/cjs/Chunk.js +0 -3
  4. package/dist/cjs/Chunk.js.map +1 -1
  5. package/dist/cjs/Cron.js +0 -3
  6. package/dist/cjs/Cron.js.map +1 -1
  7. package/dist/cjs/DateTime.js +0 -6
  8. package/dist/cjs/DateTime.js.map +1 -1
  9. package/dist/cjs/Duration.js +0 -3
  10. package/dist/cjs/Duration.js.map +1 -1
  11. package/dist/cjs/FiberHandle.js +0 -3
  12. package/dist/cjs/FiberHandle.js.map +1 -1
  13. package/dist/cjs/FiberMap.js +0 -3
  14. package/dist/cjs/FiberMap.js.map +1 -1
  15. package/dist/cjs/FiberSet.js +0 -3
  16. package/dist/cjs/FiberSet.js.map +1 -1
  17. package/dist/cjs/Inspectable.js +1 -15
  18. package/dist/cjs/Inspectable.js.map +1 -1
  19. package/dist/cjs/List.js +0 -6
  20. package/dist/cjs/List.js.map +1 -1
  21. package/dist/cjs/Micro.js +0 -6
  22. package/dist/cjs/Micro.js.map +1 -1
  23. package/dist/cjs/MutableHashMap.js +0 -3
  24. package/dist/cjs/MutableHashMap.js.map +1 -1
  25. package/dist/cjs/MutableHashSet.js +0 -3
  26. package/dist/cjs/MutableHashSet.js.map +1 -1
  27. package/dist/cjs/MutableList.js +0 -3
  28. package/dist/cjs/MutableList.js.map +1 -1
  29. package/dist/cjs/MutableQueue.js +0 -3
  30. package/dist/cjs/MutableQueue.js.map +1 -1
  31. package/dist/cjs/MutableRef.js +0 -3
  32. package/dist/cjs/MutableRef.js.map +1 -1
  33. package/dist/cjs/SortedMap.js +0 -3
  34. package/dist/cjs/SortedMap.js.map +1 -1
  35. package/dist/cjs/SortedSet.js +0 -3
  36. package/dist/cjs/SortedSet.js.map +1 -1
  37. package/dist/cjs/Stream.js.map +1 -1
  38. package/dist/cjs/internal/cause.js +0 -3
  39. package/dist/cjs/internal/cause.js.map +1 -1
  40. package/dist/cjs/internal/context.js +0 -6
  41. package/dist/cjs/internal/context.js.map +1 -1
  42. package/dist/cjs/internal/core.js +0 -12
  43. package/dist/cjs/internal/core.js.map +1 -1
  44. package/dist/cjs/internal/doNotation.js.map +1 -1
  45. package/dist/cjs/internal/fiberId.js +0 -9
  46. package/dist/cjs/internal/fiberId.js.map +1 -1
  47. package/dist/cjs/internal/hashMap.js +0 -3
  48. package/dist/cjs/internal/hashMap.js.map +1 -1
  49. package/dist/cjs/internal/hashSet.js +0 -3
  50. package/dist/cjs/internal/hashSet.js.map +1 -1
  51. package/dist/cjs/internal/mailbox.js +0 -3
  52. package/dist/cjs/internal/mailbox.js.map +1 -1
  53. package/dist/cjs/internal/option.js +0 -3
  54. package/dist/cjs/internal/option.js.map +1 -1
  55. package/dist/cjs/internal/redBlackTree.js +0 -3
  56. package/dist/cjs/internal/redBlackTree.js.map +1 -1
  57. package/dist/cjs/internal/runtime.js +0 -3
  58. package/dist/cjs/internal/runtime.js.map +1 -1
  59. package/dist/cjs/internal/trie.js +0 -3
  60. package/dist/cjs/internal/trie.js.map +1 -1
  61. package/dist/cjs/internal/version.js +1 -1
  62. package/dist/dts/Array.d.ts +4 -4
  63. package/dist/dts/Array.d.ts.map +1 -1
  64. package/dist/dts/BigDecimal.d.ts.map +1 -1
  65. package/dist/dts/Chunk.d.ts.map +1 -1
  66. package/dist/dts/Cron.d.ts.map +1 -1
  67. package/dist/dts/DateTime.d.ts.map +1 -1
  68. package/dist/dts/Duration.d.ts.map +1 -1
  69. package/dist/dts/Effect.d.ts +6 -6
  70. package/dist/dts/Effect.d.ts.map +1 -1
  71. package/dist/dts/Either.d.ts +4 -4
  72. package/dist/dts/Either.d.ts.map +1 -1
  73. package/dist/dts/FiberHandle.d.ts.map +1 -1
  74. package/dist/dts/FiberMap.d.ts.map +1 -1
  75. package/dist/dts/FiberSet.d.ts.map +1 -1
  76. package/dist/dts/Inspectable.d.ts +0 -15
  77. package/dist/dts/Inspectable.d.ts.map +1 -1
  78. package/dist/dts/List.d.ts.map +1 -1
  79. package/dist/dts/Micro.d.ts +4 -4
  80. package/dist/dts/Micro.d.ts.map +1 -1
  81. package/dist/dts/MutableHashMap.d.ts.map +1 -1
  82. package/dist/dts/MutableHashSet.d.ts.map +1 -1
  83. package/dist/dts/MutableList.d.ts.map +1 -1
  84. package/dist/dts/MutableQueue.d.ts.map +1 -1
  85. package/dist/dts/MutableRef.d.ts.map +1 -1
  86. package/dist/dts/Option.d.ts +4 -4
  87. package/dist/dts/Option.d.ts.map +1 -1
  88. package/dist/dts/STM.d.ts +4 -4
  89. package/dist/dts/STM.d.ts.map +1 -1
  90. package/dist/dts/SortedMap.d.ts.map +1 -1
  91. package/dist/dts/SortedSet.d.ts.map +1 -1
  92. package/dist/dts/Stream.d.ts +11 -11
  93. package/dist/dts/Stream.d.ts.map +1 -1
  94. package/dist/dts/internal/core.d.ts.map +1 -1
  95. package/dist/dts/internal/hashMap.d.ts.map +1 -1
  96. package/dist/esm/BigDecimal.js +1 -4
  97. package/dist/esm/BigDecimal.js.map +1 -1
  98. package/dist/esm/Chunk.js +1 -4
  99. package/dist/esm/Chunk.js.map +1 -1
  100. package/dist/esm/Cron.js +1 -4
  101. package/dist/esm/Cron.js.map +1 -1
  102. package/dist/esm/DateTime.js +0 -6
  103. package/dist/esm/DateTime.js.map +1 -1
  104. package/dist/esm/Duration.js +1 -4
  105. package/dist/esm/Duration.js.map +1 -1
  106. package/dist/esm/FiberHandle.js +0 -3
  107. package/dist/esm/FiberHandle.js.map +1 -1
  108. package/dist/esm/FiberMap.js +0 -3
  109. package/dist/esm/FiberMap.js.map +1 -1
  110. package/dist/esm/FiberSet.js +0 -3
  111. package/dist/esm/FiberSet.js.map +1 -1
  112. package/dist/esm/Inspectable.js +0 -14
  113. package/dist/esm/Inspectable.js.map +1 -1
  114. package/dist/esm/List.js +1 -7
  115. package/dist/esm/List.js.map +1 -1
  116. package/dist/esm/Micro.js +1 -7
  117. package/dist/esm/Micro.js.map +1 -1
  118. package/dist/esm/MutableHashMap.js +1 -4
  119. package/dist/esm/MutableHashMap.js.map +1 -1
  120. package/dist/esm/MutableHashSet.js +1 -4
  121. package/dist/esm/MutableHashSet.js.map +1 -1
  122. package/dist/esm/MutableList.js +1 -4
  123. package/dist/esm/MutableList.js.map +1 -1
  124. package/dist/esm/MutableQueue.js +1 -4
  125. package/dist/esm/MutableQueue.js.map +1 -1
  126. package/dist/esm/MutableRef.js +1 -4
  127. package/dist/esm/MutableRef.js.map +1 -1
  128. package/dist/esm/SortedMap.js +1 -4
  129. package/dist/esm/SortedMap.js.map +1 -1
  130. package/dist/esm/SortedSet.js +1 -4
  131. package/dist/esm/SortedSet.js.map +1 -1
  132. package/dist/esm/Stream.js.map +1 -1
  133. package/dist/esm/internal/cause.js +1 -4
  134. package/dist/esm/internal/cause.js.map +1 -1
  135. package/dist/esm/internal/context.js +1 -7
  136. package/dist/esm/internal/context.js.map +1 -1
  137. package/dist/esm/internal/core.js +1 -13
  138. package/dist/esm/internal/core.js.map +1 -1
  139. package/dist/esm/internal/doNotation.js.map +1 -1
  140. package/dist/esm/internal/fiberId.js +1 -10
  141. package/dist/esm/internal/fiberId.js.map +1 -1
  142. package/dist/esm/internal/hashMap.js +1 -4
  143. package/dist/esm/internal/hashMap.js.map +1 -1
  144. package/dist/esm/internal/hashSet.js +1 -4
  145. package/dist/esm/internal/hashSet.js.map +1 -1
  146. package/dist/esm/internal/mailbox.js +0 -3
  147. package/dist/esm/internal/mailbox.js.map +1 -1
  148. package/dist/esm/internal/option.js +1 -4
  149. package/dist/esm/internal/option.js.map +1 -1
  150. package/dist/esm/internal/redBlackTree.js +1 -4
  151. package/dist/esm/internal/redBlackTree.js.map +1 -1
  152. package/dist/esm/internal/runtime.js +0 -3
  153. package/dist/esm/internal/runtime.js.map +1 -1
  154. package/dist/esm/internal/trie.js +1 -4
  155. package/dist/esm/internal/trie.js.map +1 -1
  156. package/dist/esm/internal/version.js +1 -1
  157. package/package.json +1 -1
  158. package/src/Array.ts +4 -4
  159. package/src/BigDecimal.ts +1 -4
  160. package/src/Chunk.ts +1 -4
  161. package/src/Cron.ts +1 -4
  162. package/src/DateTime.ts +0 -6
  163. package/src/Duration.ts +1 -4
  164. package/src/Effect.ts +6 -6
  165. package/src/Either.ts +4 -4
  166. package/src/FiberHandle.ts +0 -3
  167. package/src/FiberMap.ts +0 -3
  168. package/src/FiberSet.ts +0 -3
  169. package/src/Inspectable.ts +0 -22
  170. package/src/List.ts +1 -7
  171. package/src/Micro.ts +5 -11
  172. package/src/MutableHashMap.ts +1 -4
  173. package/src/MutableHashSet.ts +1 -4
  174. package/src/MutableList.ts +1 -4
  175. package/src/MutableQueue.ts +1 -4
  176. package/src/MutableRef.ts +1 -4
  177. package/src/Option.ts +4 -4
  178. package/src/STM.ts +4 -4
  179. package/src/SortedMap.ts +1 -4
  180. package/src/SortedSet.ts +1 -4
  181. package/src/Stream.ts +10 -14
  182. package/src/internal/cause.ts +1 -4
  183. package/src/internal/context.ts +1 -7
  184. package/src/internal/core-effect.ts +4 -4
  185. package/src/internal/core.ts +1 -13
  186. package/src/internal/doNotation.ts +7 -6
  187. package/src/internal/fiberId.ts +1 -10
  188. package/src/internal/groupBy.ts +2 -2
  189. package/src/internal/hashMap.ts +1 -4
  190. package/src/internal/hashSet.ts +1 -4
  191. package/src/internal/mailbox.ts +0 -3
  192. package/src/internal/option.ts +1 -4
  193. package/src/internal/redBlackTree.ts +1 -4
  194. package/src/internal/runtime.ts +0 -3
  195. package/src/internal/stream.ts +4 -4
  196. package/src/internal/trie.ts +1 -4
  197. package/src/internal/version.ts +1 -1
@@ -8,7 +8,7 @@ import { constFalse, constTrue, dual, identity, pipe } from "../Function.js"
8
8
  import { globalValue } from "../GlobalValue.js"
9
9
  import * as Hash from "../Hash.js"
10
10
  import * as HashSet from "../HashSet.js"
11
- import { DenoInspectSymbol, NodeInspectSymbol, toJSON } from "../Inspectable.js"
11
+ import { NodeInspectSymbol, toJSON } from "../Inspectable.js"
12
12
  import * as Option from "../Option.js"
13
13
  import { pipeArguments } from "../Pipeable.js"
14
14
  import type { Predicate, Refinement } from "../Predicate.js"
@@ -69,9 +69,6 @@ const proto = {
69
69
  toString<E>(this: Cause.Cause<E>) {
70
70
  return pretty(this)
71
71
  },
72
- [DenoInspectSymbol]<E>(this: Cause.Cause<E>) {
73
- return this.toJSON()
74
- },
75
72
  [NodeInspectSymbol]<E>(this: Cause.Cause<E>) {
76
73
  return this.toJSON()
77
74
  }
@@ -3,7 +3,7 @@ import * as Equal from "../Equal.js"
3
3
  import type { LazyArg } from "../Function.js"
4
4
  import { dual } from "../Function.js"
5
5
  import * as Hash from "../Hash.js"
6
- import { DenoInspectSymbol, format, NodeInspectSymbol, toJSON } from "../Inspectable.js"
6
+ import { format, NodeInspectSymbol, toJSON } from "../Inspectable.js"
7
7
  import type * as O from "../Option.js"
8
8
  import { pipeArguments } from "../Pipeable.js"
9
9
  import { hasProperty } from "../Predicate.js"
@@ -41,9 +41,6 @@ export const TagProto: any = {
41
41
  stack: this.stack
42
42
  }
43
43
  },
44
- [DenoInspectSymbol]() {
45
- return this.toJSON()
46
- },
47
44
  [NodeInspectSymbol]() {
48
45
  return this.toJSON()
49
46
  },
@@ -128,9 +125,6 @@ export const ContextProto: Omit<C.Context<unknown>, "unsafeMap"> = {
128
125
  services: Array.from(this.unsafeMap).map(toJSON)
129
126
  }
130
127
  },
131
- [DenoInspectSymbol]() {
132
- return (this as any).toJSON()
133
- },
134
128
  [NodeInspectSymbol]() {
135
129
  return (this as any).toJSON()
136
130
  }
@@ -375,14 +375,14 @@ export const Do: Effect.Effect<{}> = core.succeed({})
375
375
  export const bind: {
376
376
  <N extends string, A extends object, B, E2, R2>(
377
377
  name: Exclude<N, keyof A>,
378
- f: (a: A) => Effect.Effect<B, E2, R2>
378
+ f: (a: NoInfer<A>) => Effect.Effect<B, E2, R2>
379
379
  ): <E1, R1>(
380
380
  self: Effect.Effect<A, E1, R1>
381
381
  ) => Effect.Effect<{ [K in N | keyof A]: K extends keyof A ? A[K] : B }, E2 | E1, R2 | R1>
382
382
  <A extends object, N extends string, E1, R1, B, E2, R2>(
383
383
  self: Effect.Effect<A, E1, R1>,
384
384
  name: Exclude<N, keyof A>,
385
- f: (a: A) => Effect.Effect<B, E2, R2>
385
+ f: (a: NoInfer<A>) => Effect.Effect<B, E2, R2>
386
386
  ): Effect.Effect<{ [K in N | keyof A]: K extends keyof A ? A[K] : B }, E1 | E2, R1 | R2>
387
387
  } = doNotation.bind<Effect.EffectTypeLambda>(core.map, core.flatMap)
388
388
 
@@ -396,14 +396,14 @@ export const bindTo: {
396
396
  export const let_: {
397
397
  <N extends string, A extends object, B>(
398
398
  name: Exclude<N, keyof A>,
399
- f: (a: A) => B
399
+ f: (a: NoInfer<A>) => B
400
400
  ): <E, R>(
401
401
  self: Effect.Effect<A, E, R>
402
402
  ) => Effect.Effect<{ [K in N | keyof A]: K extends keyof A ? A[K] : B }, E, R>
403
403
  <A extends object, N extends string, E, R, B>(
404
404
  self: Effect.Effect<A, E, R>,
405
405
  name: Exclude<N, keyof A>,
406
- f: (a: A) => B
406
+ f: (a: NoInfer<A>) => B
407
407
  ): Effect.Effect<{ [K in N | keyof A]: K extends keyof A ? A[K] : B }, E, R>
408
408
  } = doNotation.let_<Effect.EffectTypeLambda>(core.map)
409
409
 
@@ -21,7 +21,7 @@ import { globalValue } from "../GlobalValue.js"
21
21
  import * as Hash from "../Hash.js"
22
22
  import * as HashMap from "../HashMap.js"
23
23
  import type * as HashSet from "../HashSet.js"
24
- import { DenoInspectSymbol, format, NodeInspectSymbol, toJSON } from "../Inspectable.js"
24
+ import { format, NodeInspectSymbol, toJSON } from "../Inspectable.js"
25
25
  import * as List from "../List.js"
26
26
  import type * as LogLevel from "../LogLevel.js"
27
27
  import type * as LogSpan from "../LogSpan.js"
@@ -177,9 +177,6 @@ class EffectPrimitive {
177
177
  toString() {
178
178
  return format(this.toJSON())
179
179
  }
180
- [DenoInspectSymbol]() {
181
- return this.toJSON()
182
- }
183
180
  [NodeInspectSymbol]() {
184
181
  return this.toJSON()
185
182
  }
@@ -229,9 +226,6 @@ class EffectPrimitiveFailure {
229
226
  toString() {
230
227
  return format(this.toJSON())
231
228
  }
232
- [DenoInspectSymbol]() {
233
- return this.toJSON()
234
- }
235
229
  [NodeInspectSymbol]() {
236
230
  return this.toJSON()
237
231
  }
@@ -281,9 +275,6 @@ class EffectPrimitiveSuccess {
281
275
  toString() {
282
276
  return format(this.toJSON())
283
277
  }
284
- [DenoInspectSymbol]() {
285
- return this.toJSON()
286
- }
287
278
  [NodeInspectSymbol]() {
288
279
  return this.toJSON()
289
280
  }
@@ -2203,9 +2194,6 @@ export const YieldableError: new(message?: string, options?: ErrorOptions) => Ca
2203
2194
  toJSON() {
2204
2195
  return { ...this }
2205
2196
  }
2206
- [DenoInspectSymbol]() {
2207
- return this[NodeInspectSymbol]()
2208
- }
2209
2197
  [NodeInspectSymbol]() {
2210
2198
  if (this.toString !== globalThis.Error.prototype.toString) {
2211
2199
  return this.stack ? `${this.toString()}\n${this.stack.split("\n").slice(1).join("\n")}` : this.toString()
@@ -1,3 +1,4 @@
1
+ import type { NoInfer } from "effect/Types"
1
2
  import { dual } from "../Function.js"
2
3
  import type { Kind, TypeLambda } from "../HKT.js"
3
4
 
@@ -22,20 +23,20 @@ export const let_ = <F extends TypeLambda>(
22
23
  ): {
23
24
  <N extends string, A extends object, B>(
24
25
  name: Exclude<N, keyof A>,
25
- f: (a: A) => B
26
+ f: (a: NoInfer<A>) => B
26
27
  ): <R, O, E>(
27
28
  self: Kind<F, R, O, E, A>
28
29
  ) => Kind<F, R, O, E, { [K in keyof A | N]: K extends keyof A ? A[K] : B }>
29
30
  <R, O, E, A extends object, N extends string, B>(
30
31
  self: Kind<F, R, O, E, A>,
31
32
  name: Exclude<N, keyof A>,
32
- f: (a: A) => B
33
+ f: (a: NoInfer<A>) => B
33
34
  ): Kind<F, R, O, E, { [K in keyof A | N]: K extends keyof A ? A[K] : B }>
34
35
  } =>
35
36
  dual(3, <R, O, E, A extends object, N extends string, B>(
36
37
  self: Kind<F, R, O, E, A>,
37
38
  name: Exclude<N, keyof A>,
38
- f: (a: A) => B
39
+ f: (a: NoInfer<A>) => B
39
40
  ): Kind<F, R, O, E, { [K in keyof A | N]: K extends keyof A ? A[K] : B }> =>
40
41
  map(self, (a) => Object.assign({}, a, { [name]: f(a) }) as any))
41
42
 
@@ -58,20 +59,20 @@ export const bindTo = <F extends TypeLambda>(map: Map<F>): {
58
59
  export const bind = <F extends TypeLambda>(map: Map<F>, flatMap: FlatMap<F>): {
59
60
  <N extends string, A extends object, R2, O2, E2, B>(
60
61
  name: Exclude<N, keyof A>,
61
- f: (a: A) => Kind<F, R2, O2, E2, B>
62
+ f: (a: NoInfer<A>) => Kind<F, R2, O2, E2, B>
62
63
  ): <R1, O1, E1>(
63
64
  self: Kind<F, R1, O1, E1, A>
64
65
  ) => Kind<F, R1 & R2, O1 | O2, E1 | E2, { [K in keyof A | N]: K extends keyof A ? A[K] : B }>
65
66
  <R1, O1, E1, A extends object, N extends string, R2, O2, E2, B>(
66
67
  self: Kind<F, R1, O1, E1, A>,
67
68
  name: Exclude<N, keyof A>,
68
- f: (a: A) => Kind<F, R2, O2, E2, B>
69
+ f: (a: NoInfer<A>) => Kind<F, R2, O2, E2, B>
69
70
  ): Kind<F, R1 & R2, O1 | O2, E1 | E2, { [K in keyof A | N]: K extends keyof A ? A[K] : B }>
70
71
  } =>
71
72
  dual(3, <R1, O1, E1, A, N extends string, R2, O2, E2, B>(
72
73
  self: Kind<F, R1, O1, E1, A>,
73
74
  name: Exclude<N, keyof A>,
74
- f: (a: A) => Kind<F, R2, O2, E2, B>
75
+ f: (a: NoInfer<A>) => Kind<F, R2, O2, E2, B>
75
76
  ): Kind<F, R1 & R2, O1 | O2, E1 | E2, { [K in keyof A | N]: K extends keyof A ? A[K] : B }> =>
76
77
  flatMap(self, (a) =>
77
78
  map(f(a), (b) => Object.assign({}, a, { [name]: b }) as { [K in keyof A | N]: K extends keyof A ? A[K] : B })))
@@ -4,7 +4,7 @@ import { dual, pipe } from "../Function.js"
4
4
  import { globalValue } from "../GlobalValue.js"
5
5
  import * as Hash from "../Hash.js"
6
6
  import * as HashSet from "../HashSet.js"
7
- import { DenoInspectSymbol, format, NodeInspectSymbol, toJSON } from "../Inspectable.js"
7
+ import { format, NodeInspectSymbol, toJSON } from "../Inspectable.js"
8
8
  import * as MutableRef from "../MutableRef.js"
9
9
  import * as Option from "../Option.js"
10
10
  import { hasProperty } from "../Predicate.js"
@@ -58,9 +58,6 @@ class None implements FiberId.None {
58
58
  _tag: this._tag
59
59
  }
60
60
  }
61
- [DenoInspectSymbol]() {
62
- return this.toJSON()
63
- }
64
61
  [NodeInspectSymbol]() {
65
62
  return this.toJSON()
66
63
  }
@@ -94,9 +91,6 @@ class Runtime implements FiberId.Runtime {
94
91
  startTimeMillis: this.startTimeMillis
95
92
  }
96
93
  }
97
- [DenoInspectSymbol]() {
98
- return this.toJSON()
99
- }
100
94
  [NodeInspectSymbol]() {
101
95
  return this.toJSON()
102
96
  }
@@ -137,9 +131,6 @@ class Composite implements FiberId.Composite {
137
131
  right: toJSON(this.right)
138
132
  }
139
133
  }
140
- [DenoInspectSymbol]() {
141
- return this.toJSON()
142
- }
143
134
  [NodeInspectSymbol]() {
144
135
  return this.toJSON()
145
136
  }
@@ -277,7 +277,7 @@ export const mapEffectOptions = dual<
277
277
  export const bindEffect = dual<
278
278
  <N extends string, A, B, E2, R2>(
279
279
  tag: Exclude<N, keyof A>,
280
- f: (_: A) => Effect.Effect<B, E2, R2>,
280
+ f: (_: NoInfer<A>) => Effect.Effect<B, E2, R2>,
281
281
  options?: {
282
282
  readonly concurrency?: number | "unbounded" | undefined
283
283
  readonly bufferSize?: number | undefined
@@ -290,7 +290,7 @@ export const bindEffect = dual<
290
290
  <A, E, R, N extends string, B, E2, R2>(
291
291
  self: Stream.Stream<A, E, R>,
292
292
  tag: Exclude<N, keyof A>,
293
- f: (_: A) => Effect.Effect<B, E2, R2>,
293
+ f: (_: NoInfer<A>) => Effect.Effect<B, E2, R2>,
294
294
  options?: {
295
295
  readonly concurrency?: number | "unbounded" | undefined
296
296
  readonly unordered?: boolean | undefined
@@ -3,7 +3,7 @@ import * as Dual from "../Function.js"
3
3
  import { identity, pipe } from "../Function.js"
4
4
  import * as Hash from "../Hash.js"
5
5
  import type * as HM from "../HashMap.js"
6
- import { DenoInspectSymbol, format, NodeInspectSymbol, toJSON } from "../Inspectable.js"
6
+ import { format, NodeInspectSymbol, toJSON } from "../Inspectable.js"
7
7
  import * as Option from "../Option.js"
8
8
  import { pipeArguments } from "../Pipeable.js"
9
9
  import { hasProperty } from "../Predicate.js"
@@ -85,9 +85,6 @@ const HashMapProto: HM.HashMap<unknown, unknown> = {
85
85
  values: Array.from(this).map(toJSON)
86
86
  }
87
87
  },
88
- [DenoInspectSymbol]() {
89
- return this.toJSON()
90
- },
91
88
  [NodeInspectSymbol]() {
92
89
  return this.toJSON()
93
90
  },
@@ -3,7 +3,7 @@ import { dual } from "../Function.js"
3
3
  import * as Hash from "../Hash.js"
4
4
  import type { HashMap } from "../HashMap.js"
5
5
  import type * as HS from "../HashSet.js"
6
- import { DenoInspectSymbol, format, NodeInspectSymbol, toJSON } from "../Inspectable.js"
6
+ import { format, NodeInspectSymbol, toJSON } from "../Inspectable.js"
7
7
  import { pipeArguments } from "../Pipeable.js"
8
8
  import type { Predicate, Refinement } from "../Predicate.js"
9
9
  import { hasProperty } from "../Predicate.js"
@@ -49,9 +49,6 @@ const HashSetProto: Omit<HashSetImpl<unknown>, "_keyMap"> = {
49
49
  values: Array.from(this).map(toJSON)
50
50
  }
51
51
  },
52
- [DenoInspectSymbol]() {
53
- return this.toJSON()
54
- },
55
52
  [NodeInspectSymbol]() {
56
53
  return this.toJSON()
57
54
  },
@@ -287,9 +287,6 @@ class MailboxImpl<A, E> extends Effectable.Class<readonly [messages: Chunk.Chunk
287
287
  toString(): string {
288
288
  return Inspectable.format(this)
289
289
  }
290
- [Inspectable.DenoInspectSymbol]() {
291
- return Inspectable.format(this)
292
- }
293
290
  [Inspectable.NodeInspectSymbol]() {
294
291
  return Inspectable.format(this)
295
292
  }
@@ -4,7 +4,7 @@
4
4
 
5
5
  import * as Equal from "../Equal.js"
6
6
  import * as Hash from "../Hash.js"
7
- import { DenoInspectSymbol, format, NodeInspectSymbol, toJSON } from "../Inspectable.js"
7
+ import { format, NodeInspectSymbol, toJSON } from "../Inspectable.js"
8
8
  import type * as Option from "../Option.js"
9
9
  import { hasProperty } from "../Predicate.js"
10
10
  import { EffectPrototype } from "./effectable.js"
@@ -16,9 +16,6 @@ const CommonProto = {
16
16
  [TypeId]: {
17
17
  _A: (_: never) => _
18
18
  },
19
- [DenoInspectSymbol]<A>(this: Option.Option<A>) {
20
- return this.toJSON()
21
- },
22
19
  [NodeInspectSymbol]<A>(this: Option.Option<A>) {
23
20
  return this.toJSON()
24
21
  },
@@ -2,7 +2,7 @@ import * as Chunk from "../Chunk.js"
2
2
  import * as Equal from "../Equal.js"
3
3
  import { dual, pipe } from "../Function.js"
4
4
  import * as Hash from "../Hash.js"
5
- import { DenoInspectSymbol, format, NodeInspectSymbol, toJSON } from "../Inspectable.js"
5
+ import { format, NodeInspectSymbol, toJSON } from "../Inspectable.js"
6
6
  import * as Option from "../Option.js"
7
7
  import type * as Order from "../Order.js"
8
8
  import type * as Ordering from "../Ordering.js"
@@ -71,9 +71,6 @@ const RedBlackTreeProto: RBT.RedBlackTree<unknown, unknown> = {
71
71
  values: Array.from(this).map(toJSON)
72
72
  }
73
73
  },
74
- [DenoInspectSymbol]() {
75
- return this.toJSON()
76
- },
77
74
  [NodeInspectSymbol]() {
78
75
  return this.toJSON()
79
76
  },
@@ -195,9 +195,6 @@ class FiberFailureImpl extends Error implements Runtime.FiberFailure {
195
195
  toString(): string {
196
196
  return "(FiberFailure) " + (this.stack ?? this.message)
197
197
  }
198
- [Inspectable.DenoInspectSymbol](): unknown {
199
- return this.toString()
200
- }
201
198
  [Inspectable.NodeInspectSymbol](): unknown {
202
199
  return this.toString()
203
200
  }
@@ -8409,7 +8409,7 @@ export const Do: Stream.Stream<{}> = succeed({})
8409
8409
  export const bind = dual<
8410
8410
  <N extends string, A, B, E2, R2>(
8411
8411
  tag: Exclude<N, keyof A>,
8412
- f: (_: A) => Stream.Stream<B, E2, R2>,
8412
+ f: (_: NoInfer<A>) => Stream.Stream<B, E2, R2>,
8413
8413
  options?: {
8414
8414
  readonly concurrency?: number | "unbounded" | undefined
8415
8415
  readonly bufferSize?: number | undefined
@@ -8422,7 +8422,7 @@ export const bind = dual<
8422
8422
  <A, E, R, N extends string, B, E2, R2>(
8423
8423
  self: Stream.Stream<A, E, R>,
8424
8424
  tag: Exclude<N, keyof A>,
8425
- f: (_: A) => Stream.Stream<B, E2, R2>,
8425
+ f: (_: NoInfer<A>) => Stream.Stream<B, E2, R2>,
8426
8426
  options?: {
8427
8427
  readonly concurrency?: number | "unbounded" | undefined
8428
8428
  readonly bufferSize?: number | undefined
@@ -8457,14 +8457,14 @@ export const bindTo: {
8457
8457
  export const let_: {
8458
8458
  <N extends string, A extends object, B>(
8459
8459
  name: Exclude<N, keyof A>,
8460
- f: (a: A) => B
8460
+ f: (a: NoInfer<A>) => B
8461
8461
  ): <E, R>(
8462
8462
  self: Stream.Stream<A, E, R>
8463
8463
  ) => Stream.Stream<{ [K in N | keyof A]: K extends keyof A ? A[K] : B }, E, R>
8464
8464
  <A extends object, E, R, N extends string, B>(
8465
8465
  self: Stream.Stream<A, E, R>,
8466
8466
  name: Exclude<N, keyof A>,
8467
- f: (a: A) => B
8467
+ f: (a: NoInfer<A>) => B
8468
8468
  ): Stream.Stream<{ [K in N | keyof A]: K extends keyof A ? A[K] : B }, E, R>
8469
8469
  } = doNotation.let_<Stream.StreamTypeLambda>(map)
8470
8470
 
@@ -1,7 +1,7 @@
1
1
  import * as Equal from "../Equal.js"
2
2
  import { dual, identity, pipe } from "../Function.js"
3
3
  import * as Hash from "../Hash.js"
4
- import { DenoInspectSymbol, format, NodeInspectSymbol, toJSON } from "../Inspectable.js"
4
+ import { format, NodeInspectSymbol, toJSON } from "../Inspectable.js"
5
5
  import * as Option from "../Option.js"
6
6
  import type * as Ordering from "../Ordering.js"
7
7
  import { pipeArguments } from "../Pipeable.js"
@@ -60,9 +60,6 @@ const TrieProto: TR.Trie<unknown> = {
60
60
  values: Array.from(this).map(toJSON)
61
61
  }
62
62
  },
63
- [DenoInspectSymbol]() {
64
- return this.toJSON()
65
- },
66
63
  [NodeInspectSymbol]() {
67
64
  return this.toJSON()
68
65
  },
@@ -1,4 +1,4 @@
1
- let moduleVersion = "3.9.0"
1
+ let moduleVersion = "3.9.2"
2
2
 
3
3
  export const getCurrentVersion = () => moduleVersion
4
4