effect 4.0.0-beta.73 → 4.0.0-beta.74

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 (345) hide show
  1. package/dist/Array.d.ts +16 -16
  2. package/dist/Array.js +4 -4
  3. package/dist/Boolean.d.ts +2 -2
  4. package/dist/Boolean.js +2 -2
  5. package/dist/Channel.d.ts +63 -63
  6. package/dist/Channel.js +25 -25
  7. package/dist/Chunk.d.ts +17 -17
  8. package/dist/Chunk.js +5 -5
  9. package/dist/Context.d.ts +3 -3
  10. package/dist/Context.js +1 -1
  11. package/dist/Cron.d.ts +4 -4
  12. package/dist/Cron.js +4 -4
  13. package/dist/Deferred.d.ts +37 -37
  14. package/dist/Deferred.js +13 -13
  15. package/dist/Duration.d.ts +6 -6
  16. package/dist/Duration.js +2 -2
  17. package/dist/Effect.d.ts +58 -58
  18. package/dist/Effect.js +39 -39
  19. package/dist/Equal.d.ts +2 -2
  20. package/dist/Equal.js +2 -2
  21. package/dist/Equivalence.d.ts +1 -1
  22. package/dist/Equivalence.js +1 -1
  23. package/dist/ExecutionPlan.d.ts +2 -2
  24. package/dist/ExecutionPlan.js +1 -1
  25. package/dist/FileSystem.d.ts +6 -6
  26. package/dist/FileSystem.js +2 -2
  27. package/dist/Function.d.ts +5 -5
  28. package/dist/Function.js +5 -5
  29. package/dist/Graph.d.ts +11 -11
  30. package/dist/Graph.js +5 -5
  31. package/dist/HKT.d.ts +1 -1
  32. package/dist/HashMap.d.ts +3 -3
  33. package/dist/HashSet.d.ts +1 -1
  34. package/dist/Iterable.d.ts +15 -15
  35. package/dist/Iterable.js +5 -5
  36. package/dist/Layer.d.ts +16 -16
  37. package/dist/Layer.js +5 -5
  38. package/dist/Logger.d.ts +5 -5
  39. package/dist/Logger.js +4 -4
  40. package/dist/ManagedRuntime.d.ts +2 -2
  41. package/dist/Match.d.ts +20 -20
  42. package/dist/Match.js +16 -16
  43. package/dist/Metric.d.ts +16 -16
  44. package/dist/Metric.js +3 -3
  45. package/dist/Option.d.ts +36 -36
  46. package/dist/Option.js +17 -17
  47. package/dist/Order.d.ts +1 -1
  48. package/dist/Order.js +1 -1
  49. package/dist/Path.d.ts +1 -1
  50. package/dist/Path.js +1 -1
  51. package/dist/Pipeable.d.ts +1 -1
  52. package/dist/Pipeable.js +1 -1
  53. package/dist/Predicate.d.ts +5 -5
  54. package/dist/PubSub.d.ts +9 -9
  55. package/dist/PubSub.js +5 -5
  56. package/dist/Queue.d.ts +24 -24
  57. package/dist/Queue.js +20 -20
  58. package/dist/Record.d.ts +15 -15
  59. package/dist/Record.js +5 -5
  60. package/dist/Redacted.d.ts +2 -2
  61. package/dist/Redacted.js +1 -1
  62. package/dist/Ref.d.ts +6 -6
  63. package/dist/Ref.js +6 -6
  64. package/dist/RegExp.d.ts +1 -1
  65. package/dist/RegExp.js +1 -1
  66. package/dist/Request.d.ts +4 -4
  67. package/dist/RequestResolver.d.ts +6 -6
  68. package/dist/RequestResolver.js +2 -2
  69. package/dist/Resource.d.ts +1 -1
  70. package/dist/Resource.js +1 -1
  71. package/dist/Result.d.ts +18 -18
  72. package/dist/Result.js +11 -11
  73. package/dist/Schedule.d.ts +44 -44
  74. package/dist/Schedule.js +18 -18
  75. package/dist/Schema.d.ts +177 -459
  76. package/dist/Schema.d.ts.map +1 -1
  77. package/dist/Schema.js +25 -25
  78. package/dist/Schema.js.map +1 -1
  79. package/dist/SchemaAST.d.ts +1 -1
  80. package/dist/SchemaGetter.d.ts +13 -13
  81. package/dist/SchemaGetter.js +12 -12
  82. package/dist/SchemaParser.d.ts +3 -3
  83. package/dist/SchemaParser.js +3 -3
  84. package/dist/Scope.d.ts +1 -1
  85. package/dist/Scope.js +1 -1
  86. package/dist/Sink.d.ts +5 -5
  87. package/dist/Sink.js +3 -3
  88. package/dist/Stream.d.ts +55 -55
  89. package/dist/Stream.js +21 -21
  90. package/dist/String.d.ts +5 -5
  91. package/dist/String.js +3 -3
  92. package/dist/Struct.d.ts +8 -8
  93. package/dist/Struct.js +3 -3
  94. package/dist/SynchronizedRef.d.ts +57 -57
  95. package/dist/SynchronizedRef.js +19 -19
  96. package/dist/Terminal.d.ts +1 -1
  97. package/dist/Terminal.js +1 -1
  98. package/dist/Tracer.d.ts +5 -5
  99. package/dist/Tracer.js +2 -2
  100. package/dist/Tuple.d.ts +14 -14
  101. package/dist/Tuple.js +6 -6
  102. package/dist/TxHashMap.d.ts +3 -3
  103. package/dist/TxHashSet.d.ts +1 -1
  104. package/dist/Unify.d.ts +7 -7
  105. package/dist/Unify.js +1 -1
  106. package/dist/testing/TestClock.d.ts +5 -5
  107. package/dist/testing/TestClock.js +4 -4
  108. package/dist/testing/TestConsole.d.ts +3 -3
  109. package/dist/testing/TestConsole.js +3 -3
  110. package/dist/unstable/ai/Chat.d.ts +2 -2
  111. package/dist/unstable/ai/Chat.js +2 -2
  112. package/dist/unstable/ai/EmbeddingModel.d.ts +1 -1
  113. package/dist/unstable/ai/IdGenerator.d.ts +2 -2
  114. package/dist/unstable/ai/IdGenerator.js +1 -1
  115. package/dist/unstable/ai/LanguageModel.d.ts +4 -4
  116. package/dist/unstable/ai/LanguageModel.js +1 -1
  117. package/dist/unstable/ai/Prompt.d.ts +15 -15
  118. package/dist/unstable/ai/Prompt.js +1 -1
  119. package/dist/unstable/ai/Telemetry.d.ts +5 -5
  120. package/dist/unstable/ai/Telemetry.js +2 -2
  121. package/dist/unstable/ai/Tokenizer.d.ts +1 -1
  122. package/dist/unstable/ai/Tokenizer.js +1 -1
  123. package/dist/unstable/ai/Tool.d.ts +6 -6
  124. package/dist/unstable/ai/Tool.js +6 -6
  125. package/dist/unstable/cli/Command.d.ts.map +1 -1
  126. package/dist/unstable/cli/Command.js +1 -1
  127. package/dist/unstable/cli/Command.js.map +1 -1
  128. package/dist/unstable/cli/Param.d.ts +1 -1
  129. package/dist/unstable/cli/Primitive.d.ts +3 -3
  130. package/dist/unstable/cli/Primitive.js +1 -1
  131. package/dist/unstable/cli/Prompt.d.ts +11 -11
  132. package/dist/unstable/cli/internal/parser.js +145 -10
  133. package/dist/unstable/cli/internal/parser.js.map +1 -1
  134. package/dist/unstable/cluster/Entity.d.ts +1 -1
  135. package/dist/unstable/cluster/Entity.js +1 -1
  136. package/dist/unstable/cluster/HttpRunner.d.ts +2 -2
  137. package/dist/unstable/cluster/HttpRunner.js +2 -2
  138. package/dist/unstable/cluster/K8sHttpClient.d.ts +1 -1
  139. package/dist/unstable/cluster/K8sHttpClient.js +1 -1
  140. package/dist/unstable/cluster/Runners.d.ts +1 -1
  141. package/dist/unstable/cluster/Runners.js +1 -1
  142. package/dist/unstable/cluster/Sharding.d.ts +1 -1
  143. package/dist/unstable/cluster/Sharding.js +1 -1
  144. package/dist/unstable/cluster/SingletonAddress.d.ts +1 -1
  145. package/dist/unstable/cluster/SingletonAddress.js +1 -1
  146. package/dist/unstable/cluster/Snowflake.d.ts +5 -5
  147. package/dist/unstable/cluster/Snowflake.js +5 -5
  148. package/dist/unstable/devtools/DevToolsClient.d.ts +1 -1
  149. package/dist/unstable/devtools/DevToolsClient.js +1 -1
  150. package/dist/unstable/eventlog/EventLog.d.ts +1 -1
  151. package/dist/unstable/eventlog/EventLog.js +1 -1
  152. package/dist/unstable/eventlog/EventLogEncryption.d.ts +1 -1
  153. package/dist/unstable/eventlog/EventLogEncryption.js +1 -1
  154. package/dist/unstable/eventlog/EventLogRemote.d.ts +1 -1
  155. package/dist/unstable/eventlog/EventLogRemote.js +1 -1
  156. package/dist/unstable/eventlog/EventLogServerUnencrypted.d.ts +3 -3
  157. package/dist/unstable/eventlog/EventLogServerUnencrypted.js +3 -3
  158. package/dist/unstable/http/Cookies.d.ts +1 -1
  159. package/dist/unstable/http/Etag.d.ts +1 -1
  160. package/dist/unstable/http/Etag.js +1 -1
  161. package/dist/unstable/http/FetchHttpClient.d.ts +2 -2
  162. package/dist/unstable/http/FetchHttpClient.js +2 -2
  163. package/dist/unstable/http/HttpClient.d.ts +1 -1
  164. package/dist/unstable/http/HttpClient.js +1 -1
  165. package/dist/unstable/http/HttpClientRequest.d.ts +2 -2
  166. package/dist/unstable/http/HttpMiddleware.d.ts +1 -1
  167. package/dist/unstable/http/HttpMiddleware.js +1 -1
  168. package/dist/unstable/http/HttpPlatform.d.ts +1 -1
  169. package/dist/unstable/http/HttpPlatform.js +1 -1
  170. package/dist/unstable/http/HttpRouter.d.ts +4 -4
  171. package/dist/unstable/http/HttpRouter.js +4 -4
  172. package/dist/unstable/http/HttpServerResponse.d.ts +3 -3
  173. package/dist/unstable/http/Url.d.ts +33 -33
  174. package/dist/unstable/http/Url.js +11 -11
  175. package/dist/unstable/httpapi/HttpApi.d.ts +1 -1
  176. package/dist/unstable/httpapi/HttpApi.js +1 -1
  177. package/dist/unstable/httpapi/HttpApiError.d.ts +13 -13
  178. package/dist/unstable/httpapi/HttpApiError.js +13 -13
  179. package/dist/unstable/observability/PrometheusMetrics.d.ts +4 -4
  180. package/dist/unstable/observability/PrometheusMetrics.js +2 -2
  181. package/dist/unstable/persistence/KeyValueStore.d.ts +3 -3
  182. package/dist/unstable/persistence/KeyValueStore.js +1 -1
  183. package/dist/unstable/persistence/Persistable.d.ts +2 -2
  184. package/dist/unstable/persistence/Persistable.js +2 -2
  185. package/dist/unstable/persistence/PersistedQueue.d.ts +8 -8
  186. package/dist/unstable/persistence/PersistedQueue.js +8 -8
  187. package/dist/unstable/persistence/RateLimiter.d.ts +1 -1
  188. package/dist/unstable/persistence/RateLimiter.js +1 -1
  189. package/dist/unstable/process/ChildProcess.d.ts +5 -5
  190. package/dist/unstable/process/ChildProcess.js +2 -2
  191. package/dist/unstable/reactivity/AsyncResult.d.ts +4 -4
  192. package/dist/unstable/reactivity/AsyncResult.js +1 -1
  193. package/dist/unstable/reactivity/Atom.d.ts +1 -1
  194. package/dist/unstable/reactivity/Atom.js +1 -1
  195. package/dist/unstable/reactivity/AtomRegistry.d.ts +1 -1
  196. package/dist/unstable/reactivity/AtomRegistry.js +1 -1
  197. package/dist/unstable/reactivity/Reactivity.d.ts +1 -1
  198. package/dist/unstable/reactivity/Reactivity.js +1 -1
  199. package/dist/unstable/rpc/Rpc.d.ts +5 -5
  200. package/dist/unstable/rpc/Rpc.js +1 -1
  201. package/dist/unstable/rpc/RpcMiddleware.d.ts +1 -1
  202. package/dist/unstable/rpc/RpcMiddleware.js +1 -1
  203. package/dist/unstable/rpc/RpcSchema.d.ts +3 -3
  204. package/dist/unstable/rpc/RpcSchema.js +2 -2
  205. package/dist/unstable/schema/Model.d.ts +2 -2
  206. package/dist/unstable/schema/Model.js +1 -1
  207. package/dist/unstable/socket/Socket.d.ts +3 -3
  208. package/dist/unstable/socket/Socket.js +3 -3
  209. package/dist/unstable/socket/SocketServer.d.ts +1 -1
  210. package/dist/unstable/socket/SocketServer.js +1 -1
  211. package/dist/unstable/sql/Migrator.d.ts +1 -1
  212. package/dist/unstable/sql/SqlClient.d.ts +3 -3
  213. package/dist/unstable/sql/SqlClient.js +2 -2
  214. package/dist/unstable/sql/SqlConnection.d.ts +1 -1
  215. package/dist/unstable/sql/SqlConnection.js +1 -1
  216. package/dist/unstable/sql/Statement.d.ts +2 -2
  217. package/dist/unstable/sql/Statement.js +2 -2
  218. package/dist/unstable/workers/Transferable.d.ts +1 -1
  219. package/dist/unstable/workers/Transferable.js +1 -1
  220. package/dist/unstable/workers/Worker.d.ts +1 -1
  221. package/dist/unstable/workers/Worker.js +1 -1
  222. package/dist/unstable/workflow/Activity.d.ts +1 -1
  223. package/dist/unstable/workflow/Activity.js +1 -1
  224. package/dist/unstable/workflow/DurableDeferred.d.ts +1 -1
  225. package/dist/unstable/workflow/DurableDeferred.js +1 -1
  226. package/package.json +1 -1
  227. package/src/Array.ts +16 -16
  228. package/src/Boolean.ts +2 -2
  229. package/src/Channel.ts +67 -67
  230. package/src/Chunk.ts +18 -18
  231. package/src/Context.ts +4 -4
  232. package/src/Cron.ts +4 -4
  233. package/src/Deferred.ts +37 -37
  234. package/src/Duration.ts +6 -6
  235. package/src/Effect.ts +58 -58
  236. package/src/Equal.ts +2 -2
  237. package/src/Equivalence.ts +1 -1
  238. package/src/ExecutionPlan.ts +2 -2
  239. package/src/FileSystem.ts +6 -6
  240. package/src/Function.ts +5 -5
  241. package/src/Graph.ts +11 -11
  242. package/src/HKT.ts +1 -1
  243. package/src/HashMap.ts +3 -3
  244. package/src/HashSet.ts +1 -1
  245. package/src/Iterable.ts +15 -15
  246. package/src/Layer.ts +16 -16
  247. package/src/Logger.ts +7 -7
  248. package/src/ManagedRuntime.ts +2 -2
  249. package/src/Match.ts +20 -20
  250. package/src/Metric.ts +20 -20
  251. package/src/Option.ts +36 -36
  252. package/src/Order.ts +1 -1
  253. package/src/Path.ts +1 -1
  254. package/src/Pipeable.ts +1 -1
  255. package/src/Predicate.ts +5 -5
  256. package/src/PubSub.ts +9 -9
  257. package/src/Queue.ts +24 -24
  258. package/src/Record.ts +15 -15
  259. package/src/Redacted.ts +2 -2
  260. package/src/Ref.ts +18 -18
  261. package/src/RegExp.ts +1 -1
  262. package/src/Request.ts +4 -4
  263. package/src/RequestResolver.ts +8 -8
  264. package/src/Resource.ts +1 -1
  265. package/src/Result.ts +18 -18
  266. package/src/Schedule.ts +45 -45
  267. package/src/Schema.ts +177 -459
  268. package/src/SchemaAST.ts +1 -1
  269. package/src/SchemaGetter.ts +13 -13
  270. package/src/SchemaParser.ts +3 -3
  271. package/src/Scope.ts +1 -1
  272. package/src/Sink.ts +5 -5
  273. package/src/Stream.ts +57 -57
  274. package/src/String.ts +5 -5
  275. package/src/Struct.ts +8 -8
  276. package/src/SynchronizedRef.ts +57 -57
  277. package/src/Terminal.ts +1 -1
  278. package/src/Tracer.ts +5 -5
  279. package/src/Tuple.ts +14 -14
  280. package/src/TxHashMap.ts +3 -3
  281. package/src/TxHashSet.ts +1 -1
  282. package/src/Unify.ts +7 -7
  283. package/src/testing/TestClock.ts +5 -5
  284. package/src/testing/TestConsole.ts +3 -3
  285. package/src/unstable/ai/Chat.ts +2 -2
  286. package/src/unstable/ai/EmbeddingModel.ts +1 -1
  287. package/src/unstable/ai/IdGenerator.ts +2 -2
  288. package/src/unstable/ai/LanguageModel.ts +4 -4
  289. package/src/unstable/ai/Prompt.ts +15 -15
  290. package/src/unstable/ai/Telemetry.ts +5 -5
  291. package/src/unstable/ai/Tokenizer.ts +1 -1
  292. package/src/unstable/ai/Tool.ts +6 -6
  293. package/src/unstable/cli/Command.ts +5 -1
  294. package/src/unstable/cli/Param.ts +1 -1
  295. package/src/unstable/cli/Primitive.ts +3 -3
  296. package/src/unstable/cli/Prompt.ts +11 -11
  297. package/src/unstable/cli/internal/parser.ts +204 -10
  298. package/src/unstable/cluster/Entity.ts +1 -1
  299. package/src/unstable/cluster/HttpRunner.ts +2 -2
  300. package/src/unstable/cluster/K8sHttpClient.ts +1 -1
  301. package/src/unstable/cluster/Runners.ts +1 -1
  302. package/src/unstable/cluster/Sharding.ts +1 -1
  303. package/src/unstable/cluster/SingletonAddress.ts +1 -1
  304. package/src/unstable/cluster/Snowflake.ts +5 -5
  305. package/src/unstable/devtools/DevToolsClient.ts +1 -1
  306. package/src/unstable/eventlog/EventLog.ts +1 -1
  307. package/src/unstable/eventlog/EventLogEncryption.ts +1 -1
  308. package/src/unstable/eventlog/EventLogRemote.ts +1 -1
  309. package/src/unstable/eventlog/EventLogServerUnencrypted.ts +3 -3
  310. package/src/unstable/http/Cookies.ts +1 -1
  311. package/src/unstable/http/Etag.ts +1 -1
  312. package/src/unstable/http/FetchHttpClient.ts +2 -2
  313. package/src/unstable/http/HttpClient.ts +1 -1
  314. package/src/unstable/http/HttpClientRequest.ts +2 -2
  315. package/src/unstable/http/HttpMiddleware.ts +1 -1
  316. package/src/unstable/http/HttpPlatform.ts +1 -1
  317. package/src/unstable/http/HttpRouter.ts +4 -4
  318. package/src/unstable/http/HttpServerResponse.ts +3 -3
  319. package/src/unstable/http/Url.ts +33 -33
  320. package/src/unstable/httpapi/HttpApi.ts +1 -1
  321. package/src/unstable/httpapi/HttpApiError.ts +13 -13
  322. package/src/unstable/observability/PrometheusMetrics.ts +4 -4
  323. package/src/unstable/persistence/KeyValueStore.ts +3 -3
  324. package/src/unstable/persistence/Persistable.ts +2 -2
  325. package/src/unstable/persistence/PersistedQueue.ts +8 -8
  326. package/src/unstable/persistence/RateLimiter.ts +1 -1
  327. package/src/unstable/process/ChildProcess.ts +5 -5
  328. package/src/unstable/reactivity/AsyncResult.ts +4 -4
  329. package/src/unstable/reactivity/Atom.ts +1 -1
  330. package/src/unstable/reactivity/AtomRegistry.ts +1 -1
  331. package/src/unstable/reactivity/Reactivity.ts +1 -1
  332. package/src/unstable/rpc/Rpc.ts +5 -5
  333. package/src/unstable/rpc/RpcMiddleware.ts +1 -1
  334. package/src/unstable/rpc/RpcSchema.ts +3 -3
  335. package/src/unstable/schema/Model.ts +2 -2
  336. package/src/unstable/socket/Socket.ts +3 -3
  337. package/src/unstable/socket/SocketServer.ts +1 -1
  338. package/src/unstable/sql/Migrator.ts +1 -1
  339. package/src/unstable/sql/SqlClient.ts +3 -3
  340. package/src/unstable/sql/SqlConnection.ts +1 -1
  341. package/src/unstable/sql/Statement.ts +2 -2
  342. package/src/unstable/workers/Transferable.ts +1 -1
  343. package/src/unstable/workers/Worker.ts +1 -1
  344. package/src/unstable/workflow/Activity.ts +1 -1
  345. package/src/unstable/workflow/DurableDeferred.ts +1 -1
package/dist/String.d.ts CHANGED
@@ -194,7 +194,7 @@ export type Concat<A extends string, B extends string> = `${A}${B}`;
194
194
  * console.log(result2) // "helloworld"
195
195
  * ```
196
196
  *
197
- * @category concatenating
197
+ * @category combining
198
198
  * @since 2.0.0
199
199
  */
200
200
  export declare const concat: {
@@ -213,7 +213,7 @@ export declare const concat: {
213
213
  * console.log(result2) // "helloworld"
214
214
  * ```
215
215
  *
216
- * @category concatenating
216
+ * @category combining
217
217
  * @since 2.0.0
218
218
  */
219
219
  <B extends string>(that: B): <A extends string>(self: A) => Concat<A, B>;
@@ -232,7 +232,7 @@ export declare const concat: {
232
232
  * console.log(result2) // "helloworld"
233
233
  * ```
234
234
  *
235
- * @category concatenating
235
+ * @category combining
236
236
  * @since 2.0.0
237
237
  */
238
238
  <A extends string, B extends string>(self: A, that: B): Concat<A, B>;
@@ -489,7 +489,7 @@ export declare const isNonEmpty: (self: string) => boolean;
489
489
  * assert.deepStrictEqual(String.length("abc"), 3)
490
490
  * ```
491
491
  *
492
- * @category utils
492
+ * @category getters
493
493
  * @since 2.0.0
494
494
  */
495
495
  export declare const length: (self: string) => number;
@@ -1620,7 +1620,7 @@ export declare const snakeCase: (self: string) => string;
1620
1620
  *
1621
1621
  * @see {@link concat} for concatenating two strings directly
1622
1622
  *
1623
- * @category concatenating
1623
+ * @category combining
1624
1624
  * @since 4.0.0
1625
1625
  */
1626
1626
  export declare const ReducerConcat: Reducer.Reducer<string>;
package/dist/String.js CHANGED
@@ -179,7 +179,7 @@ export const empty = "";
179
179
  * console.log(result2) // "helloworld"
180
180
  * ```
181
181
  *
182
- * @category concatenating
182
+ * @category combining
183
183
  * @since 2.0.0
184
184
  */
185
185
  export const concat = /*#__PURE__*/dual(2, (self, that) => self + that);
@@ -396,7 +396,7 @@ export const isNonEmpty = self => self.length > 0;
396
396
  * assert.deepStrictEqual(String.length("abc"), 3)
397
397
  * ```
398
398
  *
399
- * @category utils
399
+ * @category getters
400
400
  * @since 2.0.0
401
401
  */
402
402
  export const length = self => self.length;
@@ -1249,7 +1249,7 @@ export const snakeCase = /*#__PURE__*/noCase({
1249
1249
  *
1250
1250
  * @see {@link concat} for concatenating two strings directly
1251
1251
  *
1252
- * @category concatenating
1252
+ * @category combining
1253
1253
  * @since 4.0.0
1254
1254
  */
1255
1255
  export const ReducerConcat = /*#__PURE__*/Reducer.make((a, b) => a + b, "");
package/dist/Struct.d.ts CHANGED
@@ -103,7 +103,7 @@ import * as Reducer from "./Reducer.ts";
103
103
  *
104
104
  * @see {@link Mutable} – also flattens but removes `readonly`
105
105
  * @see {@link Assign} – merges two types with right-side precedence
106
- * @category Type-Level Programming
106
+ * @category utility types
107
107
  * @since 4.0.0
108
108
  */
109
109
  export type Simplify<T> = {
@@ -132,7 +132,7 @@ export type Simplify<T> = {
132
132
  * ```
133
133
  *
134
134
  * @see {@link Simplify} – flattens intersections without removing `readonly`
135
- * @category Type-Level Programming
135
+ * @category utility types
136
136
  * @since 4.0.0
137
137
  */
138
138
  export type Mutable<T> = {
@@ -164,7 +164,7 @@ export type Mutable<T> = {
164
164
  *
165
165
  * @see {@link assign} – the runtime equivalent
166
166
  * @see {@link Simplify} – flatten the resulting intersection
167
- * @category Type-Level Programming
167
+ * @category utility types
168
168
  * @since 4.0.0
169
169
  */
170
170
  export type Assign<T, U> = Simplify<keyof T & keyof U extends never ? T & U : Omit<T, keyof T & keyof U> & U>;
@@ -782,7 +782,7 @@ type EntryEvolved<S, E> = {
782
782
  *
783
783
  * @see {@link evolve} – transform values only
784
784
  * @see {@link evolveKeys} – transform keys only
785
- * @category utils
785
+ * @category transforming
786
786
  * @since 4.0.0
787
787
  */
788
788
  export declare const evolveEntries: {
@@ -816,7 +816,7 @@ export declare const evolveEntries: {
816
816
  *
817
817
  * @see {@link evolve} – transform values only
818
818
  * @see {@link evolveKeys} – transform keys only
819
- * @category utils
819
+ * @category transforming
820
820
  * @since 4.0.0
821
821
  */
822
822
  <S extends object, E extends EntryEvolver<S>>(e: E): (self: S) => EntryEvolved<S, E>;
@@ -850,7 +850,7 @@ export declare const evolveEntries: {
850
850
  *
851
851
  * @see {@link evolve} – transform values only
852
852
  * @see {@link evolveKeys} – transform keys only
853
- * @category utils
853
+ * @category transforming
854
854
  * @since 4.0.0
855
855
  */
856
856
  <S extends object, E extends EntryEvolver<S>>(self: S, e: E): EntryEvolved<S, E>;
@@ -986,7 +986,7 @@ export declare const renameKeys: {
986
986
  * ```
987
987
  *
988
988
  * @see {@link makeOrder} – create an `Order` for structs
989
- * @category Equivalence
989
+ * @category instances
990
990
  * @since 4.0.0
991
991
  */
992
992
  export declare const makeEquivalence: typeof Equivalence.Struct;
@@ -1020,7 +1020,7 @@ export declare const makeEquivalence: typeof Equivalence.Struct;
1020
1020
  * ```
1021
1021
  *
1022
1022
  * @see {@link makeEquivalence} – create an `Equivalence` for structs
1023
- * @category Ordering
1023
+ * @category ordering
1024
1024
  * @since 4.0.0
1025
1025
  */
1026
1026
  export declare const makeOrder: typeof order.Struct;
package/dist/Struct.js CHANGED
@@ -327,7 +327,7 @@ export const evolveKeys = /*#__PURE__*/dual(2, (self, e) => {
327
327
  *
328
328
  * @see {@link evolve} – transform values only
329
329
  * @see {@link evolveKeys} – transform keys only
330
- * @category utils
330
+ * @category transforming
331
331
  * @since 4.0.0
332
332
  */
333
333
  export const evolveEntries = /*#__PURE__*/dual(2, (self, e) => {
@@ -397,7 +397,7 @@ export const renameKeys = /*#__PURE__*/dual(2, (self, mapping) => {
397
397
  * ```
398
398
  *
399
399
  * @see {@link makeOrder} – create an `Order` for structs
400
- * @category Equivalence
400
+ * @category instances
401
401
  * @since 4.0.0
402
402
  */
403
403
  export const makeEquivalence = Equivalence.Struct;
@@ -431,7 +431,7 @@ export const makeEquivalence = Equivalence.Struct;
431
431
  * ```
432
432
  *
433
433
  * @see {@link makeEquivalence} – create an `Equivalence` for structs
434
- * @category Ordering
434
+ * @category ordering
435
435
  * @since 4.0.0
436
436
  */
437
437
  export const makeOrder = order.Struct;
@@ -121,7 +121,7 @@ export declare const get: <A>(self: SynchronizedRef<A>) => Effect.Effect<A>;
121
121
  * @see {@link setAndGet} for setting a value and returning the new value
122
122
  * @see {@link getAndUpdate} for deriving the new value from the current value
123
123
  *
124
- * @category utils
124
+ * @category mutations
125
125
  * @since 2.0.0
126
126
  */
127
127
  export declare const getAndSet: {
@@ -138,7 +138,7 @@ export declare const getAndSet: {
138
138
  * @see {@link setAndGet} for setting a value and returning the new value
139
139
  * @see {@link getAndUpdate} for deriving the new value from the current value
140
140
  *
141
- * @category utils
141
+ * @category mutations
142
142
  * @since 2.0.0
143
143
  */
144
144
  <A>(value: A): (self: SynchronizedRef<A>) => Effect.Effect<A>;
@@ -155,7 +155,7 @@ export declare const getAndSet: {
155
155
  * @see {@link setAndGet} for setting a value and returning the new value
156
156
  * @see {@link getAndUpdate} for deriving the new value from the current value
157
157
  *
158
- * @category utils
158
+ * @category mutations
159
159
  * @since 2.0.0
160
160
  */
161
161
  <A>(self: SynchronizedRef<A>, value: A): Effect.Effect<A>;
@@ -172,7 +172,7 @@ export declare const getAndSet: {
172
172
  * @see {@link updateAndGet} for updating and returning the new value
173
173
  * @see {@link getAndUpdateEffect} for effectful updates that return the previous value
174
174
  *
175
- * @category utils
175
+ * @category mutations
176
176
  * @since 2.0.0
177
177
  */
178
178
  export declare const getAndUpdate: {
@@ -188,7 +188,7 @@ export declare const getAndUpdate: {
188
188
  * @see {@link updateAndGet} for updating and returning the new value
189
189
  * @see {@link getAndUpdateEffect} for effectful updates that return the previous value
190
190
  *
191
- * @category utils
191
+ * @category mutations
192
192
  * @since 2.0.0
193
193
  */
194
194
  <A>(f: (a: A) => A): (self: SynchronizedRef<A>) => Effect.Effect<A>;
@@ -204,7 +204,7 @@ export declare const getAndUpdate: {
204
204
  * @see {@link updateAndGet} for updating and returning the new value
205
205
  * @see {@link getAndUpdateEffect} for effectful updates that return the previous value
206
206
  *
207
- * @category utils
207
+ * @category mutations
208
208
  * @since 2.0.0
209
209
  */
210
210
  <A>(self: SynchronizedRef<A>, f: (a: A) => A): Effect.Effect<A>;
@@ -223,7 +223,7 @@ export declare const getAndUpdate: {
223
223
  * @see {@link modifyEffect} for effectful updates with a custom return value
224
224
  * @see {@link getAndUpdateSomeEffect} for conditional effectful updates that return the previous value
225
225
  *
226
- * @category utils
226
+ * @category mutations
227
227
  * @since 2.0.0
228
228
  */
229
229
  export declare const getAndUpdateEffect: {
@@ -241,7 +241,7 @@ export declare const getAndUpdateEffect: {
241
241
  * @see {@link modifyEffect} for effectful updates with a custom return value
242
242
  * @see {@link getAndUpdateSomeEffect} for conditional effectful updates that return the previous value
243
243
  *
244
- * @category utils
244
+ * @category mutations
245
245
  * @since 2.0.0
246
246
  */
247
247
  <A, R, E>(f: (a: A) => Effect.Effect<A, E, R>): (self: SynchronizedRef<A>) => Effect.Effect<A, E, R>;
@@ -259,7 +259,7 @@ export declare const getAndUpdateEffect: {
259
259
  * @see {@link modifyEffect} for effectful updates with a custom return value
260
260
  * @see {@link getAndUpdateSomeEffect} for conditional effectful updates that return the previous value
261
261
  *
262
- * @category utils
262
+ * @category mutations
263
263
  * @since 2.0.0
264
264
  */
265
265
  <A, R, E>(self: SynchronizedRef<A>, f: (a: A) => Effect.Effect<A, E, R>): Effect.Effect<A, E, R>;
@@ -276,7 +276,7 @@ export declare const getAndUpdateEffect: {
276
276
  * @see {@link getAndUpdate} for always applying a pure update
277
277
  * @see {@link updateSome} for applying a pure conditional update without returning the previous value
278
278
  *
279
- * @category utils
279
+ * @category mutations
280
280
  * @since 2.0.0
281
281
  */
282
282
  export declare const getAndUpdateSome: {
@@ -292,7 +292,7 @@ export declare const getAndUpdateSome: {
292
292
  * @see {@link getAndUpdate} for always applying a pure update
293
293
  * @see {@link updateSome} for applying a pure conditional update without returning the previous value
294
294
  *
295
- * @category utils
295
+ * @category mutations
296
296
  * @since 2.0.0
297
297
  */
298
298
  <A>(pf: (a: A) => Option.Option<A>): (self: SynchronizedRef<A>) => Effect.Effect<A>;
@@ -308,7 +308,7 @@ export declare const getAndUpdateSome: {
308
308
  * @see {@link getAndUpdate} for always applying a pure update
309
309
  * @see {@link updateSome} for applying a pure conditional update without returning the previous value
310
310
  *
311
- * @category utils
311
+ * @category mutations
312
312
  * @since 2.0.0
313
313
  */
314
314
  <A>(self: SynchronizedRef<A>, pf: (a: A) => Option.Option<A>): Effect.Effect<A>;
@@ -326,7 +326,7 @@ export declare const getAndUpdateSome: {
326
326
  * @see {@link getAndUpdateSome} for the pure conditional variant
327
327
  * @see {@link updateSomeEffect} for effectful conditional updates without returning the previous value
328
328
  *
329
- * @category utils
329
+ * @category mutations
330
330
  * @since 2.0.0
331
331
  */
332
332
  export declare const getAndUpdateSomeEffect: {
@@ -343,7 +343,7 @@ export declare const getAndUpdateSomeEffect: {
343
343
  * @see {@link getAndUpdateSome} for the pure conditional variant
344
344
  * @see {@link updateSomeEffect} for effectful conditional updates without returning the previous value
345
345
  *
346
- * @category utils
346
+ * @category mutations
347
347
  * @since 2.0.0
348
348
  */
349
349
  <A, R, E>(pf: (a: A) => Effect.Effect<Option.Option<A>, E, R>): (self: SynchronizedRef<A>) => Effect.Effect<A, E, R>;
@@ -360,7 +360,7 @@ export declare const getAndUpdateSomeEffect: {
360
360
  * @see {@link getAndUpdateSome} for the pure conditional variant
361
361
  * @see {@link updateSomeEffect} for effectful conditional updates without returning the previous value
362
362
  *
363
- * @category utils
363
+ * @category mutations
364
364
  * @since 2.0.0
365
365
  */
366
366
  <A, R, E>(self: SynchronizedRef<A>, pf: (a: A) => Effect.Effect<Option.Option<A>, E, R>): Effect.Effect<A, E, R>;
@@ -378,7 +378,7 @@ export declare const getAndUpdateSomeEffect: {
378
378
  * @see {@link modifySome} for deriving a result and optionally updating the stored value
379
379
  * @see {@link updateAndGet} for returning the new stored value instead of a separate result
380
380
  *
381
- * @category utils
381
+ * @category mutations
382
382
  * @since 2.0.0
383
383
  */
384
384
  export declare const modify: {
@@ -395,7 +395,7 @@ export declare const modify: {
395
395
  * @see {@link modifySome} for deriving a result and optionally updating the stored value
396
396
  * @see {@link updateAndGet} for returning the new stored value instead of a separate result
397
397
  *
398
- * @category utils
398
+ * @category mutations
399
399
  * @since 2.0.0
400
400
  */
401
401
  <A, B>(f: (a: A) => readonly [B, A]): (self: SynchronizedRef<A>) => Effect.Effect<B>;
@@ -412,7 +412,7 @@ export declare const modify: {
412
412
  * @see {@link modifySome} for deriving a result and optionally updating the stored value
413
413
  * @see {@link updateAndGet} for returning the new stored value instead of a separate result
414
414
  *
415
- * @category utils
415
+ * @category mutations
416
416
  * @since 2.0.0
417
417
  */
418
418
  <A, B>(self: SynchronizedRef<A>, f: (a: A) => readonly [B, A]): Effect.Effect<B>;
@@ -429,7 +429,7 @@ export declare const modify: {
429
429
  * @see {@link modify} for the pure variant
430
430
  * @see {@link updateEffect} for effectfully storing a new value without a separate result
431
431
  *
432
- * @category utils
432
+ * @category mutations
433
433
  * @since 2.0.0
434
434
  */
435
435
  export declare const modifyEffect: {
@@ -445,7 +445,7 @@ export declare const modifyEffect: {
445
445
  * @see {@link modify} for the pure variant
446
446
  * @see {@link updateEffect} for effectfully storing a new value without a separate result
447
447
  *
448
- * @category utils
448
+ * @category mutations
449
449
  * @since 2.0.0
450
450
  */
451
451
  <A, B, E, R>(f: (a: A) => Effect.Effect<readonly [B, A], E, R>): (self: SynchronizedRef<A>) => Effect.Effect<B, E, R>;
@@ -461,7 +461,7 @@ export declare const modifyEffect: {
461
461
  * @see {@link modify} for the pure variant
462
462
  * @see {@link updateEffect} for effectfully storing a new value without a separate result
463
463
  *
464
- * @category utils
464
+ * @category mutations
465
465
  * @since 2.0.0
466
466
  */
467
467
  <A, B, E, R>(self: SynchronizedRef<A>, f: (a: A) => Effect.Effect<readonly [B, A], E, R>): Effect.Effect<B, E, R>;
@@ -477,7 +477,7 @@ export declare const modifyEffect: {
477
477
  * @see {@link modify} for always storing a new value
478
478
  * @see {@link updateSome} for optional updates without a separate return value
479
479
  *
480
- * @category utils
480
+ * @category mutations
481
481
  * @since 2.0.0
482
482
  */
483
483
  export declare const modifySome: {
@@ -492,7 +492,7 @@ export declare const modifySome: {
492
492
  * @see {@link modify} for always storing a new value
493
493
  * @see {@link updateSome} for optional updates without a separate return value
494
494
  *
495
- * @category utils
495
+ * @category mutations
496
496
  * @since 2.0.0
497
497
  */
498
498
  <B, A>(pf: (a: A) => readonly [B, Option.Option<A>]): (self: SynchronizedRef<A>) => Effect.Effect<B>;
@@ -507,7 +507,7 @@ export declare const modifySome: {
507
507
  * @see {@link modify} for always storing a new value
508
508
  * @see {@link updateSome} for optional updates without a separate return value
509
509
  *
510
- * @category utils
510
+ * @category mutations
511
511
  * @since 2.0.0
512
512
  */
513
513
  <A, B>(self: SynchronizedRef<A>, pf: (a: A) => readonly [B, Option.Option<A>]): Effect.Effect<B>;
@@ -525,7 +525,7 @@ export declare const modifySome: {
525
525
  * @see {@link modifySome} for the pure variant
526
526
  * @see {@link updateSomeEffect} for effectful optional updates without a separate return value
527
527
  *
528
- * @category utils
528
+ * @category mutations
529
529
  * @since 2.0.0
530
530
  */
531
531
  export declare const modifySomeEffect: {
@@ -542,7 +542,7 @@ export declare const modifySomeEffect: {
542
542
  * @see {@link modifySome} for the pure variant
543
543
  * @see {@link updateSomeEffect} for effectful optional updates without a separate return value
544
544
  *
545
- * @category utils
545
+ * @category mutations
546
546
  * @since 2.0.0
547
547
  */
548
548
  <A, B, R, E>(fallback: B, pf: (a: A) => Effect.Effect<readonly [B, Option.Option<A>], E, R>): (self: SynchronizedRef<A>) => Effect.Effect<B, E, R>;
@@ -559,7 +559,7 @@ export declare const modifySomeEffect: {
559
559
  * @see {@link modifySome} for the pure variant
560
560
  * @see {@link updateSomeEffect} for effectful optional updates without a separate return value
561
561
  *
562
- * @category utils
562
+ * @category mutations
563
563
  * @since 2.0.0
564
564
  */
565
565
  <A, B, R, E>(self: SynchronizedRef<A>, pf: (a: A) => Effect.Effect<readonly [B, Option.Option<A>], E, R>): Effect.Effect<B, E, R>;
@@ -576,7 +576,7 @@ export declare const modifySomeEffect: {
576
576
  * @see {@link setAndGet} for replacing the value when the new value should be returned
577
577
  * @see {@link update} for deriving the next value from the current value
578
578
  *
579
- * @category utils
579
+ * @category mutations
580
580
  * @since 2.0.0
581
581
  */
582
582
  export declare const set: {
@@ -592,7 +592,7 @@ export declare const set: {
592
592
  * @see {@link setAndGet} for replacing the value when the new value should be returned
593
593
  * @see {@link update} for deriving the next value from the current value
594
594
  *
595
- * @category utils
595
+ * @category mutations
596
596
  * @since 2.0.0
597
597
  */
598
598
  <A>(value: A): (self: SynchronizedRef<A>) => Effect.Effect<void>;
@@ -608,7 +608,7 @@ export declare const set: {
608
608
  * @see {@link setAndGet} for replacing the value when the new value should be returned
609
609
  * @see {@link update} for deriving the next value from the current value
610
610
  *
611
- * @category utils
611
+ * @category mutations
612
612
  * @since 2.0.0
613
613
  */
614
614
  <A>(self: SynchronizedRef<A>, value: A): Effect.Effect<void>;
@@ -624,7 +624,7 @@ export declare const set: {
624
624
  * @see {@link set} for setting without returning a value
625
625
  * @see {@link getAndSet} for setting while returning the previous value
626
626
  *
627
- * @category utils
627
+ * @category mutations
628
628
  * @since 2.0.0
629
629
  */
630
630
  export declare const setAndGet: {
@@ -639,7 +639,7 @@ export declare const setAndGet: {
639
639
  * @see {@link set} for setting without returning a value
640
640
  * @see {@link getAndSet} for setting while returning the previous value
641
641
  *
642
- * @category utils
642
+ * @category mutations
643
643
  * @since 2.0.0
644
644
  */
645
645
  <A>(value: A): (self: SynchronizedRef<A>) => Effect.Effect<A>;
@@ -654,7 +654,7 @@ export declare const setAndGet: {
654
654
  * @see {@link set} for setting without returning a value
655
655
  * @see {@link getAndSet} for setting while returning the previous value
656
656
  *
657
- * @category utils
657
+ * @category mutations
658
658
  * @since 2.0.0
659
659
  */
660
660
  <A>(self: SynchronizedRef<A>, value: A): Effect.Effect<A>;
@@ -672,7 +672,7 @@ export declare const setAndGet: {
672
672
  * @see {@link updateAndGet} for returning the new stored value
673
673
  * @see {@link getAndUpdate} for returning the previous stored value
674
674
  *
675
- * @category utils
675
+ * @category mutations
676
676
  * @since 2.0.0
677
677
  */
678
678
  export declare const update: {
@@ -689,7 +689,7 @@ export declare const update: {
689
689
  * @see {@link updateAndGet} for returning the new stored value
690
690
  * @see {@link getAndUpdate} for returning the previous stored value
691
691
  *
692
- * @category utils
692
+ * @category mutations
693
693
  * @since 2.0.0
694
694
  */
695
695
  <A>(f: (a: A) => A): (self: SynchronizedRef<A>) => Effect.Effect<void>;
@@ -706,7 +706,7 @@ export declare const update: {
706
706
  * @see {@link updateAndGet} for returning the new stored value
707
707
  * @see {@link getAndUpdate} for returning the previous stored value
708
708
  *
709
- * @category utils
709
+ * @category mutations
710
710
  * @since 2.0.0
711
711
  */
712
712
  <A>(self: SynchronizedRef<A>, f: (a: A) => A): Effect.Effect<void>;
@@ -726,7 +726,7 @@ export declare const update: {
726
726
  * @see {@link modifyEffect} for returning a separate result while storing a new value
727
727
  * @see {@link updateSomeEffect} for effectfully applying only some state transitions
728
728
  *
729
- * @category utils
729
+ * @category mutations
730
730
  * @since 2.0.0
731
731
  */
732
732
  export declare const updateEffect: {
@@ -745,7 +745,7 @@ export declare const updateEffect: {
745
745
  * @see {@link modifyEffect} for returning a separate result while storing a new value
746
746
  * @see {@link updateSomeEffect} for effectfully applying only some state transitions
747
747
  *
748
- * @category utils
748
+ * @category mutations
749
749
  * @since 2.0.0
750
750
  */
751
751
  <A, R, E>(f: (a: A) => Effect.Effect<A, E, R>): (self: SynchronizedRef<A>) => Effect.Effect<void, E, R>;
@@ -764,7 +764,7 @@ export declare const updateEffect: {
764
764
  * @see {@link modifyEffect} for returning a separate result while storing a new value
765
765
  * @see {@link updateSomeEffect} for effectfully applying only some state transitions
766
766
  *
767
- * @category utils
767
+ * @category mutations
768
768
  * @since 2.0.0
769
769
  */
770
770
  <A, R, E>(self: SynchronizedRef<A>, f: (a: A) => Effect.Effect<A, E, R>): Effect.Effect<void, E, R>;
@@ -780,7 +780,7 @@ export declare const updateEffect: {
780
780
  * @see {@link update} for updating without returning the new value
781
781
  * @see {@link getAndUpdate} for updating while returning the previous value
782
782
  *
783
- * @category utils
783
+ * @category mutations
784
784
  * @since 2.0.0
785
785
  */
786
786
  export declare const updateAndGet: {
@@ -795,7 +795,7 @@ export declare const updateAndGet: {
795
795
  * @see {@link update} for updating without returning the new value
796
796
  * @see {@link getAndUpdate} for updating while returning the previous value
797
797
  *
798
- * @category utils
798
+ * @category mutations
799
799
  * @since 2.0.0
800
800
  */
801
801
  <A>(f: (a: A) => A): (self: SynchronizedRef<A>) => Effect.Effect<A>;
@@ -810,7 +810,7 @@ export declare const updateAndGet: {
810
810
  * @see {@link update} for updating without returning the new value
811
811
  * @see {@link getAndUpdate} for updating while returning the previous value
812
812
  *
813
- * @category utils
813
+ * @category mutations
814
814
  * @since 2.0.0
815
815
  */
816
816
  <A>(self: SynchronizedRef<A>, f: (a: A) => A): Effect.Effect<A>;
@@ -826,7 +826,7 @@ export declare const updateAndGet: {
826
826
  * @see {@link updateEffect} for effectful updates without returning the new value
827
827
  * @see {@link updateAndGet} for the pure variant
828
828
  *
829
- * @category utils
829
+ * @category mutations
830
830
  * @since 2.0.0
831
831
  */
832
832
  export declare const updateAndGetEffect: {
@@ -841,7 +841,7 @@ export declare const updateAndGetEffect: {
841
841
  * @see {@link updateEffect} for effectful updates without returning the new value
842
842
  * @see {@link updateAndGet} for the pure variant
843
843
  *
844
- * @category utils
844
+ * @category mutations
845
845
  * @since 2.0.0
846
846
  */
847
847
  <A, R, E>(f: (a: A) => Effect.Effect<A, E, R>): (self: SynchronizedRef<A>) => Effect.Effect<A, E, R>;
@@ -856,7 +856,7 @@ export declare const updateAndGetEffect: {
856
856
  * @see {@link updateEffect} for effectful updates without returning the new value
857
857
  * @see {@link updateAndGet} for the pure variant
858
858
  *
859
- * @category utils
859
+ * @category mutations
860
860
  * @since 2.0.0
861
861
  */
862
862
  <A, R, E>(self: SynchronizedRef<A>, f: (a: A) => Effect.Effect<A, E, R>): Effect.Effect<A, E, R>;
@@ -872,7 +872,7 @@ export declare const updateAndGetEffect: {
872
872
  * @see {@link update} for always applying a pure update
873
873
  * @see {@link updateSomeAndGet} for returning the resulting current value
874
874
  *
875
- * @category utils
875
+ * @category mutations
876
876
  * @since 2.0.0
877
877
  */
878
878
  export declare const updateSome: {
@@ -887,7 +887,7 @@ export declare const updateSome: {
887
887
  * @see {@link update} for always applying a pure update
888
888
  * @see {@link updateSomeAndGet} for returning the resulting current value
889
889
  *
890
- * @category utils
890
+ * @category mutations
891
891
  * @since 2.0.0
892
892
  */
893
893
  <A>(f: (a: A) => Option.Option<A>): (self: SynchronizedRef<A>) => Effect.Effect<void>;
@@ -902,7 +902,7 @@ export declare const updateSome: {
902
902
  * @see {@link update} for always applying a pure update
903
903
  * @see {@link updateSomeAndGet} for returning the resulting current value
904
904
  *
905
- * @category utils
905
+ * @category mutations
906
906
  * @since 2.0.0
907
907
  */
908
908
  <A>(self: SynchronizedRef<A>, f: (a: A) => Option.Option<A>): Effect.Effect<void>;
@@ -918,7 +918,7 @@ export declare const updateSome: {
918
918
  * @see {@link updateSome} for the pure conditional variant
919
919
  * @see {@link updateEffect} for effectful updates that always store a new value
920
920
  *
921
- * @category utils
921
+ * @category mutations
922
922
  * @since 2.0.0
923
923
  */
924
924
  export declare const updateSomeEffect: {
@@ -933,7 +933,7 @@ export declare const updateSomeEffect: {
933
933
  * @see {@link updateSome} for the pure conditional variant
934
934
  * @see {@link updateEffect} for effectful updates that always store a new value
935
935
  *
936
- * @category utils
936
+ * @category mutations
937
937
  * @since 2.0.0
938
938
  */
939
939
  <A, R, E>(pf: (a: A) => Effect.Effect<Option.Option<A>, E, R>): (self: SynchronizedRef<A>) => Effect.Effect<void, E, R>;
@@ -948,7 +948,7 @@ export declare const updateSomeEffect: {
948
948
  * @see {@link updateSome} for the pure conditional variant
949
949
  * @see {@link updateEffect} for effectful updates that always store a new value
950
950
  *
951
- * @category utils
951
+ * @category mutations
952
952
  * @since 2.0.0
953
953
  */
954
954
  <A, R, E>(self: SynchronizedRef<A>, pf: (a: A) => Effect.Effect<Option.Option<A>, E, R>): Effect.Effect<void, E, R>;
@@ -966,7 +966,7 @@ export declare const updateSomeEffect: {
966
966
  * @see {@link updateSome} for conditional updates without returning a value
967
967
  * @see {@link updateAndGet} for always applying a pure update and returning the new value
968
968
  *
969
- * @category utils
969
+ * @category mutations
970
970
  * @since 2.0.0
971
971
  */
972
972
  export declare const updateSomeAndGet: {
@@ -983,7 +983,7 @@ export declare const updateSomeAndGet: {
983
983
  * @see {@link updateSome} for conditional updates without returning a value
984
984
  * @see {@link updateAndGet} for always applying a pure update and returning the new value
985
985
  *
986
- * @category utils
986
+ * @category mutations
987
987
  * @since 2.0.0
988
988
  */
989
989
  <A>(pf: (a: A) => Option.Option<A>): (self: SynchronizedRef<A>) => Effect.Effect<A>;
@@ -1000,7 +1000,7 @@ export declare const updateSomeAndGet: {
1000
1000
  * @see {@link updateSome} for conditional updates without returning a value
1001
1001
  * @see {@link updateAndGet} for always applying a pure update and returning the new value
1002
1002
  *
1003
- * @category utils
1003
+ * @category mutations
1004
1004
  * @since 2.0.0
1005
1005
  */
1006
1006
  <A>(self: SynchronizedRef<A>, pf: (a: A) => Option.Option<A>): Effect.Effect<A>;
@@ -1018,7 +1018,7 @@ export declare const updateSomeAndGet: {
1018
1018
  * @see {@link updateSomeEffect} for effectful conditional updates without returning a value
1019
1019
  * @see {@link updateAndGetEffect} for effectful updates that always store and return a new value
1020
1020
  *
1021
- * @category utils
1021
+ * @category mutations
1022
1022
  * @since 2.0.0
1023
1023
  */
1024
1024
  export declare const updateSomeAndGetEffect: {
@@ -1035,7 +1035,7 @@ export declare const updateSomeAndGetEffect: {
1035
1035
  * @see {@link updateSomeEffect} for effectful conditional updates without returning a value
1036
1036
  * @see {@link updateAndGetEffect} for effectful updates that always store and return a new value
1037
1037
  *
1038
- * @category utils
1038
+ * @category mutations
1039
1039
  * @since 2.0.0
1040
1040
  */
1041
1041
  <A, R, E>(pf: (a: A) => Effect.Effect<Option.Option<A>, E, R>): (self: SynchronizedRef<A>) => Effect.Effect<A, E, R>;
@@ -1052,7 +1052,7 @@ export declare const updateSomeAndGetEffect: {
1052
1052
  * @see {@link updateSomeEffect} for effectful conditional updates without returning a value
1053
1053
  * @see {@link updateAndGetEffect} for effectful updates that always store and return a new value
1054
1054
  *
1055
- * @category utils
1055
+ * @category mutations
1056
1056
  * @since 2.0.0
1057
1057
  */
1058
1058
  <A, R, E>(self: SynchronizedRef<A>, pf: (a: A) => Effect.Effect<Option.Option<A>, E, R>): Effect.Effect<A, E, R>;