effect 2.0.0-next.50 → 2.0.0-next.51
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/BigDecimal/dist/effect-BigDecimal.cjs.d.mts +2 -0
- package/BigDecimal/dist/effect-BigDecimal.cjs.d.mts.map +1 -0
- package/BigDecimal/dist/effect-BigDecimal.cjs.d.ts +2 -0
- package/BigDecimal/dist/effect-BigDecimal.cjs.d.ts.map +1 -0
- package/BigDecimal/dist/effect-BigDecimal.cjs.dev.js +914 -0
- package/BigDecimal/dist/effect-BigDecimal.cjs.js +7 -0
- package/BigDecimal/dist/effect-BigDecimal.cjs.mjs +38 -0
- package/BigDecimal/dist/effect-BigDecimal.cjs.prod.js +914 -0
- package/BigDecimal/dist/effect-BigDecimal.esm.js +869 -0
- package/BigDecimal/package.json +4 -0
- package/Cache/dist/effect-Cache.cjs.dev.js +21 -21
- package/Cache/dist/effect-Cache.cjs.prod.js +21 -21
- package/Cause/dist/effect-Cause.cjs.dev.js +4 -4
- package/Cause/dist/effect-Cause.cjs.prod.js +4 -4
- package/Channel/dist/effect-Channel.cjs.dev.js +33 -33
- package/Channel/dist/effect-Channel.cjs.prod.js +33 -33
- package/ChannelSingleProducerAsyncInput/dist/effect-ChannelSingleProducerAsyncInput.cjs.dev.js +28 -28
- package/ChannelSingleProducerAsyncInput/dist/effect-ChannelSingleProducerAsyncInput.cjs.prod.js +28 -28
- package/Chunk/dist/effect-Chunk.cjs.dev.js +2 -7
- package/Chunk/dist/effect-Chunk.cjs.mjs +0 -1
- package/Chunk/dist/effect-Chunk.cjs.prod.js +2 -7
- package/Chunk/dist/effect-Chunk.esm.js +3 -7
- package/Clock/dist/effect-Clock.cjs.dev.js +10 -10
- package/Clock/dist/effect-Clock.cjs.prod.js +10 -10
- package/Config/dist/effect-Config.cjs.dev.js +7 -7
- package/Config/dist/effect-Config.cjs.prod.js +7 -7
- package/ConfigError/dist/effect-ConfigError.cjs.dev.js +1 -1
- package/ConfigError/dist/effect-ConfigError.cjs.prod.js +1 -1
- package/ConfigProvider/dist/effect-ConfigProvider.cjs.dev.js +9 -9
- package/ConfigProvider/dist/effect-ConfigProvider.cjs.prod.js +9 -9
- package/ConfigProviderPathPatch/dist/effect-ConfigProviderPathPatch.cjs.dev.js +2 -2
- package/ConfigProviderPathPatch/dist/effect-ConfigProviderPathPatch.cjs.prod.js +2 -2
- package/ConfigSecret/dist/effect-ConfigSecret.cjs.dev.js +1 -1
- package/ConfigSecret/dist/effect-ConfigSecret.cjs.prod.js +1 -1
- package/Console/dist/effect-Console.cjs.dev.js +25 -25
- package/Console/dist/effect-Console.cjs.prod.js +25 -25
- package/Data/dist/effect-Data.cjs.dev.js +148 -58
- package/Data/dist/effect-Data.cjs.prod.js +148 -58
- package/Data/dist/effect-Data.esm.js +121 -31
- package/DefaultServices/dist/effect-DefaultServices.cjs.dev.js +10 -10
- package/DefaultServices/dist/effect-DefaultServices.cjs.prod.js +10 -10
- package/Deferred/dist/effect-Deferred.cjs.dev.js +4 -4
- package/Deferred/dist/effect-Deferred.cjs.prod.js +4 -4
- package/Differ/dist/effect-Differ.cjs.dev.js +1 -1
- package/Differ/dist/effect-Differ.cjs.prod.js +1 -1
- package/Effect/dist/effect-Effect.cjs.dev.js +27 -27
- package/Effect/dist/effect-Effect.cjs.prod.js +27 -27
- package/Exit/dist/effect-Exit.cjs.dev.js +4 -4
- package/Exit/dist/effect-Exit.cjs.prod.js +4 -4
- package/Fiber/dist/effect-Fiber.cjs.dev.js +22 -22
- package/Fiber/dist/effect-Fiber.cjs.prod.js +22 -22
- package/FiberId/dist/effect-FiberId.cjs.dev.js +2 -2
- package/FiberId/dist/effect-FiberId.cjs.prod.js +2 -2
- package/FiberRef/dist/effect-FiberRef.cjs.dev.js +22 -22
- package/FiberRef/dist/effect-FiberRef.cjs.prod.js +22 -22
- package/FiberRefs/dist/effect-FiberRefs.cjs.dev.js +5 -5
- package/FiberRefs/dist/effect-FiberRefs.cjs.prod.js +5 -5
- package/FiberRefsPatch/dist/effect-FiberRefsPatch.cjs.dev.js +6 -6
- package/FiberRefsPatch/dist/effect-FiberRefsPatch.cjs.prod.js +6 -6
- package/GroupBy/dist/effect-GroupBy.cjs.dev.js +34 -34
- package/GroupBy/dist/effect-GroupBy.cjs.prod.js +34 -34
- package/HashMap/dist/effect-HashMap.cjs.dev.js +1 -1
- package/HashMap/dist/effect-HashMap.cjs.prod.js +1 -1
- package/HashSet/dist/effect-HashSet.cjs.dev.js +1 -1
- package/HashSet/dist/effect-HashSet.cjs.prod.js +1 -1
- package/KeyedPool/dist/effect-KeyedPool.cjs.dev.js +22 -22
- package/KeyedPool/dist/effect-KeyedPool.cjs.prod.js +22 -22
- package/Layer/dist/effect-Layer.cjs.dev.js +28 -28
- package/Layer/dist/effect-Layer.cjs.prod.js +28 -28
- package/List/dist/effect-List.cjs.dev.js +4 -7
- package/List/dist/effect-List.cjs.mjs +0 -1
- package/List/dist/effect-List.cjs.prod.js +4 -7
- package/List/dist/effect-List.esm.js +5 -7
- package/LogLevel/dist/effect-LogLevel.cjs.dev.js +4 -4
- package/LogLevel/dist/effect-LogLevel.cjs.prod.js +4 -4
- package/Logger/dist/effect-Logger.cjs.dev.js +26 -26
- package/Logger/dist/effect-Logger.cjs.prod.js +26 -26
- package/Match/dist/effect-Match.cjs.dev.js +1 -1
- package/Match/dist/effect-Match.cjs.prod.js +1 -1
- package/Match/dist/effect-Match.esm.js +1 -1
- package/Metric/dist/effect-Metric.cjs.dev.js +20 -20
- package/Metric/dist/effect-Metric.cjs.prod.js +20 -20
- package/MetricBoundaries/dist/effect-MetricBoundaries.cjs.dev.js +1 -1
- package/MetricBoundaries/dist/effect-MetricBoundaries.cjs.prod.js +1 -1
- package/MetricHook/dist/effect-MetricHook.cjs.dev.js +2 -2
- package/MetricHook/dist/effect-MetricHook.cjs.prod.js +2 -2
- package/MetricKey/dist/effect-MetricKey.cjs.dev.js +2 -2
- package/MetricKey/dist/effect-MetricKey.cjs.prod.js +2 -2
- package/MetricPolling/dist/effect-MetricPolling.cjs.dev.js +22 -22
- package/MetricPolling/dist/effect-MetricPolling.cjs.prod.js +22 -22
- package/MetricRegistry/dist/effect-MetricRegistry.cjs.dev.js +3 -3
- package/MetricRegistry/dist/effect-MetricRegistry.cjs.prod.js +3 -3
- package/MutableHashMap/dist/effect-MutableHashMap.cjs.dev.js +1 -1
- package/MutableHashMap/dist/effect-MutableHashMap.cjs.prod.js +1 -1
- package/MutableHashSet/dist/effect-MutableHashSet.cjs.dev.js +1 -1
- package/MutableHashSet/dist/effect-MutableHashSet.cjs.prod.js +1 -1
- package/Pool/dist/effect-Pool.cjs.dev.js +22 -22
- package/Pool/dist/effect-Pool.cjs.prod.js +22 -22
- package/PubSub/dist/effect-PubSub.cjs.dev.js +21 -21
- package/PubSub/dist/effect-PubSub.cjs.prod.js +21 -21
- package/Queue/dist/effect-Queue.cjs.dev.js +21 -21
- package/Queue/dist/effect-Queue.cjs.prod.js +21 -21
- package/Random/dist/effect-Random.cjs.dev.js +10 -10
- package/Random/dist/effect-Random.cjs.prod.js +10 -10
- package/ReadonlyArray/dist/effect-ReadonlyArray.cjs.dev.js +1 -4
- package/ReadonlyArray/dist/effect-ReadonlyArray.cjs.mjs +0 -1
- package/ReadonlyArray/dist/effect-ReadonlyArray.cjs.prod.js +1 -4
- package/ReadonlyArray/dist/effect-ReadonlyArray.esm.js +2 -4
- package/Ref/dist/effect-Ref.cjs.dev.js +5 -5
- package/Ref/dist/effect-Ref.cjs.prod.js +5 -5
- package/Reloadable/dist/effect-Reloadable.cjs.dev.js +26 -26
- package/Reloadable/dist/effect-Reloadable.cjs.prod.js +26 -26
- package/Request/dist/effect-Request.cjs.dev.js +21 -21
- package/Request/dist/effect-Request.cjs.prod.js +21 -21
- package/RequestBlock/dist/effect-RequestBlock.cjs.dev.js +28 -28
- package/RequestBlock/dist/effect-RequestBlock.cjs.prod.js +28 -28
- package/RequestResolver/dist/effect-RequestResolver.cjs.dev.js +28 -28
- package/RequestResolver/dist/effect-RequestResolver.cjs.prod.js +28 -28
- package/Resource/dist/effect-Resource.cjs.dev.js +24 -24
- package/Resource/dist/effect-Resource.cjs.prod.js +24 -24
- package/Runtime/dist/effect-Runtime.cjs.dev.js +23 -23
- package/Runtime/dist/effect-Runtime.cjs.prod.js +23 -23
- package/RuntimeFlags/dist/effect-RuntimeFlags.cjs.dev.js +26 -26
- package/RuntimeFlags/dist/effect-RuntimeFlags.cjs.prod.js +26 -26
- package/RuntimeFlagsPatch/dist/effect-RuntimeFlagsPatch.cjs.dev.js +2 -2
- package/RuntimeFlagsPatch/dist/effect-RuntimeFlagsPatch.cjs.prod.js +2 -2
- package/STM/dist/effect-STM.cjs.dev.js +36 -36
- package/STM/dist/effect-STM.cjs.prod.js +36 -36
- package/Schedule/dist/effect-Schedule.cjs.dev.js +15 -15
- package/Schedule/dist/effect-Schedule.cjs.prod.js +15 -15
- package/Scheduler/dist/effect-Scheduler.cjs.dev.js +4 -4
- package/Scheduler/dist/effect-Scheduler.cjs.prod.js +4 -4
- package/Scope/dist/effect-Scope.cjs.dev.js +20 -20
- package/Scope/dist/effect-Scope.cjs.prod.js +20 -20
- package/ScopedCache/dist/effect-ScopedCache.cjs.dev.js +27 -27
- package/ScopedCache/dist/effect-ScopedCache.cjs.prod.js +27 -27
- package/ScopedRef/dist/effect-ScopedRef.cjs.dev.js +24 -24
- package/ScopedRef/dist/effect-ScopedRef.cjs.prod.js +24 -24
- package/Sink/dist/effect-Sink.cjs.dev.js +31 -31
- package/Sink/dist/effect-Sink.cjs.prod.js +31 -31
- package/Stream/dist/effect-Stream.cjs.dev.js +34 -34
- package/Stream/dist/effect-Stream.cjs.prod.js +34 -34
- package/Streamable/dist/effect-Streamable.cjs.dev.js +34 -34
- package/Streamable/dist/effect-Streamable.cjs.prod.js +34 -34
- package/Struct/dist/effect-Struct.cjs.dev.js +0 -1
- package/Struct/dist/effect-Struct.cjs.prod.js +0 -1
- package/Struct/dist/effect-Struct.esm.js +0 -1
- package/SubscriptionRef/dist/effect-SubscriptionRef.cjs.dev.js +33 -33
- package/SubscriptionRef/dist/effect-SubscriptionRef.cjs.prod.js +33 -33
- package/Supervisor/dist/effect-Supervisor.cjs.dev.js +26 -26
- package/Supervisor/dist/effect-Supervisor.cjs.prod.js +26 -26
- package/SynchronizedRef/dist/effect-SynchronizedRef.cjs.dev.js +23 -23
- package/SynchronizedRef/dist/effect-SynchronizedRef.cjs.prod.js +23 -23
- package/TArray/dist/effect-TArray.cjs.dev.js +38 -38
- package/TArray/dist/effect-TArray.cjs.prod.js +38 -38
- package/TDeferred/dist/effect-TDeferred.cjs.dev.js +37 -37
- package/TDeferred/dist/effect-TDeferred.cjs.prod.js +37 -37
- package/TMap/dist/effect-TMap.cjs.dev.js +39 -39
- package/TMap/dist/effect-TMap.cjs.prod.js +39 -39
- package/TPriorityQueue/dist/effect-TPriorityQueue.cjs.dev.js +36 -36
- package/TPriorityQueue/dist/effect-TPriorityQueue.cjs.prod.js +36 -36
- package/TPubSub/dist/effect-TPubSub.cjs.dev.js +38 -38
- package/TPubSub/dist/effect-TPubSub.cjs.prod.js +38 -38
- package/TQueue/dist/effect-TQueue.cjs.dev.js +38 -38
- package/TQueue/dist/effect-TQueue.cjs.prod.js +38 -38
- package/TRandom/dist/effect-TRandom.cjs.dev.js +38 -38
- package/TRandom/dist/effect-TRandom.cjs.prod.js +38 -38
- package/TReentrantLock/dist/effect-TReentrantLock.cjs.dev.js +36 -36
- package/TReentrantLock/dist/effect-TReentrantLock.cjs.prod.js +36 -36
- package/TRef/dist/effect-TRef.cjs.dev.js +36 -36
- package/TRef/dist/effect-TRef.cjs.prod.js +36 -36
- package/TSemaphore/dist/effect-TSemaphore.cjs.dev.js +37 -37
- package/TSemaphore/dist/effect-TSemaphore.cjs.prod.js +37 -37
- package/TSet/dist/effect-TSet.cjs.dev.js +39 -39
- package/TSet/dist/effect-TSet.cjs.prod.js +39 -39
- package/Take/dist/effect-Take.cjs.dev.js +28 -28
- package/Take/dist/effect-Take.cjs.prod.js +28 -28
- package/TestAnnotation/dist/effect-TestAnnotation.cjs.dev.js +1 -1
- package/TestAnnotation/dist/effect-TestAnnotation.cjs.prod.js +1 -1
- package/TestAnnotations/dist/effect-TestAnnotations.cjs.dev.js +15 -15
- package/TestAnnotations/dist/effect-TestAnnotations.cjs.prod.js +15 -15
- package/TestClock/dist/effect-TestClock.cjs.dev.js +25 -25
- package/TestClock/dist/effect-TestClock.cjs.prod.js +25 -25
- package/TestContext/dist/effect-TestContext.cjs.dev.js +27 -27
- package/TestContext/dist/effect-TestContext.cjs.prod.js +27 -27
- package/TestLive/dist/effect-TestLive.cjs.dev.js +10 -10
- package/TestLive/dist/effect-TestLive.cjs.prod.js +10 -10
- package/TestServices/dist/effect-TestServices.cjs.dev.js +27 -27
- package/TestServices/dist/effect-TestServices.cjs.prod.js +27 -27
- package/TestSized/dist/effect-TestSized.cjs.dev.js +4 -4
- package/TestSized/dist/effect-TestSized.cjs.prod.js +4 -4
- package/Tracer/dist/effect-Tracer.cjs.dev.js +10 -10
- package/Tracer/dist/effect-Tracer.cjs.prod.js +10 -10
- package/dist/{HashSet-251c8294.cjs.prod.js → HashSet-09ade044.cjs.prod.js} +1 -1
- package/dist/{HashSet-c12c037b.cjs.dev.js → HashSet-e9659fd4.cjs.dev.js} +1 -1
- package/dist/{Ref-00103de4.cjs.prod.js → Ref-50f14c13.cjs.prod.js} +1 -1
- package/dist/{Ref-f990026b.cjs.dev.js → Ref-d3a3826b.cjs.dev.js} +1 -1
- package/dist/{cache-d709d5cb.cjs.dev.js → cache-2a5d8381.cjs.dev.js} +4 -4
- package/dist/{cache-0b148e42.cjs.prod.js → cache-8f0c08cb.cjs.prod.js} +4 -4
- package/dist/{circular-6d2bb353.cjs.dev.js → circular-2effda94.cjs.dev.js} +4 -4
- package/dist/{circular-aa705e70.cjs.dev.js → circular-39e86dc8.cjs.dev.js} +7 -7
- package/dist/{circular-5b6f6504.cjs.prod.js → circular-4f03acf3.cjs.prod.js} +4 -4
- package/dist/{circular-952618e5.cjs.prod.js → circular-acb40239.cjs.prod.js} +7 -7
- package/dist/{config-f0bd27af.cjs.prod.js → config-00e6170c.cjs.prod.js} +3 -3
- package/dist/{config-8a7bf1ae.cjs.dev.js → config-beaa306c.cjs.dev.js} +3 -3
- package/dist/{configProvider-ae007b10.cjs.prod.js → configProvider-290d13e7.cjs.prod.js} +4 -4
- package/dist/{configProvider-3d85d4ef.cjs.dev.js → configProvider-aef50f41.cjs.dev.js} +4 -4
- package/dist/{core-d3f4e713.cjs.prod.js → core-279496f0.cjs.prod.js} +2 -2
- package/dist/{core-473934ce.cjs.prod.js → core-35439f06.cjs.prod.js} +2 -2
- package/dist/{core-dd1edd7a.cjs.dev.js → core-7445bfd4.cjs.dev.js} +2 -2
- package/dist/{core-b4bf44d3.cjs.dev.js → core-a0828fef.cjs.dev.js} +2 -2
- package/dist/{core-effect-f4b1aad8.cjs.dev.js → core-effect-02a7f1d7.cjs.dev.js} +6 -6
- package/dist/{core-effect-6666f2dc.cjs.prod.js → core-effect-460f968a.cjs.prod.js} +6 -6
- package/dist/{dataSource-d5d7f338.cjs.prod.js → dataSource-94fb44f9.cjs.prod.js} +2 -2
- package/dist/{dataSource-9f78e828.cjs.dev.js → dataSource-da4a602c.cjs.dev.js} +2 -2
- package/dist/declarations/src/BigDecimal.d.ts +622 -0
- package/dist/declarations/src/BigDecimal.d.ts.map +1 -0
- package/dist/declarations/src/Chunk.d.ts +14 -11
- package/dist/declarations/src/Chunk.d.ts.map +1 -1
- package/dist/declarations/src/Data.d.ts +192 -45
- package/dist/declarations/src/Data.d.ts.map +1 -1
- package/dist/declarations/src/List.d.ts +15 -10
- package/dist/declarations/src/List.d.ts.map +1 -1
- package/dist/declarations/src/Match.d.ts.map +1 -1
- package/dist/declarations/src/ReadonlyArray.d.ts +13 -8
- package/dist/declarations/src/ReadonlyArray.d.ts.map +1 -1
- package/dist/declarations/src/Struct.d.ts +3 -2
- package/dist/declarations/src/Struct.d.ts.map +1 -1
- package/dist/declarations/src/index.d.ts +16 -0
- package/dist/declarations/src/index.d.ts.map +1 -1
- package/dist/{defaultServices-8ea5e664.cjs.prod.js → defaultServices-61911fd4.cjs.prod.js} +2 -2
- package/dist/{defaultServices-6a9a2d2b.cjs.dev.js → defaultServices-f3f93337.cjs.dev.js} +2 -2
- package/dist/effect.cjs.dev.js +3 -0
- package/dist/effect.cjs.mjs +1 -0
- package/dist/effect.cjs.prod.js +3 -0
- package/dist/effect.esm.js +2 -0
- package/dist/{fiber-3d944398.cjs.dev.js → fiber-cac583ce.cjs.dev.js} +3 -3
- package/dist/{fiber-cbd0613f.cjs.prod.js → fiber-f67dca7d.cjs.prod.js} +3 -3
- package/dist/{fiberRefs-99808a27.cjs.prod.js → fiberRefs-59b59378.cjs.prod.js} +1 -1
- package/dist/{fiberRefs-ccc37f30.cjs.dev.js → fiberRefs-6bd9745e.cjs.dev.js} +1 -1
- package/dist/{fiberRuntime-f1e80ca7.cjs.prod.js → fiberRuntime-26f406c3.cjs.prod.js} +27 -23
- package/dist/{fiberRuntime-0c1e7478.cjs.dev.js → fiberRuntime-976a3e6f.cjs.dev.js} +27 -23
- package/dist/{groupBy-8ae74e3b.cjs.dev.js → groupBy-7fc93bc9.cjs.dev.js} +4 -4
- package/dist/{groupBy-30f6e9ba.cjs.prod.js → groupBy-8977b420.cjs.prod.js} +4 -4
- package/dist/{layer-bfb9802a.cjs.prod.js → layer-abbc91aa.cjs.prod.js} +8 -8
- package/dist/{layer-c284cf0d.cjs.dev.js → layer-c197624f.cjs.dev.js} +8 -8
- package/dist/{patch-cda9b6c8.cjs.dev.js → patch-2d425849.cjs.dev.js} +1 -1
- package/dist/{patch-256bc574.cjs.prod.js → patch-b7689042.cjs.prod.js} +1 -1
- package/dist/{pathPatch-31ce8101.cjs.dev.js → pathPatch-18fa425e.cjs.dev.js} +1 -1
- package/dist/{pathPatch-40b92af6.cjs.prod.js → pathPatch-b6020485.cjs.prod.js} +1 -1
- package/dist/{pool-f6ca2038.cjs.dev.js → pool-810c2214.cjs.dev.js} +5 -5
- package/dist/{pool-122f0fad.cjs.prod.js → pool-868dfa39.cjs.prod.js} +5 -5
- package/dist/{query-5cc0ddf8.cjs.prod.js → query-927b504e.cjs.prod.js} +5 -5
- package/dist/{query-7bffa3c3.cjs.dev.js → query-c6684e39.cjs.dev.js} +5 -5
- package/dist/{queue-e326fd89.cjs.prod.js → queue-062806c7.cjs.prod.js} +2 -2
- package/dist/{queue-4166cfdb.cjs.dev.js → queue-a0fc274d.cjs.dev.js} +2 -2
- package/dist/{registry-081e18a3.cjs.prod.js → registry-9268ec7c.cjs.prod.js} +1 -1
- package/dist/{registry-377855a9.cjs.dev.js → registry-e5ad2d74.cjs.dev.js} +1 -1
- package/dist/{runtime-d4514ab5.cjs.dev.js → runtime-340bd70b.cjs.dev.js} +5 -5
- package/dist/{runtime-4078f059.cjs.prod.js → runtime-ce0ad0ed.cjs.prod.js} +5 -5
- package/dist/{schedule-f036b254.cjs.prod.js → schedule-04b40c50.cjs.prod.js} +3 -3
- package/dist/{schedule-31e38871.cjs.dev.js → schedule-74c6207a.cjs.dev.js} +3 -3
- package/dist/{scopedRef-5ecf6468.cjs.dev.js → scopedRef-4f0dd122.cjs.dev.js} +6 -6
- package/dist/{scopedRef-8ce21228.cjs.prod.js → scopedRef-d429ec83.cjs.prod.js} +6 -6
- package/dist/{singleProducerAsyncInput-8879d87c.cjs.prod.js → singleProducerAsyncInput-06a9076a.cjs.prod.js} +1 -1
- package/dist/{singleProducerAsyncInput-ece7387b.cjs.dev.js → singleProducerAsyncInput-72c05452.cjs.dev.js} +1 -1
- package/dist/{sink-1794329b.cjs.dev.js → sink-301d2bb4.cjs.dev.js} +3 -3
- package/dist/{sink-9208df8d.cjs.prod.js → sink-46df55d3.cjs.prod.js} +3 -3
- package/dist/{stm-b080be31.cjs.dev.js → stm-0b50e3c1.cjs.dev.js} +3 -3
- package/dist/{stm-6ad7b384.cjs.prod.js → stm-c0489b43.cjs.prod.js} +3 -3
- package/dist/{stream-e19805ca.cjs.prod.js → stream-0c3160ef.cjs.prod.js} +4 -4
- package/dist/{stream-09aeeac3.cjs.dev.js → stream-44cdd7cb.cjs.dev.js} +4 -4
- package/dist/{synchronizedRef-cc04ecbd.cjs.prod.js → synchronizedRef-2f71b820.cjs.prod.js} +1 -1
- package/dist/{synchronizedRef-8fa16866.cjs.dev.js → synchronizedRef-78797507.cjs.dev.js} +1 -1
- package/dist/{tArray-5e42c290.cjs.prod.js → tArray-006f45b0.cjs.prod.js} +3 -3
- package/dist/{tArray-7d470ed7.cjs.dev.js → tArray-556355cd.cjs.dev.js} +3 -3
- package/dist/{tMap-f0df0ea0.cjs.dev.js → tMap-52d00ffb.cjs.dev.js} +4 -4
- package/dist/{tMap-a2cfde88.cjs.prod.js → tMap-9680b82b.cjs.prod.js} +4 -4
- package/dist/{tQueue-b80e940e.cjs.prod.js → tQueue-51cf109e.cjs.prod.js} +3 -3
- package/dist/{tQueue-085f70b5.cjs.dev.js → tQueue-ca56a2a8.cjs.dev.js} +3 -3
- package/dist/{tRef-42a212cb.cjs.prod.js → tRef-4a2a9689.cjs.prod.js} +1 -1
- package/dist/{tRef-2e495254.cjs.dev.js → tRef-b98e2e2a.cjs.dev.js} +1 -1
- package/internal/HashMap/node.esm.js +1 -1
- package/internal/fiberRuntime.esm.js +9 -8
- package/internal/query.esm.js +2 -2
- package/internal/supervisor/patch.esm.js +3 -3
- package/internal/supervisor.esm.js +5 -1
- package/package.json +10 -5
- package/src/BigDecimal.ts +977 -0
- package/src/Chunk.ts +17 -13
- package/src/Data.ts +219 -92
- package/src/List.ts +17 -11
- package/src/Match.ts +2 -2
- package/src/ReadonlyArray.ts +18 -9
- package/src/Struct.ts +3 -2
- package/src/index.ts +17 -0
- package/src/internal/HashMap/node.ts +1 -1
- package/src/internal/fiberRuntime.ts +56 -45
- package/src/internal/query.ts +12 -8
- package/src/internal/supervisor/patch.ts +2 -2
- package/src/internal/supervisor.ts +5 -0
- package/src/tsconfig.json +0 -1
- /package/dist/{FiberId-0f0b7779.cjs.prod.js → FiberId-88cc0067.cjs.prod.js} +0 -0
- /package/dist/{FiberId-6595cf4c.cjs.dev.js → FiberId-f329d0e3.cjs.dev.js} +0 -0
- /package/dist/{RuntimeFlagsPatch-7d62915d.cjs.dev.js → RuntimeFlagsPatch-063c5864.cjs.dev.js} +0 -0
- /package/dist/{RuntimeFlagsPatch-3890e860.cjs.prod.js → RuntimeFlagsPatch-233ac7d7.cjs.prod.js} +0 -0
- /package/dist/{boundaries-ebe66d32.cjs.prod.js → boundaries-0e5ddf7b.cjs.prod.js} +0 -0
- /package/dist/{boundaries-8dfe50cb.cjs.dev.js → boundaries-ce70e4e4.cjs.dev.js} +0 -0
- /package/dist/{configError-9021016b.cjs.prod.js → configError-72f57cd6.cjs.prod.js} +0 -0
- /package/dist/{configError-0c09b93c.cjs.dev.js → configError-834bedc1.cjs.dev.js} +0 -0
- /package/dist/{configSecret-0bdfadd8.cjs.prod.js → configSecret-80d3e36b.cjs.prod.js} +0 -0
- /package/dist/{configSecret-938818ad.cjs.dev.js → configSecret-abf643d8.cjs.dev.js} +0 -0
- /package/dist/{hook-ad5af092.cjs.dev.js → hook-13f4db1e.cjs.dev.js} +0 -0
- /package/dist/{hook-cab99f9e.cjs.prod.js → hook-8a020c3f.cjs.prod.js} +0 -0
- /package/dist/{key-9c7368c8.cjs.prod.js → key-2cf383a2.cjs.prod.js} +0 -0
- /package/dist/{key-e3189bbd.cjs.dev.js → key-4b5f6a7d.cjs.dev.js} +0 -0
- /package/dist/{take-114476e5.cjs.prod.js → take-07165139.cjs.prod.js} +0 -0
- /package/dist/{take-d4fa1beb.cjs.dev.js → take-689a29d5.cjs.dev.js} +0 -0
|
@@ -5,23 +5,23 @@ var Clock_dist_effectClock = require('../Clock/dist/effect-Clock.cjs.prod.js');
|
|
|
5
5
|
var Context_dist_effectContext = require('../Context/dist/effect-Context.cjs.prod.js');
|
|
6
6
|
var Duration_dist_effectDuration = require('../Duration/dist/effect-Duration.cjs.prod.js');
|
|
7
7
|
var Either_dist_effectEither = require('../Either/dist/effect-Either.cjs.prod.js');
|
|
8
|
-
var FiberId_dist_effectFiberId = require('./FiberId-
|
|
8
|
+
var FiberId_dist_effectFiberId = require('./FiberId-88cc0067.cjs.prod.js');
|
|
9
9
|
var FiberRefs_dist_effectFiberRefs = require('../FiberRefs/dist/effect-FiberRefs.cjs.prod.js');
|
|
10
10
|
var Function_dist_effectFunction = require('../Function/dist/effect-Function.cjs.prod.js');
|
|
11
11
|
var HashMap_dist_effectHashMap = require('../HashMap/dist/effect-HashMap.cjs.prod.js');
|
|
12
12
|
var HashSet_dist_effectHashSet = require('../HashSet/dist/effect-HashSet.cjs.prod.js');
|
|
13
|
-
var core = require('./core-
|
|
14
|
-
var defaultServices = require('./defaultServices-
|
|
15
|
-
var patch = require('./patch-
|
|
13
|
+
var core = require('./core-35439f06.cjs.prod.js');
|
|
14
|
+
var defaultServices = require('./defaultServices-61911fd4.cjs.prod.js');
|
|
15
|
+
var patch = require('./patch-b7689042.cjs.prod.js');
|
|
16
16
|
var label = require('./label-a588e6cd.cjs.prod.js');
|
|
17
|
-
var RuntimeFlagsPatch_dist_effectRuntimeFlagsPatch = require('./RuntimeFlagsPatch-
|
|
17
|
+
var RuntimeFlagsPatch_dist_effectRuntimeFlagsPatch = require('./RuntimeFlagsPatch-233ac7d7.cjs.prod.js');
|
|
18
18
|
var List_dist_effectList = require('../List/dist/effect-List.cjs.prod.js');
|
|
19
19
|
var LogLevel_dist_effectLogLevel = require('../LogLevel/dist/effect-LogLevel.cjs.prod.js');
|
|
20
20
|
var LogSpan_dist_effectLogSpan = require('../LogSpan/dist/effect-LogSpan.cjs.prod.js');
|
|
21
21
|
var Option_dist_effectOption = require('../Option/dist/effect-Option.cjs.prod.js');
|
|
22
22
|
var Predicate_dist_effectPredicate = require('../Predicate/dist/effect-Predicate.cjs.prod.js');
|
|
23
23
|
var ReadonlyArray_dist_effectReadonlyArray = require('../ReadonlyArray/dist/effect-ReadonlyArray.cjs.prod.js');
|
|
24
|
-
var Ref_dist_effectRef = require('./Ref-
|
|
24
|
+
var Ref_dist_effectRef = require('./Ref-50f14c13.cjs.prod.js');
|
|
25
25
|
var Tracer_dist_effectTracer = require('../Tracer/dist/effect-Tracer.cjs.prod.js');
|
|
26
26
|
|
|
27
27
|
/** @internal */
|
|
@@ -4,8 +4,8 @@ var Cause_dist_effectCause = require('../Cause/dist/effect-Cause.cjs.prod.js');
|
|
|
4
4
|
var Chunk_dist_effectChunk = require('../Chunk/dist/effect-Chunk.cjs.prod.js');
|
|
5
5
|
var Effect_dist_effectEffect = require('../Effect/dist/effect-Effect.cjs.prod.js');
|
|
6
6
|
var Function_dist_effectFunction = require('../Function/dist/effect-Function.cjs.prod.js');
|
|
7
|
-
var core = require('./core-
|
|
8
|
-
var fiberRuntime = require('./fiberRuntime-
|
|
7
|
+
var core = require('./core-35439f06.cjs.prod.js');
|
|
8
|
+
var fiberRuntime = require('./fiberRuntime-26f406c3.cjs.prod.js');
|
|
9
9
|
var ReadonlyArray_dist_effectReadonlyArray = require('../ReadonlyArray/dist/effect-ReadonlyArray.cjs.prod.js');
|
|
10
10
|
|
|
11
11
|
/** @internal */
|
|
@@ -4,8 +4,8 @@ var Cause_dist_effectCause = require('../Cause/dist/effect-Cause.cjs.dev.js');
|
|
|
4
4
|
var Chunk_dist_effectChunk = require('../Chunk/dist/effect-Chunk.cjs.dev.js');
|
|
5
5
|
var Effect_dist_effectEffect = require('../Effect/dist/effect-Effect.cjs.dev.js');
|
|
6
6
|
var Function_dist_effectFunction = require('../Function/dist/effect-Function.cjs.dev.js');
|
|
7
|
-
var core = require('./core-
|
|
8
|
-
var fiberRuntime = require('./fiberRuntime-
|
|
7
|
+
var core = require('./core-a0828fef.cjs.dev.js');
|
|
8
|
+
var fiberRuntime = require('./fiberRuntime-976a3e6f.cjs.dev.js');
|
|
9
9
|
var ReadonlyArray_dist_effectReadonlyArray = require('../ReadonlyArray/dist/effect-ReadonlyArray.cjs.dev.js');
|
|
10
10
|
|
|
11
11
|
/** @internal */
|
|
@@ -0,0 +1,622 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This module provides utility functions and type class instances for working with the `BigDecimal` type in TypeScript.
|
|
3
|
+
* It includes functions for basic arithmetic operations, as well as type class instances for `Equivalence` and `Order`.
|
|
4
|
+
*
|
|
5
|
+
* A `BigDecimal` allows storing any real number to arbitrary precision; which avoids common floating point errors
|
|
6
|
+
* (such as 0.1 + 0.2 ≠ 0.3) at the cost of complexity.
|
|
7
|
+
*
|
|
8
|
+
* Internally, `BigDecimal` uses a `BigInt` object, paired with a 64-bit integer which determines the position of the
|
|
9
|
+
* decimal point. Therefore, the precision *is not* actually arbitrary, but limited to 2<sup>63</sup> decimal places.
|
|
10
|
+
*
|
|
11
|
+
* It is not recommended to convert a floating point number to a decimal directly, as the floating point representation
|
|
12
|
+
* may be unexpected.
|
|
13
|
+
*
|
|
14
|
+
* @since 2.0.0
|
|
15
|
+
*/
|
|
16
|
+
import * as Equal from "./Equal.js";
|
|
17
|
+
import * as equivalence from "./Equivalence.js";
|
|
18
|
+
import { type Inspectable } from "./Inspectable.js";
|
|
19
|
+
import * as Option from "./Option.js";
|
|
20
|
+
import * as order from "./Order.js";
|
|
21
|
+
import type { Ordering } from "./Ordering.js";
|
|
22
|
+
import { type Pipeable } from "./Pipeable.js";
|
|
23
|
+
/**
|
|
24
|
+
* @since 2.0.0
|
|
25
|
+
* @category symbols
|
|
26
|
+
*/
|
|
27
|
+
export declare const TypeId: unique symbol;
|
|
28
|
+
/**
|
|
29
|
+
* @since 2.0.0
|
|
30
|
+
* @category symbol
|
|
31
|
+
*/
|
|
32
|
+
export type TypeId = typeof TypeId;
|
|
33
|
+
/**
|
|
34
|
+
* @since 2.0.0
|
|
35
|
+
* @category models
|
|
36
|
+
*/
|
|
37
|
+
export interface BigDecimal extends Equal.Equal, Pipeable, Inspectable {
|
|
38
|
+
readonly [TypeId]: TypeId;
|
|
39
|
+
readonly value: bigint;
|
|
40
|
+
readonly scale: number;
|
|
41
|
+
}
|
|
42
|
+
/**
|
|
43
|
+
* Checks if a given value is a `BigDecimal`.
|
|
44
|
+
*
|
|
45
|
+
* @param u - The value to check.
|
|
46
|
+
*
|
|
47
|
+
* @since 2.0.0
|
|
48
|
+
* @category guards
|
|
49
|
+
*/
|
|
50
|
+
export declare const isBigDecimal: (u: unknown) => u is BigDecimal;
|
|
51
|
+
/**
|
|
52
|
+
* Creates a `BigDecimal` from a `bigint` value and a scale.
|
|
53
|
+
*
|
|
54
|
+
* @param value - The `bigint` value to create a `BigDecimal` from.
|
|
55
|
+
* @param scale - The scale of the `BigDecimal`.
|
|
56
|
+
*
|
|
57
|
+
* @since 2.0.0
|
|
58
|
+
* @category constructors
|
|
59
|
+
*/
|
|
60
|
+
export declare const make: (value: bigint, scale: number) => BigDecimal;
|
|
61
|
+
/**
|
|
62
|
+
* Normalizes a given `BigDecimal` by removing trailing zeros.
|
|
63
|
+
*
|
|
64
|
+
* @param self - The `BigDecimal` to normalize.
|
|
65
|
+
*
|
|
66
|
+
* @example
|
|
67
|
+
* import { normalize, make, unsafeFromString } from "effect/BigDecimal"
|
|
68
|
+
*
|
|
69
|
+
* assert.deepStrictEqual(normalize(unsafeFromString("123.00000")), make(123n, 0))
|
|
70
|
+
* assert.deepStrictEqual(normalize(unsafeFromString("12300000")), make(123n, -5))
|
|
71
|
+
*
|
|
72
|
+
* @since 2.0.0
|
|
73
|
+
* @category scaling
|
|
74
|
+
*/
|
|
75
|
+
export declare const normalize: (self: BigDecimal) => BigDecimal;
|
|
76
|
+
/**
|
|
77
|
+
* Scales a given `BigDecimal` to the specified scale.
|
|
78
|
+
*
|
|
79
|
+
* If the given scale is smaller than the current scale, the value will be rounded down to
|
|
80
|
+
* the nearest integer.
|
|
81
|
+
*
|
|
82
|
+
* @param self - The `BigDecimal` to scale.
|
|
83
|
+
* @param scale - The scale to scale to.
|
|
84
|
+
*
|
|
85
|
+
* @since 2.0.0
|
|
86
|
+
* @category scaling
|
|
87
|
+
*/
|
|
88
|
+
export declare const scale: (self: BigDecimal, scale: number) => BigDecimal;
|
|
89
|
+
/**
|
|
90
|
+
* Provides an addition operation on `BigDecimal`s.
|
|
91
|
+
*
|
|
92
|
+
* @param self - The first operand.
|
|
93
|
+
* @param that - The second operand.
|
|
94
|
+
*
|
|
95
|
+
* @example
|
|
96
|
+
* import { sum, unsafeFromString } from "effect/BigDecimal"
|
|
97
|
+
*
|
|
98
|
+
* assert.deepStrictEqual(sum(unsafeFromString("2"), unsafeFromString("3")), unsafeFromString("5"))
|
|
99
|
+
*
|
|
100
|
+
* @since 2.0.0
|
|
101
|
+
* @category math
|
|
102
|
+
*/
|
|
103
|
+
export declare const sum: {
|
|
104
|
+
(that: BigDecimal): (self: BigDecimal) => BigDecimal;
|
|
105
|
+
(self: BigDecimal, that: BigDecimal): BigDecimal;
|
|
106
|
+
};
|
|
107
|
+
/**
|
|
108
|
+
* Provides a multiplication operation on `BigDecimal`s.
|
|
109
|
+
*
|
|
110
|
+
* @param self - The first operand.
|
|
111
|
+
* @param that - The second operand.
|
|
112
|
+
*
|
|
113
|
+
* @example
|
|
114
|
+
* import { multiply, unsafeFromString } from "effect/BigDecimal"
|
|
115
|
+
*
|
|
116
|
+
* assert.deepStrictEqual(multiply(unsafeFromString("2"), unsafeFromString("3")), unsafeFromString("6"))
|
|
117
|
+
*
|
|
118
|
+
* @since 2.0.0
|
|
119
|
+
* @category math
|
|
120
|
+
*/
|
|
121
|
+
export declare const multiply: {
|
|
122
|
+
(that: BigDecimal): (self: BigDecimal) => BigDecimal;
|
|
123
|
+
(self: BigDecimal, that: BigDecimal): BigDecimal;
|
|
124
|
+
};
|
|
125
|
+
/**
|
|
126
|
+
* Provides a subtraction operation on `BigDecimal`s.
|
|
127
|
+
*
|
|
128
|
+
* @param self - The first operand.
|
|
129
|
+
* @param that - The second operand.
|
|
130
|
+
*
|
|
131
|
+
* @example
|
|
132
|
+
* import { subtract, unsafeFromString } from "effect/BigDecimal"
|
|
133
|
+
*
|
|
134
|
+
* assert.deepStrictEqual(subtract(unsafeFromString("2"), unsafeFromString("3")), unsafeFromString("-1"))
|
|
135
|
+
*
|
|
136
|
+
* @since 2.0.0
|
|
137
|
+
* @category math
|
|
138
|
+
*/
|
|
139
|
+
export declare const subtract: {
|
|
140
|
+
(that: BigDecimal): (self: BigDecimal) => BigDecimal;
|
|
141
|
+
(self: BigDecimal, that: BigDecimal): BigDecimal;
|
|
142
|
+
};
|
|
143
|
+
/**
|
|
144
|
+
* Provides a division operation on `BigDecimal`s.
|
|
145
|
+
*
|
|
146
|
+
* If the dividend is not a multiple of the divisor the result will be a `BigDecimal` value
|
|
147
|
+
* which represents the integer division rounded down to the nearest integer.
|
|
148
|
+
*
|
|
149
|
+
* If the divisor is `0`, the result will be `None`.
|
|
150
|
+
*
|
|
151
|
+
* @param self - The dividend operand.
|
|
152
|
+
* @param that - The divisor operand.
|
|
153
|
+
*
|
|
154
|
+
* @example
|
|
155
|
+
* import { divide, unsafeFromString } from "effect/BigDecimal"
|
|
156
|
+
* import { some, none } from "effect/Option"
|
|
157
|
+
*
|
|
158
|
+
* assert.deepStrictEqual(divide(unsafeFromString("6"), unsafeFromString("3")), some(unsafeFromString("2")))
|
|
159
|
+
* assert.deepStrictEqual(divide(unsafeFromString("6"), unsafeFromString("4")), some(unsafeFromString("1.5")))
|
|
160
|
+
* assert.deepStrictEqual(divide(unsafeFromString("6"), unsafeFromString("0")), none())
|
|
161
|
+
*
|
|
162
|
+
* @since 2.0.0
|
|
163
|
+
* @category math
|
|
164
|
+
*/
|
|
165
|
+
export declare const divide: {
|
|
166
|
+
(that: BigDecimal): (self: BigDecimal) => Option.Option<BigDecimal>;
|
|
167
|
+
(self: BigDecimal, that: BigDecimal): Option.Option<BigDecimal>;
|
|
168
|
+
};
|
|
169
|
+
/**
|
|
170
|
+
* Provides an unsafe division operation on `BigDecimal`s.
|
|
171
|
+
*
|
|
172
|
+
* If the dividend is not a multiple of the divisor the result will be a `BigDecimal` value
|
|
173
|
+
* which represents the integer division rounded down to the nearest integer.
|
|
174
|
+
*
|
|
175
|
+
* Throws a `RangeError` if the divisor is `0`.
|
|
176
|
+
*
|
|
177
|
+
* @param self - The dividend operand.
|
|
178
|
+
* @param that - The divisor operand.as
|
|
179
|
+
*
|
|
180
|
+
* @example
|
|
181
|
+
* import { unsafeDivide, unsafeFromString } from "effect/BigDecimal"
|
|
182
|
+
*
|
|
183
|
+
* assert.deepStrictEqual(unsafeDivide(unsafeFromString("6"), unsafeFromString("3")), unsafeFromString("2"))
|
|
184
|
+
* assert.deepStrictEqual(unsafeDivide(unsafeFromString("6"), unsafeFromString("4")), unsafeFromString("1.5"))
|
|
185
|
+
*
|
|
186
|
+
* @since 2.0.0
|
|
187
|
+
* @category math
|
|
188
|
+
*/
|
|
189
|
+
export declare const unsafeDivide: {
|
|
190
|
+
(that: BigDecimal): (self: BigDecimal) => BigDecimal;
|
|
191
|
+
(self: BigDecimal, that: BigDecimal): BigDecimal;
|
|
192
|
+
};
|
|
193
|
+
/**
|
|
194
|
+
* @since 2.0.0
|
|
195
|
+
* @category instances
|
|
196
|
+
*/
|
|
197
|
+
export declare const Order: order.Order<BigDecimal>;
|
|
198
|
+
/**
|
|
199
|
+
* Returns `true` if the first argument is less than the second, otherwise `false`.
|
|
200
|
+
*
|
|
201
|
+
* @param self - The first argument.
|
|
202
|
+
* @param that - The second argument.
|
|
203
|
+
*
|
|
204
|
+
* @example
|
|
205
|
+
* import { lessThan, unsafeFromString } from "effect/BigDecimal"
|
|
206
|
+
*
|
|
207
|
+
* assert.deepStrictEqual(lessThan(unsafeFromString("2"), unsafeFromString("3")), true)
|
|
208
|
+
* assert.deepStrictEqual(lessThan(unsafeFromString("3"), unsafeFromString("3")), false)
|
|
209
|
+
* assert.deepStrictEqual(lessThan(unsafeFromString("4"), unsafeFromString("3")), false)
|
|
210
|
+
*
|
|
211
|
+
* @since 2.0.0
|
|
212
|
+
* @category predicates
|
|
213
|
+
*/
|
|
214
|
+
export declare const lessThan: {
|
|
215
|
+
(that: BigDecimal): (self: BigDecimal) => boolean;
|
|
216
|
+
(self: BigDecimal, that: BigDecimal): boolean;
|
|
217
|
+
};
|
|
218
|
+
/**
|
|
219
|
+
* Checks if a given `BigDecimal` is less than or equal to the provided one.
|
|
220
|
+
*
|
|
221
|
+
* @param self - The first `BigDecimal` to compare with.
|
|
222
|
+
* @param that - The second `BigDecimal` to compare with.
|
|
223
|
+
*
|
|
224
|
+
* @example
|
|
225
|
+
* import { lessThanOrEqualTo, unsafeFromString } from "effect/BigDecimal"
|
|
226
|
+
*
|
|
227
|
+
* assert.deepStrictEqual(lessThanOrEqualTo(unsafeFromString("2"), unsafeFromString("3")), true)
|
|
228
|
+
* assert.deepStrictEqual(lessThanOrEqualTo(unsafeFromString("3"), unsafeFromString("3")), true)
|
|
229
|
+
* assert.deepStrictEqual(lessThanOrEqualTo(unsafeFromString("4"), unsafeFromString("3")), false)
|
|
230
|
+
*
|
|
231
|
+
* @since 2.0.0
|
|
232
|
+
* @category predicates
|
|
233
|
+
*/
|
|
234
|
+
export declare const lessThanOrEqualTo: {
|
|
235
|
+
(that: BigDecimal): (self: BigDecimal) => boolean;
|
|
236
|
+
(self: BigDecimal, that: BigDecimal): boolean;
|
|
237
|
+
};
|
|
238
|
+
/**
|
|
239
|
+
* Returns `true` if the first argument is greater than the second, otherwise `false`.
|
|
240
|
+
*
|
|
241
|
+
* @param self - The first argument.
|
|
242
|
+
* @param that - The second argument.
|
|
243
|
+
*
|
|
244
|
+
* @example
|
|
245
|
+
* import { greaterThan, unsafeFromString } from "effect/BigDecimal"
|
|
246
|
+
*
|
|
247
|
+
* assert.deepStrictEqual(greaterThan(unsafeFromString("2"), unsafeFromString("3")), false)
|
|
248
|
+
* assert.deepStrictEqual(greaterThan(unsafeFromString("3"), unsafeFromString("3")), false)
|
|
249
|
+
* assert.deepStrictEqual(greaterThan(unsafeFromString("4"), unsafeFromString("3")), true)
|
|
250
|
+
*
|
|
251
|
+
* @since 2.0.0
|
|
252
|
+
* @category predicates
|
|
253
|
+
*/
|
|
254
|
+
export declare const greaterThan: {
|
|
255
|
+
(that: BigDecimal): (self: BigDecimal) => boolean;
|
|
256
|
+
(self: BigDecimal, that: BigDecimal): boolean;
|
|
257
|
+
};
|
|
258
|
+
/**
|
|
259
|
+
* Checks if a given `BigDecimal` is greater than or equal to the provided one.
|
|
260
|
+
*
|
|
261
|
+
* @param self - The first `BigDecimal` to compare with.
|
|
262
|
+
* @param that - The second `BigDecimal` to compare with.
|
|
263
|
+
*
|
|
264
|
+
* @example
|
|
265
|
+
* import { greaterThanOrEqualTo, unsafeFromString } from "effect/BigDecimal"
|
|
266
|
+
*
|
|
267
|
+
* assert.deepStrictEqual(greaterThanOrEqualTo(unsafeFromString("2"), unsafeFromString("3")), false)
|
|
268
|
+
* assert.deepStrictEqual(greaterThanOrEqualTo(unsafeFromString("3"), unsafeFromString("3")), true)
|
|
269
|
+
* assert.deepStrictEqual(greaterThanOrEqualTo(unsafeFromString("4"), unsafeFromString("3")), true)
|
|
270
|
+
*
|
|
271
|
+
* @since 2.0.0
|
|
272
|
+
* @category predicates
|
|
273
|
+
*/
|
|
274
|
+
export declare const greaterThanOrEqualTo: {
|
|
275
|
+
(that: BigDecimal): (self: BigDecimal) => boolean;
|
|
276
|
+
(self: BigDecimal, that: BigDecimal): boolean;
|
|
277
|
+
};
|
|
278
|
+
/**
|
|
279
|
+
* Checks if a `BigDecimal` is between a `minimum` and `maximum` value (inclusive).
|
|
280
|
+
*
|
|
281
|
+
* @param self - The `number` to check.
|
|
282
|
+
* @param minimum - The `minimum` value to check.
|
|
283
|
+
* @param maximum - The `maximum` value to check.
|
|
284
|
+
*
|
|
285
|
+
* @example
|
|
286
|
+
* import { between, unsafeFromString } from "effect/BigDecimal"
|
|
287
|
+
*
|
|
288
|
+
* assert.deepStrictEqual(between(unsafeFromString("0"), unsafeFromString("5"))(unsafeFromString("3")), true)
|
|
289
|
+
* assert.deepStrictEqual(between(unsafeFromString("0"), unsafeFromString("5"))(unsafeFromString("-1")), false)
|
|
290
|
+
* assert.deepStrictEqual(between(unsafeFromString("0"), unsafeFromString("5"))(unsafeFromString("6")), false)
|
|
291
|
+
*
|
|
292
|
+
* @since 2.0.0
|
|
293
|
+
* @category predicates
|
|
294
|
+
*/
|
|
295
|
+
export declare const between: {
|
|
296
|
+
(minimum: BigDecimal, maximum: BigDecimal): (self: BigDecimal) => boolean;
|
|
297
|
+
(self: BigDecimal, minimum: BigDecimal, maximum: BigDecimal): boolean;
|
|
298
|
+
};
|
|
299
|
+
/**
|
|
300
|
+
* Restricts the given `BigDecimal` to be within the range specified by the `minimum` and `maximum` values.
|
|
301
|
+
*
|
|
302
|
+
* - If the `BigDecimal` is less than the `minimum` value, the function returns the `minimum` value.
|
|
303
|
+
* - If the `BigDecimal` is greater than the `maximum` value, the function returns the `maximum` value.
|
|
304
|
+
* - Otherwise, it returns the original `BigDecimal`.
|
|
305
|
+
*
|
|
306
|
+
* @param self - The `BigDecimal` to be clamped.
|
|
307
|
+
* @param minimum - The lower end of the range.
|
|
308
|
+
* @param maximum - The upper end of the range.
|
|
309
|
+
*
|
|
310
|
+
* @example
|
|
311
|
+
* import { clamp, unsafeFromString } from "effect/BigDecimal"
|
|
312
|
+
*
|
|
313
|
+
* assert.deepStrictEqual(clamp(unsafeFromString("0"), unsafeFromString("5"))(unsafeFromString("3")), unsafeFromString("3"))
|
|
314
|
+
* assert.deepStrictEqual(clamp(unsafeFromString("0"), unsafeFromString("5"))(unsafeFromString("-1")), unsafeFromString("0"))
|
|
315
|
+
* assert.deepStrictEqual(clamp(unsafeFromString("0"), unsafeFromString("5"))(unsafeFromString("6")), unsafeFromString("5"))
|
|
316
|
+
*
|
|
317
|
+
* @since 2.0.0
|
|
318
|
+
* @category math
|
|
319
|
+
*/
|
|
320
|
+
export declare const clamp: {
|
|
321
|
+
(minimum: BigDecimal, maximum: BigDecimal): (self: BigDecimal) => BigDecimal;
|
|
322
|
+
(self: BigDecimal, minimum: BigDecimal, maximum: BigDecimal): BigDecimal;
|
|
323
|
+
};
|
|
324
|
+
/**
|
|
325
|
+
* Returns the minimum between two `BigDecimal`s.
|
|
326
|
+
*
|
|
327
|
+
* @param self - The first `BigDecimal`.
|
|
328
|
+
* @param that - The second `BigDecimal`.
|
|
329
|
+
*
|
|
330
|
+
* @example
|
|
331
|
+
* import { min, unsafeFromString } from "effect/BigDecimal"
|
|
332
|
+
*
|
|
333
|
+
* assert.deepStrictEqual(min(unsafeFromString("2"), unsafeFromString("3")), unsafeFromString("2"))
|
|
334
|
+
*
|
|
335
|
+
* @since 2.0.0
|
|
336
|
+
* @category math
|
|
337
|
+
*/
|
|
338
|
+
export declare const min: {
|
|
339
|
+
(that: BigDecimal): (self: BigDecimal) => BigDecimal;
|
|
340
|
+
(self: BigDecimal, that: BigDecimal): BigDecimal;
|
|
341
|
+
};
|
|
342
|
+
/**
|
|
343
|
+
* Returns the maximum between two `BigDecimal`s.
|
|
344
|
+
*
|
|
345
|
+
* @param self - The first `BigDecimal`.
|
|
346
|
+
* @param that - The second `BigDecimal`.
|
|
347
|
+
*
|
|
348
|
+
* @example
|
|
349
|
+
* import { max, unsafeFromString } from "effect/BigDecimal"
|
|
350
|
+
*
|
|
351
|
+
* assert.deepStrictEqual(max(unsafeFromString("2"), unsafeFromString("3")), unsafeFromString("3"))
|
|
352
|
+
*
|
|
353
|
+
* @since 2.0.0
|
|
354
|
+
* @category math
|
|
355
|
+
*/
|
|
356
|
+
export declare const max: {
|
|
357
|
+
(that: BigDecimal): (self: BigDecimal) => BigDecimal;
|
|
358
|
+
(self: BigDecimal, that: BigDecimal): BigDecimal;
|
|
359
|
+
};
|
|
360
|
+
/**
|
|
361
|
+
* Determines the sign of a given `BigDecimal`.
|
|
362
|
+
*
|
|
363
|
+
* @param n - The `BigDecimal` to determine the sign of.
|
|
364
|
+
*
|
|
365
|
+
* @example
|
|
366
|
+
* import { sign, unsafeFromString } from "effect/BigDecimal"
|
|
367
|
+
*
|
|
368
|
+
* assert.deepStrictEqual(sign(unsafeFromString("-5")), -1)
|
|
369
|
+
* assert.deepStrictEqual(sign(unsafeFromString("0")), 0)
|
|
370
|
+
* assert.deepStrictEqual(sign(unsafeFromString("5")), 1)
|
|
371
|
+
*
|
|
372
|
+
* @since 2.0.0
|
|
373
|
+
* @category math
|
|
374
|
+
*/
|
|
375
|
+
export declare const sign: (n: BigDecimal) => Ordering;
|
|
376
|
+
/**
|
|
377
|
+
* Determines the absolute value of a given `BigDecimal`.
|
|
378
|
+
*
|
|
379
|
+
* @param n - The `BigDecimal` to determine the absolute value of.
|
|
380
|
+
*
|
|
381
|
+
* @example
|
|
382
|
+
* import { abs, unsafeFromString } from "effect/BigDecimal"
|
|
383
|
+
*
|
|
384
|
+
* assert.deepStrictEqual(abs(unsafeFromString("-5")), unsafeFromString("5"))
|
|
385
|
+
* assert.deepStrictEqual(abs(unsafeFromString("0")), unsafeFromString("0"))
|
|
386
|
+
* assert.deepStrictEqual(abs(unsafeFromString("5")), unsafeFromString("5"))
|
|
387
|
+
*
|
|
388
|
+
* @since 2.0.0
|
|
389
|
+
* @category math
|
|
390
|
+
*/
|
|
391
|
+
export declare const abs: (n: BigDecimal) => BigDecimal;
|
|
392
|
+
/**
|
|
393
|
+
* Provides a negate operation on `BigDecimal`s.
|
|
394
|
+
*
|
|
395
|
+
* @param n - The `BigDecimal` to negate.
|
|
396
|
+
*
|
|
397
|
+
* @example
|
|
398
|
+
* import { negate, unsafeFromString } from "effect/BigDecimal"
|
|
399
|
+
*
|
|
400
|
+
* assert.deepStrictEqual(negate(unsafeFromString("3")), unsafeFromString("-3"))
|
|
401
|
+
* assert.deepStrictEqual(negate(unsafeFromString("-6")), unsafeFromString("6"))
|
|
402
|
+
*
|
|
403
|
+
* @since 2.0.0
|
|
404
|
+
* @category math
|
|
405
|
+
*/
|
|
406
|
+
export declare const negate: (n: BigDecimal) => BigDecimal;
|
|
407
|
+
/**
|
|
408
|
+
* Returns the remainder left over when one operand is divided by a second operand.
|
|
409
|
+
*
|
|
410
|
+
* If the divisor is `0`, the result will be `None`.
|
|
411
|
+
*
|
|
412
|
+
* @param self - The dividend.
|
|
413
|
+
* @param divisor - The divisor.
|
|
414
|
+
*
|
|
415
|
+
* @example
|
|
416
|
+
* import { remainder, unsafeFromString } from "effect/BigDecimal"
|
|
417
|
+
* import { some, none } from "effect/Option"
|
|
418
|
+
*
|
|
419
|
+
* assert.deepStrictEqual(remainder(unsafeFromString("2"), unsafeFromString("2")), some(unsafeFromString("0")))
|
|
420
|
+
* assert.deepStrictEqual(remainder(unsafeFromString("3"), unsafeFromString("2")), some(unsafeFromString("1")))
|
|
421
|
+
* assert.deepStrictEqual(remainder(unsafeFromString("-4"), unsafeFromString("2")), some(unsafeFromString("0")))
|
|
422
|
+
*
|
|
423
|
+
* @since 2.0.0
|
|
424
|
+
* @category math
|
|
425
|
+
*/
|
|
426
|
+
export declare const remainder: {
|
|
427
|
+
(divisor: BigDecimal): (self: BigDecimal) => Option.Option<BigDecimal>;
|
|
428
|
+
(self: BigDecimal, divisor: BigDecimal): Option.Option<BigDecimal>;
|
|
429
|
+
};
|
|
430
|
+
/**
|
|
431
|
+
* Returns the remainder left over when one operand is divided by a second operand.
|
|
432
|
+
*
|
|
433
|
+
* Throws a `RangeError` if the divisor is `0`.
|
|
434
|
+
*
|
|
435
|
+
* @param self - The dividend.
|
|
436
|
+
* @param divisor - The divisor.
|
|
437
|
+
*
|
|
438
|
+
* @example
|
|
439
|
+
* import { unsafeRemainder, unsafeFromString } from "effect/BigDecimal"
|
|
440
|
+
*
|
|
441
|
+
* assert.deepStrictEqual(unsafeRemainder(unsafeFromString("2"), unsafeFromString("2")), unsafeFromString("0"))
|
|
442
|
+
* assert.deepStrictEqual(unsafeRemainder(unsafeFromString("3"), unsafeFromString("2")), unsafeFromString("1"))
|
|
443
|
+
* assert.deepStrictEqual(unsafeRemainder(unsafeFromString("-4"), unsafeFromString("2")), unsafeFromString("0"))
|
|
444
|
+
*
|
|
445
|
+
* @since 2.0.0
|
|
446
|
+
* @category math
|
|
447
|
+
*/
|
|
448
|
+
export declare const unsafeRemainder: {
|
|
449
|
+
(divisor: BigDecimal): (self: BigDecimal) => BigDecimal;
|
|
450
|
+
(self: BigDecimal, divisor: BigDecimal): BigDecimal;
|
|
451
|
+
};
|
|
452
|
+
/**
|
|
453
|
+
* @category instances
|
|
454
|
+
* @since 2.0.0
|
|
455
|
+
*/
|
|
456
|
+
export declare const Equivalence: equivalence.Equivalence<BigDecimal>;
|
|
457
|
+
/**
|
|
458
|
+
* Checks if two `BigDecimal`s are equal.
|
|
459
|
+
*
|
|
460
|
+
* @since 2.0.0
|
|
461
|
+
* @category predicates
|
|
462
|
+
*/
|
|
463
|
+
export declare const equals: {
|
|
464
|
+
(that: BigDecimal): (self: BigDecimal) => boolean;
|
|
465
|
+
(self: BigDecimal, that: BigDecimal): boolean;
|
|
466
|
+
};
|
|
467
|
+
/**
|
|
468
|
+
* Creates a `BigDecimal` from a `bigint` value.
|
|
469
|
+
*
|
|
470
|
+
* @param value - The `bigint` value to create a `BigDecimal` from.
|
|
471
|
+
*
|
|
472
|
+
* @since 2.0.0
|
|
473
|
+
* @category constructors
|
|
474
|
+
*/
|
|
475
|
+
export declare const fromBigInt: (n: bigint) => BigDecimal;
|
|
476
|
+
/**
|
|
477
|
+
* Creates a `BigDecimal` from a `number` value.
|
|
478
|
+
*
|
|
479
|
+
* It is not recommended to convert a floating point number to a decimal directly,
|
|
480
|
+
* as the floating point representation may be unexpected.
|
|
481
|
+
*
|
|
482
|
+
* @param value - The `number` value to create a `BigDecimal` from.
|
|
483
|
+
*
|
|
484
|
+
* @example
|
|
485
|
+
* import { fromNumber, make } from "effect/BigDecimal"
|
|
486
|
+
*
|
|
487
|
+
* assert.deepStrictEqual(fromNumber(123), make(123n, 0))
|
|
488
|
+
* assert.deepStrictEqual(fromNumber(123.456), make(123456n, 3))
|
|
489
|
+
*
|
|
490
|
+
* @since 2.0.0
|
|
491
|
+
* @category constructors
|
|
492
|
+
*/
|
|
493
|
+
export declare const fromNumber: (n: number) => BigDecimal;
|
|
494
|
+
/**
|
|
495
|
+
* Parses a numerical `string` into a `BigDecimal`.
|
|
496
|
+
*
|
|
497
|
+
* @param s - The `string` to parse.
|
|
498
|
+
*
|
|
499
|
+
* @example
|
|
500
|
+
* import { fromString, make } from "effect/BigDecimal"
|
|
501
|
+
* import { some, none } from "effect/Option"
|
|
502
|
+
*
|
|
503
|
+
* assert.deepStrictEqual(fromString("123"), some(make(123n, 0)))
|
|
504
|
+
* assert.deepStrictEqual(fromString("123.456"), some(make(123456n, 3)))
|
|
505
|
+
* assert.deepStrictEqual(fromString("123.abc"), none())
|
|
506
|
+
*
|
|
507
|
+
* @since 2.0.0
|
|
508
|
+
* @category constructors
|
|
509
|
+
*/
|
|
510
|
+
export declare const fromString: (s: string) => Option.Option<BigDecimal>;
|
|
511
|
+
/**
|
|
512
|
+
* Parses a numerical `string` into a `BigDecimal`.
|
|
513
|
+
*
|
|
514
|
+
* @param s - The `string` to parse.
|
|
515
|
+
*
|
|
516
|
+
* @example
|
|
517
|
+
* import { unsafeFromString, make } from "effect/BigDecimal"
|
|
518
|
+
*
|
|
519
|
+
* assert.deepStrictEqual(unsafeFromString("123"), make(123n, 0))
|
|
520
|
+
* assert.deepStrictEqual(unsafeFromString("123.456"), make(123456n, 3))
|
|
521
|
+
* assert.throws(() => unsafeFromString("123.abc"))
|
|
522
|
+
*
|
|
523
|
+
* @since 2.0.0
|
|
524
|
+
* @category constructors
|
|
525
|
+
*/
|
|
526
|
+
export declare const unsafeFromString: (s: string) => BigDecimal;
|
|
527
|
+
/**
|
|
528
|
+
* Formats a given `BigDecimal` as a `string`.
|
|
529
|
+
*
|
|
530
|
+
* @param normalized - The `BigDecimal` to format.
|
|
531
|
+
*
|
|
532
|
+
* @example
|
|
533
|
+
* import { toString, unsafeFromString } from "effect/BigDecimal"
|
|
534
|
+
*
|
|
535
|
+
* assert.deepStrictEqual(toString(unsafeFromString("-5")), "-5")
|
|
536
|
+
* assert.deepStrictEqual(toString(unsafeFromString("123.456")), "123.456")
|
|
537
|
+
* assert.deepStrictEqual(toString(unsafeFromString("-0.00000123")), "-0.00000123")
|
|
538
|
+
*
|
|
539
|
+
* @since 2.0.0
|
|
540
|
+
* @category conversions
|
|
541
|
+
*/
|
|
542
|
+
export declare const toString: (n: BigDecimal) => string;
|
|
543
|
+
/**
|
|
544
|
+
* Converts a `BigDecimal` to a `number`.
|
|
545
|
+
*
|
|
546
|
+
* This function will produce incorrect results if the `BigDecimal` exceeds the 64-bit range of a `number`.
|
|
547
|
+
*
|
|
548
|
+
* @param n - The `BigDecimal` to convert.
|
|
549
|
+
*
|
|
550
|
+
* @example
|
|
551
|
+
* import { unsafeToNumber, unsafeFromString } from "effect/BigDecimal"
|
|
552
|
+
*
|
|
553
|
+
* assert.deepStrictEqual(unsafeToNumber(unsafeFromString("123.456")), 123.456)
|
|
554
|
+
*
|
|
555
|
+
* @since 2.0.0
|
|
556
|
+
* @category conversions
|
|
557
|
+
*/
|
|
558
|
+
export declare const unsafeToNumber: (n: BigDecimal) => number;
|
|
559
|
+
/**
|
|
560
|
+
* Checks if a given `BigDecimal` is an integer.
|
|
561
|
+
*
|
|
562
|
+
* @param n - The `BigDecimal` to check.
|
|
563
|
+
*
|
|
564
|
+
* @example
|
|
565
|
+
* import { isInteger, unsafeFromString } from "effect/BigDecimal"
|
|
566
|
+
*
|
|
567
|
+
* assert.deepStrictEqual(isInteger(unsafeFromString("0")), true)
|
|
568
|
+
* assert.deepStrictEqual(isInteger(unsafeFromString("1")), true)
|
|
569
|
+
* assert.deepStrictEqual(isInteger(unsafeFromString("1.1")), false)
|
|
570
|
+
*
|
|
571
|
+
* @since 2.0.0
|
|
572
|
+
* @category predicates
|
|
573
|
+
*/
|
|
574
|
+
export declare const isInteger: (n: BigDecimal) => boolean;
|
|
575
|
+
/**
|
|
576
|
+
* Checks if a given `BigDecimal` is `0`.
|
|
577
|
+
*
|
|
578
|
+
* @param n - The `BigDecimal` to check.
|
|
579
|
+
*
|
|
580
|
+
* @example
|
|
581
|
+
* import { isZero, unsafeFromString } from "effect/BigDecimal"
|
|
582
|
+
*
|
|
583
|
+
* assert.deepStrictEqual(isZero(unsafeFromString("0")), true)
|
|
584
|
+
* assert.deepStrictEqual(isZero(unsafeFromString("1")), false)
|
|
585
|
+
*
|
|
586
|
+
* @since 2.0.0
|
|
587
|
+
* @category predicates
|
|
588
|
+
*/
|
|
589
|
+
export declare const isZero: (n: BigDecimal) => boolean;
|
|
590
|
+
/**
|
|
591
|
+
* Checks if a given `BigDecimal` is negative.
|
|
592
|
+
*
|
|
593
|
+
* @param n - The `BigDecimal` to check.
|
|
594
|
+
*
|
|
595
|
+
* @example
|
|
596
|
+
* import { isNegative, unsafeFromString } from "effect/BigDecimal"
|
|
597
|
+
*
|
|
598
|
+
* assert.deepStrictEqual(isNegative(unsafeFromString("-1")), true)
|
|
599
|
+
* assert.deepStrictEqual(isNegative(unsafeFromString("0")), false)
|
|
600
|
+
* assert.deepStrictEqual(isNegative(unsafeFromString("1")), false)
|
|
601
|
+
*
|
|
602
|
+
* @since 2.0.0
|
|
603
|
+
* @category predicates
|
|
604
|
+
*/
|
|
605
|
+
export declare const isNegative: (n: BigDecimal) => boolean;
|
|
606
|
+
/**
|
|
607
|
+
* Checks if a given `BigDecimal` is positive.
|
|
608
|
+
*
|
|
609
|
+
* @param n - The `BigDecimal` to check.
|
|
610
|
+
*
|
|
611
|
+
* @example
|
|
612
|
+
* import { isPositive, unsafeFromString } from "effect/BigDecimal"
|
|
613
|
+
*
|
|
614
|
+
* assert.deepStrictEqual(isPositive(unsafeFromString("-1")), false)
|
|
615
|
+
* assert.deepStrictEqual(isPositive(unsafeFromString("0")), false)
|
|
616
|
+
* assert.deepStrictEqual(isPositive(unsafeFromString("1")), true)
|
|
617
|
+
*
|
|
618
|
+
* @since 2.0.0
|
|
619
|
+
* @category predicates
|
|
620
|
+
*/
|
|
621
|
+
export declare const isPositive: (n: BigDecimal) => boolean;
|
|
622
|
+
//# sourceMappingURL=BigDecimal.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BigDecimal.d.ts","sourceRoot":"../../../src","sources":["BigDecimal.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,KAAK,KAAK,mBAAe;AAChC,OAAO,KAAK,WAAW,yBAAqB;AAG5C,OAAO,EAAE,KAAK,WAAW,EAAqB,yBAAqB;AACnE,OAAO,KAAK,MAAM,oBAAgB;AAClC,OAAO,KAAK,KAAK,mBAAe;AAChC,OAAO,KAAK,EAAE,QAAQ,EAAE,sBAAkB;AAC1C,OAAO,EAAE,KAAK,QAAQ,EAAiB,sBAAkB;AAIzD;;;GAGG;AACH,eAAO,MAAM,MAAM,EAAE,OAAO,MAAwC,CAAA;AAEpE;;;GAGG;AACH,MAAM,MAAM,MAAM,GAAG,OAAO,MAAM,CAAA;AAElC;;;GAGG;AACH,MAAM,WAAW,UAAW,SAAQ,KAAK,CAAC,KAAK,EAAE,QAAQ,EAAE,WAAW;IACpE,QAAQ,CAAC,CAAC,MAAM,CAAC,EAAE,MAAM,CAAA;IACzB,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAA;IACtB,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAA;CAGvB;AA4BD;;;;;;;GAOG;AACH,eAAO,MAAM,YAAY,MAAO,OAAO,oBAAwE,CAAA;AAE/G;;;;;;;;GAQG;AACH,eAAO,MAAM,IAAI,UAAW,MAAM,SAAS,MAAM,KAAG,UAKnD,CAAA;AAOD;;;;;;;;;;;;;GAaG;AACH,eAAO,MAAM,SAAS,SAAU,UAAU,KAAG,UA2B5C,CAAA;AAED;;;;;;;;;;;GAWG;AACH,eAAO,MAAM,KAAK,SAAU,UAAU,SAAS,MAAM,KAAG,UAUvD,CAAA;AAED;;;;;;;;;;;;;GA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