effect 2.0.0-next.37 → 2.0.0-next.39
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/Bigint/dist/effect-Bigint.cjs.dev.js +5 -5
- package/Bigint/dist/effect-Bigint.cjs.prod.js +5 -5
- package/Bigint/dist/effect-Bigint.esm.js +346 -5
- package/Boolean/dist/effect-Boolean.cjs.dev.js +5 -5
- package/Boolean/dist/effect-Boolean.cjs.prod.js +5 -5
- package/Boolean/dist/effect-Boolean.esm.js +230 -5
- package/Brand/dist/effect-Brand.cjs.dev.js +20 -20
- package/Brand/dist/effect-Brand.cjs.prod.js +20 -20
- package/Brand/dist/effect-Brand.esm.js +204 -20
- package/Cache/dist/effect-Cache.cjs.dev.js +72 -72
- package/Cache/dist/effect-Cache.cjs.prod.js +72 -72
- package/Cache/dist/effect-Cache.esm.js +111 -74
- package/Cause/dist/effect-Cause.cjs.dev.js +32 -32
- package/Cause/dist/effect-Cause.cjs.prod.js +32 -32
- package/Cause/dist/effect-Cause.esm.js +668 -33
- package/Channel/dist/effect-Channel.cjs.dev.js +105 -105
- package/Channel/dist/effect-Channel.cjs.prod.js +105 -105
- package/Channel/dist/effect-Channel.esm.js +1001 -107
- package/ChannelChildExecutorDecision/dist/effect-ChannelChildExecutorDecision.cjs.dev.js +3 -3
- package/ChannelChildExecutorDecision/dist/effect-ChannelChildExecutorDecision.cjs.prod.js +3 -3
- package/ChannelChildExecutorDecision/dist/effect-ChannelChildExecutorDecision.esm.js +112 -3
- package/ChannelMergeDecision/dist/effect-ChannelMergeDecision.cjs.dev.js +3 -3
- package/ChannelMergeDecision/dist/effect-ChannelMergeDecision.cjs.prod.js +3 -3
- package/ChannelMergeDecision/dist/effect-ChannelMergeDecision.esm.js +60 -3
- package/ChannelMergeState/dist/effect-ChannelMergeState.cjs.dev.js +3 -3
- package/ChannelMergeState/dist/effect-ChannelMergeState.cjs.prod.js +3 -3
- package/ChannelMergeState/dist/effect-ChannelMergeState.esm.js +101 -3
- package/ChannelMergeStrategy/dist/effect-ChannelMergeStrategy.cjs.dev.js +3 -3
- package/ChannelMergeStrategy/dist/effect-ChannelMergeStrategy.cjs.prod.js +3 -3
- package/ChannelMergeStrategy/dist/effect-ChannelMergeStrategy.esm.js +84 -3
- package/ChannelSingleProducerAsyncInput/dist/effect-ChannelSingleProducerAsyncInput.cjs.dev.js +89 -89
- package/ChannelSingleProducerAsyncInput/dist/effect-ChannelSingleProducerAsyncInput.cjs.prod.js +89 -89
- package/ChannelSingleProducerAsyncInput/dist/effect-ChannelSingleProducerAsyncInput.esm.js +47 -91
- package/ChannelUpstreamPullRequest/dist/effect-ChannelUpstreamPullRequest.cjs.dev.js +3 -3
- package/ChannelUpstreamPullRequest/dist/effect-ChannelUpstreamPullRequest.cjs.prod.js +3 -3
- package/ChannelUpstreamPullRequest/dist/effect-ChannelUpstreamPullRequest.esm.js +84 -3
- package/ChannelUpstreamPullStrategy/dist/effect-ChannelUpstreamPullStrategy.cjs.dev.js +3 -3
- package/ChannelUpstreamPullStrategy/dist/effect-ChannelUpstreamPullStrategy.cjs.prod.js +3 -3
- package/ChannelUpstreamPullStrategy/dist/effect-ChannelUpstreamPullStrategy.esm.js +83 -3
- package/Chunk/dist/effect-Chunk.cjs.dev.js +20 -20
- package/Chunk/dist/effect-Chunk.cjs.prod.js +20 -20
- package/Chunk/dist/effect-Chunk.esm.js +1084 -20
- package/Clock/dist/effect-Clock.cjs.dev.js +40 -40
- package/Clock/dist/effect-Clock.cjs.prod.js +40 -40
- package/Clock/dist/effect-Clock.esm.js +78 -42
- package/Config/dist/effect-Config.cjs.dev.js +36 -36
- package/Config/dist/effect-Config.cjs.prod.js +36 -36
- package/Config/dist/effect-Config.esm.js +321 -37
- package/ConfigError/dist/effect-ConfigError.cjs.dev.js +21 -21
- package/ConfigError/dist/effect-ConfigError.cjs.prod.js +21 -21
- package/ConfigError/dist/effect-ConfigError.esm.js +185 -21
- package/ConfigProvider/dist/effect-ConfigProvider.cjs.dev.js +38 -38
- package/ConfigProvider/dist/effect-ConfigProvider.cjs.prod.js +38 -38
- package/ConfigProvider/dist/effect-ConfigProvider.esm.js +198 -39
- package/ConfigProviderPathPatch/dist/effect-ConfigProviderPathPatch.cjs.dev.js +24 -24
- package/ConfigProviderPathPatch/dist/effect-ConfigProviderPathPatch.cjs.prod.js +24 -24
- package/ConfigProviderPathPatch/dist/effect-ConfigProviderPathPatch.esm.js +70 -24
- package/ConfigSecret/dist/effect-ConfigSecret.cjs.dev.js +22 -22
- package/ConfigSecret/dist/effect-ConfigSecret.cjs.prod.js +22 -22
- package/ConfigSecret/dist/effect-ConfigSecret.esm.js +63 -22
- package/Console/dist/effect-Console.cjs.dev.js +81 -81
- package/Console/dist/effect-Console.cjs.prod.js +81 -81
- package/Console/dist/effect-Console.esm.js +154 -83
- package/Context/dist/effect-Context.cjs.dev.js +17 -17
- package/Context/dist/effect-Context.cjs.prod.js +17 -17
- package/Context/dist/effect-Context.esm.js +295 -17
- package/Data/dist/effect-Data.cjs.dev.js +7 -7
- package/Data/dist/effect-Data.cjs.prod.js +7 -7
- package/Data/dist/effect-Data.esm.js +163 -7
- package/DefaultServices/dist/effect-DefaultServices.cjs.dev.js +40 -40
- package/DefaultServices/dist/effect-DefaultServices.cjs.prod.js +40 -40
- package/DefaultServices/dist/effect-DefaultServices.esm.js +24 -42
- package/Deferred/dist/effect-Deferred.cjs.dev.js +32 -32
- package/Deferred/dist/effect-Deferred.cjs.prod.js +32 -32
- package/Deferred/dist/effect-Deferred.esm.js +206 -33
- package/Differ/dist/effect-Differ.cjs.dev.js +25 -25
- package/Differ/dist/effect-Differ.cjs.prod.js +25 -25
- package/Differ/dist/effect-Differ.esm.js +137 -26
- package/Duration/dist/effect-Duration.cjs.dev.js +17 -16
- package/Duration/dist/effect-Duration.cjs.mjs +1 -0
- package/Duration/dist/effect-Duration.cjs.prod.js +17 -16
- package/Duration/dist/effect-Duration.esm.js +438 -16
- package/Effect/dist/effect-Effect.cjs.dev.js +87 -87
- package/Effect/dist/effect-Effect.cjs.prod.js +87 -87
- package/Effect/dist/effect-Effect.esm.js +3093 -89
- package/Effectable/dist/effect-Effectable.cjs.dev.js +10 -10
- package/Effectable/dist/effect-Effectable.cjs.prod.js +10 -10
- package/Effectable/dist/effect-Effectable.esm.js +77 -10
- package/Either/dist/effect-Either.cjs.dev.js +13 -13
- package/Either/dist/effect-Either.cjs.prod.js +13 -13
- package/Either/dist/effect-Either.esm.js +442 -13
- package/Encoding/dist/effect-Encoding.cjs.dev.js +14 -14
- package/Encoding/dist/effect-Encoding.cjs.prod.js +14 -14
- package/Encoding/dist/effect-Encoding.esm.js +123 -14
- package/Equal/dist/effect-Equal.cjs.dev.js +6 -6
- package/Equal/dist/effect-Equal.cjs.prod.js +6 -6
- package/Equal/dist/effect-Equal.esm.js +57 -6
- package/Equivalence/dist/effect-Equivalence.cjs.dev.js +2 -2
- package/Equivalence/dist/effect-Equivalence.cjs.prod.js +2 -2
- package/Equivalence/dist/effect-Equivalence.esm.js +196 -2
- package/Error/dist/effect-Error.cjs.dev.js +89 -89
- package/Error/dist/effect-Error.cjs.prod.js +89 -89
- package/Error/dist/effect-Error.esm.js +47 -91
- package/ExecutionStrategy/dist/effect-ExecutionStrategy.cjs.dev.js +2 -2
- package/ExecutionStrategy/dist/effect-ExecutionStrategy.cjs.prod.js +2 -2
- package/ExecutionStrategy/dist/effect-ExecutionStrategy.esm.js +99 -2
- package/Exit/dist/effect-Exit.cjs.dev.js +32 -32
- package/Exit/dist/effect-Exit.cjs.prod.js +32 -32
- package/Exit/dist/effect-Exit.esm.js +332 -33
- package/Fiber/dist/effect-Fiber.cjs.dev.js +75 -75
- package/Fiber/dist/effect-Fiber.cjs.prod.js +75 -75
- package/Fiber/dist/effect-Fiber.esm.js +423 -77
- package/FiberId/dist/effect-FiberId.cjs.dev.js +19 -19
- package/FiberId/dist/effect-FiberId.cjs.prod.js +19 -19
- package/FiberId/dist/effect-FiberId.esm.js +161 -20
- package/FiberRef/dist/effect-FiberRef.cjs.dev.js +73 -73
- package/FiberRef/dist/effect-FiberRef.cjs.prod.js +73 -73
- package/FiberRef/dist/effect-FiberRef.esm.js +289 -75
- package/FiberRefs/dist/effect-FiberRefs.cjs.dev.js +33 -33
- package/FiberRefs/dist/effect-FiberRefs.cjs.prod.js +33 -33
- package/FiberRefs/dist/effect-FiberRefs.esm.js +107 -34
- package/FiberRefsPatch/dist/effect-FiberRefsPatch.cjs.dev.js +34 -34
- package/FiberRefsPatch/dist/effect-FiberRefsPatch.cjs.prod.js +34 -34
- package/FiberRefsPatch/dist/effect-FiberRefsPatch.esm.js +76 -35
- package/FiberStatus/dist/effect-FiberStatus.cjs.dev.js +7 -7
- package/FiberStatus/dist/effect-FiberStatus.cjs.prod.js +7 -7
- package/FiberStatus/dist/effect-FiberStatus.esm.js +89 -7
- package/Function/dist/effect-Function.cjs.dev.js +1 -1
- package/Function/dist/effect-Function.cjs.prod.js +1 -1
- package/Function/dist/effect-Function.esm.js +492 -1
- package/GlobalValue/dist/effect-GlobalValue.cjs.dev.js +1 -1
- package/GlobalValue/dist/effect-GlobalValue.cjs.prod.js +1 -1
- package/GlobalValue/dist/effect-GlobalValue.esm.js +20 -1
- package/GroupBy/dist/effect-GroupBy.cjs.dev.js +106 -106
- package/GroupBy/dist/effect-GroupBy.cjs.prod.js +106 -106
- package/GroupBy/dist/effect-GroupBy.esm.js +63 -108
- package/Hash/dist/effect-Hash.cjs.dev.js +5 -5
- package/Hash/dist/effect-Hash.cjs.prod.js +5 -5
- package/Hash/dist/effect-Hash.esm.js +164 -5
- package/HashMap/dist/effect-HashMap.cjs.dev.js +17 -17
- package/HashMap/dist/effect-HashMap.cjs.prod.js +17 -17
- package/HashMap/dist/effect-HashMap.esm.js +287 -18
- package/HashSet/dist/effect-HashSet.cjs.dev.js +17 -17
- package/HashSet/dist/effect-HashSet.cjs.prod.js +17 -17
- package/HashSet/dist/effect-HashSet.esm.js +227 -18
- package/Hub/dist/effect-Hub.cjs.dev.js +72 -72
- package/Hub/dist/effect-Hub.cjs.prod.js +72 -72
- package/Hub/dist/effect-Hub.esm.js +148 -74
- package/Inspectable/dist/effect-Inspectable.cjs.dev.js +1 -1
- package/Inspectable/dist/effect-Inspectable.cjs.prod.js +1 -1
- package/Inspectable/dist/effect-Inspectable.esm.js +38 -1
- package/KeyedPool/dist/effect-KeyedPool.cjs.dev.js +73 -73
- package/KeyedPool/dist/effect-KeyedPool.cjs.prod.js +73 -73
- package/KeyedPool/dist/effect-KeyedPool.esm.js +104 -75
- package/Layer/dist/effect-Layer.cjs.dev.js +81 -81
- package/Layer/dist/effect-Layer.cjs.prod.js +81 -81
- package/Layer/dist/effect-Layer.esm.js +557 -83
- package/List/dist/effect-List.cjs.dev.js +21 -21
- package/List/dist/effect-List.cjs.prod.js +21 -21
- package/List/dist/effect-List.esm.js +816 -21
- package/LogLevel/dist/effect-LogLevel.cjs.dev.js +32 -32
- package/LogLevel/dist/effect-LogLevel.cjs.prod.js +32 -32
- package/LogLevel/dist/effect-LogLevel.esm.js +202 -33
- package/LogSpan/dist/effect-LogSpan.cjs.dev.js +1 -1
- package/LogSpan/dist/effect-LogSpan.cjs.prod.js +1 -1
- package/LogSpan/dist/effect-LogSpan.esm.js +24 -1
- package/Logger/dist/effect-Logger.cjs.dev.js +83 -83
- package/Logger/dist/effect-Logger.cjs.prod.js +83 -83
- package/Logger/dist/effect-Logger.esm.js +198 -85
- package/Metric/dist/effect-Metric.cjs.dev.js +69 -69
- package/Metric/dist/effect-Metric.cjs.prod.js +69 -69
- package/Metric/dist/effect-Metric.esm.js +395 -71
- package/MetricBoundaries/dist/effect-MetricBoundaries.cjs.dev.js +22 -22
- package/MetricBoundaries/dist/effect-MetricBoundaries.cjs.prod.js +22 -22
- package/MetricBoundaries/dist/effect-MetricBoundaries.esm.js +52 -22
- package/MetricHook/dist/effect-MetricHook.cjs.dev.js +26 -26
- package/MetricHook/dist/effect-MetricHook.cjs.prod.js +26 -26
- package/MetricHook/dist/effect-MetricHook.esm.js +68 -27
- package/MetricKey/dist/effect-MetricKey.cjs.dev.js +22 -22
- package/MetricKey/dist/effect-MetricKey.cjs.prod.js +22 -22
- package/MetricKey/dist/effect-MetricKey.esm.js +104 -23
- package/MetricKeyType/dist/effect-MetricKeyType.cjs.dev.js +18 -18
- package/MetricKeyType/dist/effect-MetricKeyType.cjs.prod.js +18 -18
- package/MetricKeyType/dist/effect-MetricKeyType.esm.js +147 -18
- package/MetricLabel/dist/effect-MetricLabel.cjs.dev.js +9 -9
- package/MetricLabel/dist/effect-MetricLabel.cjs.prod.js +9 -9
- package/MetricLabel/dist/effect-MetricLabel.esm.js +41 -9
- package/MetricPair/dist/effect-MetricPair.cjs.dev.js +3 -3
- package/MetricPair/dist/effect-MetricPair.cjs.prod.js +3 -3
- package/MetricPair/dist/effect-MetricPair.esm.js +38 -3
- package/MetricPolling/dist/effect-MetricPolling.cjs.dev.js +75 -75
- package/MetricPolling/dist/effect-MetricPolling.cjs.prod.js +75 -75
- package/MetricPolling/dist/effect-MetricPolling.esm.js +84 -77
- package/MetricRegistry/dist/effect-MetricRegistry.cjs.dev.js +32 -32
- package/MetricRegistry/dist/effect-MetricRegistry.cjs.prod.js +32 -32
- package/MetricRegistry/dist/effect-MetricRegistry.esm.js +28 -33
- package/MetricState/dist/effect-MetricState.cjs.dev.js +9 -9
- package/MetricState/dist/effect-MetricState.cjs.prod.js +9 -9
- package/MetricState/dist/effect-MetricState.esm.js +151 -9
- package/MutableHashMap/dist/effect-MutableHashMap.cjs.dev.js +19 -19
- package/MutableHashMap/dist/effect-MutableHashMap.cjs.prod.js +19 -19
- package/MutableHashMap/dist/effect-MutableHashMap.esm.js +128 -20
- package/MutableHashSet/dist/effect-MutableHashSet.cjs.dev.js +20 -20
- package/MutableHashSet/dist/effect-MutableHashSet.cjs.prod.js +20 -20
- package/MutableHashSet/dist/effect-MutableHashSet.esm.js +90 -21
- package/MutableList/dist/effect-MutableList.cjs.dev.js +4 -4
- package/MutableList/dist/effect-MutableList.cjs.prod.js +4 -4
- package/MutableList/dist/effect-MutableList.esm.js +264 -4
- package/MutableQueue/dist/effect-MutableQueue.cjs.dev.js +22 -22
- package/MutableQueue/dist/effect-MutableQueue.cjs.prod.js +22 -22
- package/MutableQueue/dist/effect-MutableQueue.esm.js +187 -22
- package/MutableRef/dist/effect-MutableRef.cjs.dev.js +9 -9
- package/MutableRef/dist/effect-MutableRef.cjs.prod.js +9 -9
- package/MutableRef/dist/effect-MutableRef.esm.js +156 -9
- package/NonEmptyIterable/dist/effect-NonEmptyIterable.cjs.dev.js +1 -1
- package/NonEmptyIterable/dist/effect-NonEmptyIterable.cjs.prod.js +1 -1
- package/NonEmptyIterable/dist/effect-NonEmptyIterable.esm.js +28 -1
- package/Number/dist/effect-Number.cjs.dev.js +5 -5
- package/Number/dist/effect-Number.cjs.prod.js +5 -5
- package/Number/dist/effect-Number.esm.js +369 -5
- package/Option/dist/effect-Option.cjs.dev.js +15 -15
- package/Option/dist/effect-Option.cjs.prod.js +15 -15
- package/Option/dist/effect-Option.esm.js +1071 -15
- package/Order/dist/effect-Order.cjs.dev.js +2 -2
- package/Order/dist/effect-Order.cjs.prod.js +2 -2
- package/Order/dist/effect-Order.esm.js +263 -2
- package/Ordering/dist/effect-Ordering.cjs.dev.js +2 -2
- package/Ordering/dist/effect-Ordering.cjs.prod.js +2 -2
- package/Ordering/dist/effect-Ordering.esm.js +88 -2
- package/Pipeable/dist/effect-Pipeable.cjs.dev.js +1 -1
- package/Pipeable/dist/effect-Pipeable.cjs.prod.js +1 -1
- package/Pipeable/dist/effect-Pipeable.esm.js +44 -1
- package/Pool/dist/effect-Pool.cjs.dev.js +73 -73
- package/Pool/dist/effect-Pool.cjs.prod.js +73 -73
- package/Pool/dist/effect-Pool.esm.js +104 -75
- package/Predicate/dist/effect-Predicate.cjs.dev.js +2 -2
- package/Predicate/dist/effect-Predicate.cjs.prod.js +2 -2
- package/Predicate/dist/effect-Predicate.esm.js +634 -2
- package/Queue/dist/effect-Queue.cjs.dev.js +72 -72
- package/Queue/dist/effect-Queue.cjs.prod.js +72 -72
- package/Queue/dist/effect-Queue.esm.js +328 -74
- package/Random/dist/effect-Random.cjs.dev.js +40 -40
- package/Random/dist/effect-Random.cjs.prod.js +40 -40
- package/Random/dist/effect-Random.esm.js +83 -42
- package/ReadonlyArray/dist/effect-ReadonlyArray.cjs.dev.js +19 -19
- package/ReadonlyArray/dist/effect-ReadonlyArray.cjs.prod.js +19 -19
- package/ReadonlyArray/dist/effect-ReadonlyArray.esm.js +1445 -19
- package/ReadonlyRecord/dist/effect-ReadonlyRecord.cjs.dev.js +17 -17
- package/ReadonlyRecord/dist/effect-ReadonlyRecord.cjs.prod.js +17 -17
- package/ReadonlyRecord/dist/effect-ReadonlyRecord.esm.js +518 -17
- package/RedBlackTree/dist/effect-RedBlackTree.cjs.dev.js +21 -21
- package/RedBlackTree/dist/effect-RedBlackTree.cjs.prod.js +21 -21
- package/RedBlackTree/dist/effect-RedBlackTree.esm.js +314 -22
- package/Ref/dist/effect-Ref.cjs.dev.js +32 -32
- package/Ref/dist/effect-Ref.cjs.prod.js +32 -32
- package/Ref/dist/effect-Ref.esm.js +111 -33
- package/Reloadable/dist/effect-Reloadable.cjs.dev.js +82 -82
- package/Reloadable/dist/effect-Reloadable.cjs.prod.js +82 -82
- package/Reloadable/dist/effect-Reloadable.esm.js +88 -84
- package/Request/dist/effect-Request.cjs.dev.js +72 -72
- package/Request/dist/effect-Request.cjs.prod.js +72 -72
- package/Request/dist/effect-Request.esm.js +160 -74
- package/RequestBlock/dist/effect-RequestBlock.cjs.dev.js +89 -89
- package/RequestBlock/dist/effect-RequestBlock.cjs.prod.js +89 -89
- package/RequestBlock/dist/effect-RequestBlock.esm.js +103 -91
- package/RequestResolver/dist/effect-RequestResolver.cjs.dev.js +89 -89
- package/RequestResolver/dist/effect-RequestResolver.cjs.prod.js +89 -89
- package/RequestResolver/dist/effect-RequestResolver.esm.js +191 -91
- package/Resource/dist/effect-Resource.cjs.dev.js +77 -77
- package/Resource/dist/effect-Resource.cjs.prod.js +77 -77
- package/Resource/dist/effect-Resource.esm.js +70 -79
- package/Runtime/dist/effect-Runtime.cjs.dev.js +77 -77
- package/Runtime/dist/effect-Runtime.cjs.prod.js +77 -77
- package/Runtime/dist/effect-Runtime.esm.js +157 -79
- package/RuntimeFlags/dist/effect-RuntimeFlags.cjs.dev.js +83 -83
- package/RuntimeFlags/dist/effect-RuntimeFlags.cjs.prod.js +83 -83
- package/RuntimeFlags/dist/effect-RuntimeFlags.esm.js +305 -85
- package/RuntimeFlagsPatch/dist/effect-RuntimeFlagsPatch.cjs.dev.js +26 -26
- package/RuntimeFlagsPatch/dist/effect-RuntimeFlagsPatch.cjs.prod.js +26 -26
- package/RuntimeFlagsPatch/dist/effect-RuntimeFlagsPatch.esm.js +158 -27
- package/STM/dist/effect-STM.cjs.dev.js +110 -110
- package/STM/dist/effect-STM.cjs.prod.js +110 -110
- package/STM/dist/effect-STM.esm.js +1193 -112
- package/Schedule/dist/effect-Schedule.cjs.dev.js +55 -55
- package/Schedule/dist/effect-Schedule.cjs.prod.js +55 -55
- package/Schedule/dist/effect-Schedule.esm.js +957 -57
- package/ScheduleDecision/dist/effect-ScheduleDecision.cjs.dev.js +24 -24
- package/ScheduleDecision/dist/effect-ScheduleDecision.cjs.prod.js +24 -24
- package/ScheduleDecision/dist/effect-ScheduleDecision.esm.js +48 -24
- package/ScheduleInterval/dist/effect-ScheduleInterval.cjs.dev.js +17 -17
- package/ScheduleInterval/dist/effect-ScheduleInterval.cjs.prod.js +17 -17
- package/ScheduleInterval/dist/effect-ScheduleInterval.esm.js +130 -17
- package/ScheduleIntervals/dist/effect-ScheduleIntervals.cjs.dev.js +23 -23
- package/ScheduleIntervals/dist/effect-ScheduleIntervals.cjs.prod.js +23 -23
- package/ScheduleIntervals/dist/effect-ScheduleIntervals.esm.js +105 -23
- package/Scheduler/dist/effect-Scheduler.cjs.dev.js +32 -32
- package/Scheduler/dist/effect-Scheduler.cjs.prod.js +32 -32
- package/Scheduler/dist/effect-Scheduler.esm.js +326 -34
- package/Scope/dist/effect-Scope.cjs.dev.js +69 -69
- package/Scope/dist/effect-Scope.cjs.prod.js +69 -69
- package/Scope/dist/effect-Scope.esm.js +117 -71
- package/ScopedCache/dist/effect-ScopedCache.cjs.dev.js +73 -73
- package/ScopedCache/dist/effect-ScopedCache.cjs.prod.js +73 -73
- package/ScopedCache/dist/effect-ScopedCache.esm.js +52 -75
- package/ScopedRef/dist/effect-ScopedRef.cjs.dev.js +77 -77
- package/ScopedRef/dist/effect-ScopedRef.cjs.prod.js +77 -77
- package/ScopedRef/dist/effect-ScopedRef.esm.js +71 -79
- package/Sink/dist/effect-Sink.cjs.dev.js +99 -99
- package/Sink/dist/effect-Sink.cjs.prod.js +99 -99
- package/Sink/dist/effect-Sink.esm.js +997 -101
- package/SortedMap/dist/effect-SortedMap.cjs.dev.js +22 -22
- package/SortedMap/dist/effect-SortedMap.cjs.prod.js +22 -22
- package/SortedMap/dist/effect-SortedMap.esm.js +168 -23
- package/SortedSet/dist/effect-SortedSet.cjs.dev.js +22 -22
- package/SortedSet/dist/effect-SortedSet.cjs.prod.js +22 -22
- package/SortedSet/dist/effect-SortedSet.esm.js +263 -23
- package/Stream/dist/effect-Stream.cjs.dev.js +106 -106
- package/Stream/dist/effect-Stream.cjs.prod.js +106 -106
- package/Stream/dist/effect-Stream.esm.js +2879 -108
- package/StreamHaltStrategy/dist/effect-StreamHaltStrategy.cjs.dev.js +2 -2
- package/StreamHaltStrategy/dist/effect-StreamHaltStrategy.cjs.prod.js +2 -2
- package/StreamHaltStrategy/dist/effect-StreamHaltStrategy.esm.js +97 -2
- package/String/dist/effect-String.cjs.dev.js +17 -17
- package/String/dist/effect-String.cjs.prod.js +17 -17
- package/String/dist/effect-String.esm.js +600 -17
- package/Struct/dist/effect-Struct.cjs.dev.js +4 -4
- package/Struct/dist/effect-Struct.cjs.prod.js +4 -4
- package/Struct/dist/effect-Struct.esm.js +125 -4
- package/SubscriptionRef/dist/effect-SubscriptionRef.cjs.dev.js +106 -106
- package/SubscriptionRef/dist/effect-SubscriptionRef.cjs.prod.js +106 -106
- package/SubscriptionRef/dist/effect-SubscriptionRef.esm.js +160 -108
- package/Supervisor/dist/effect-Supervisor.cjs.dev.js +83 -83
- package/Supervisor/dist/effect-Supervisor.cjs.prod.js +83 -83
- package/Supervisor/dist/effect-Supervisor.esm.js +148 -85
- package/Symbol/dist/effect-Symbol.cjs.dev.js +4 -4
- package/Symbol/dist/effect-Symbol.cjs.prod.js +4 -4
- package/Symbol/dist/effect-Symbol.esm.js +30 -4
- package/SynchronizedRef/dist/effect-SynchronizedRef.cjs.dev.js +76 -76
- package/SynchronizedRef/dist/effect-SynchronizedRef.cjs.prod.js +76 -76
- package/SynchronizedRef/dist/effect-SynchronizedRef.esm.js +160 -78
- package/TArray/dist/effect-TArray.cjs.dev.js +112 -112
- package/TArray/dist/effect-TArray.cjs.prod.js +112 -112
- package/TArray/dist/effect-TArray.esm.js +367 -114
- package/TDeferred/dist/effect-TDeferred.cjs.dev.js +111 -111
- package/TDeferred/dist/effect-TDeferred.cjs.prod.js +111 -111
- package/TDeferred/dist/effect-TDeferred.esm.js +63 -113
- package/THub/dist/effect-THub.cjs.dev.js +113 -113
- package/THub/dist/effect-THub.cjs.prod.js +113 -113
- package/THub/dist/effect-THub.esm.js +157 -115
- package/TMap/dist/effect-TMap.cjs.dev.js +114 -114
- package/TMap/dist/effect-TMap.cjs.prod.js +114 -114
- package/TMap/dist/effect-TMap.esm.js +373 -116
- package/TPriorityQueue/dist/effect-TPriorityQueue.cjs.dev.js +111 -111
- package/TPriorityQueue/dist/effect-TPriorityQueue.cjs.prod.js +111 -111
- package/TPriorityQueue/dist/effect-TPriorityQueue.esm.js +184 -113
- package/TQueue/dist/effect-TQueue.cjs.dev.js +113 -113
- package/TQueue/dist/effect-TQueue.cjs.prod.js +113 -113
- package/TQueue/dist/effect-TQueue.esm.js +293 -115
- package/TRandom/dist/effect-TRandom.cjs.dev.js +112 -112
- package/TRandom/dist/effect-TRandom.cjs.prod.js +112 -112
- package/TRandom/dist/effect-TRandom.esm.js +93 -114
- package/TReentrantLock/dist/effect-TReentrantLock.cjs.dev.js +110 -110
- package/TReentrantLock/dist/effect-TReentrantLock.cjs.prod.js +110 -110
- package/TReentrantLock/dist/effect-TReentrantLock.esm.js +199 -112
- package/TRef/dist/effect-TRef.cjs.dev.js +110 -110
- package/TRef/dist/effect-TRef.cjs.prod.js +110 -110
- package/TRef/dist/effect-TRef.esm.js +116 -112
- package/TSemaphore/dist/effect-TSemaphore.cjs.dev.js +112 -112
- package/TSemaphore/dist/effect-TSemaphore.cjs.prod.js +112 -112
- package/TSemaphore/dist/effect-TSemaphore.esm.js +97 -114
- package/TSet/dist/effect-TSet.cjs.dev.js +114 -114
- package/TSet/dist/effect-TSet.cjs.prod.js +114 -114
- package/TSet/dist/effect-TSet.esm.js +268 -116
- package/Take/dist/effect-Take.cjs.dev.js +89 -89
- package/Take/dist/effect-Take.cjs.prod.js +89 -89
- package/Take/dist/effect-Take.esm.js +190 -91
- package/TestAnnotation/dist/effect-TestAnnotation.cjs.dev.js +25 -25
- package/TestAnnotation/dist/effect-TestAnnotation.cjs.prod.js +25 -25
- package/TestAnnotation/dist/effect-TestAnnotation.esm.js +111 -26
- package/TestAnnotationMap/dist/effect-TestAnnotationMap.cjs.dev.js +2 -2
- package/TestAnnotationMap/dist/effect-TestAnnotationMap.cjs.prod.js +2 -2
- package/TestAnnotationMap/dist/effect-TestAnnotationMap.esm.js +101 -2
- package/TestAnnotations/dist/effect-TestAnnotations.cjs.dev.js +57 -57
- package/TestAnnotations/dist/effect-TestAnnotations.cjs.prod.js +57 -57
- package/TestAnnotations/dist/effect-TestAnnotations.esm.js +83 -59
- package/TestClock/dist/effect-TestClock.cjs.dev.js +85 -85
- package/TestClock/dist/effect-TestClock.cjs.prod.js +85 -85
- package/TestClock/dist/effect-TestClock.esm.js +411 -87
- package/TestConfig/dist/effect-TestConfig.cjs.dev.js +18 -18
- package/TestConfig/dist/effect-TestConfig.cjs.prod.js +18 -18
- package/TestConfig/dist/effect-TestConfig.esm.js +27 -18
- package/TestContext/dist/effect-TestContext.cjs.dev.js +96 -96
- package/TestContext/dist/effect-TestContext.cjs.prod.js +96 -96
- package/TestContext/dist/effect-TestContext.esm.js +29 -98
- package/TestLive/dist/effect-TestLive.cjs.dev.js +40 -40
- package/TestLive/dist/effect-TestLive.cjs.prod.js +40 -40
- package/TestLive/dist/effect-TestLive.esm.js +48 -42
- package/TestServices/dist/effect-TestServices.cjs.dev.js +94 -94
- package/TestServices/dist/effect-TestServices.cjs.prod.js +94 -94
- package/TestServices/dist/effect-TestServices.esm.js +269 -96
- package/TestSized/dist/effect-TestSized.cjs.dev.js +32 -32
- package/TestSized/dist/effect-TestSized.cjs.prod.js +32 -32
- package/TestSized/dist/effect-TestSized.esm.js +50 -33
- package/Tracer/dist/effect-Tracer.cjs.dev.js +40 -40
- package/Tracer/dist/effect-Tracer.cjs.prod.js +40 -40
- package/Tracer/dist/effect-Tracer.esm.js +68 -42
- package/Tuple/dist/effect-Tuple.cjs.dev.js +4 -4
- package/Tuple/dist/effect-Tuple.cjs.prod.js +4 -4
- package/Tuple/dist/effect-Tuple.esm.js +173 -4
- package/Unify/dist/effect-Unify.cjs.dev.js +2 -2
- package/Unify/dist/effect-Unify.cjs.prod.js +2 -2
- package/Unify/dist/effect-Unify.esm.js +40 -2
- package/Utils/dist/effect-Utils.cjs.dev.js +3 -3
- package/Utils/dist/effect-Utils.cjs.prod.js +3 -3
- package/Utils/dist/effect-Utils.esm.js +352 -3
- package/dist/Bigint-0ebd807c.cjs.dev.js +392 -0
- package/dist/Bigint-912c77f3.cjs.prod.js +392 -0
- package/dist/Boolean-97839b78.cjs.prod.js +264 -0
- package/dist/Boolean-f0bc3abf.cjs.dev.js +264 -0
- package/dist/Brand-93578f43.cjs.prod.js +224 -0
- package/dist/Brand-b238487d.cjs.dev.js +224 -0
- package/dist/Cache-1688e584.cjs.dev.js +127 -0
- package/dist/Cache-8f2f2b55.cjs.prod.js +127 -0
- package/dist/Cause-384e2165.cjs.prod.js +791 -0
- package/dist/Cause-96c29074.cjs.dev.js +791 -0
- package/dist/Channel-2ce019f1.cjs.prod.js +1217 -0
- package/dist/Channel-544108d2.cjs.dev.js +1217 -0
- package/dist/ChannelChildExecutorDecision-168278f6.cjs.prod.js +136 -0
- package/dist/ChannelChildExecutorDecision-b0e715de.cjs.dev.js +136 -0
- package/dist/ChannelMergeDecision-9c266aeb.cjs.prod.js +78 -0
- package/dist/ChannelMergeDecision-eeaf4779.cjs.dev.js +78 -0
- package/dist/ChannelMergeState-4366d090.cjs.prod.js +125 -0
- package/dist/ChannelMergeState-abce1d88.cjs.dev.js +125 -0
- package/dist/ChannelMergeStrategy-6193b8e0.cjs.prod.js +104 -0
- package/dist/ChannelMergeStrategy-e7ddbb7a.cjs.dev.js +104 -0
- package/dist/ChannelSingleProducerAsyncInput-62f4749c.cjs.dev.js +55 -0
- package/dist/ChannelSingleProducerAsyncInput-6e0084c3.cjs.prod.js +55 -0
- package/dist/ChannelUpstreamPullRequest-1ca7d2bd.cjs.dev.js +104 -0
- package/dist/ChannelUpstreamPullRequest-208751c3.cjs.prod.js +104 -0
- package/dist/ChannelUpstreamPullStrategy-266b5a77.cjs.prod.js +103 -0
- package/dist/ChannelUpstreamPullStrategy-ec57dc70.cjs.dev.js +103 -0
- package/dist/Chunk-6cf5a8e6.cjs.prod.js +1248 -0
- package/dist/Chunk-bd290b8e.cjs.dev.js +1248 -0
- package/dist/Clock-09ecce0a.cjs.prod.js +97 -0
- package/dist/Clock-bec722c1.cjs.dev.js +97 -0
- package/dist/Config-85ae6286.cjs.prod.js +393 -0
- package/dist/Config-dc58cf69.cjs.dev.js +393 -0
- package/dist/ConfigError-c1f762d2.cjs.dev.js +225 -0
- package/dist/ConfigError-cee682fa.cjs.prod.js +225 -0
- package/dist/ConfigProvider-8341a5f5.cjs.prod.js +240 -0
- package/dist/ConfigProvider-de45b085.cjs.dev.js +240 -0
- package/dist/ConfigProviderPathPatch-52422b32.cjs.prod.js +86 -0
- package/dist/ConfigProviderPathPatch-d22442e3.cjs.dev.js +86 -0
- package/dist/ConfigSecret-c76717e8.cjs.dev.js +83 -0
- package/dist/ConfigSecret-ebab2ae7.cjs.prod.js +83 -0
- package/dist/Console-150b7b40.cjs.prod.js +271 -0
- package/dist/Console-4825ee9f.cjs.dev.js +271 -0
- package/dist/Context-25a49952.cjs.prod.js +327 -0
- package/dist/Context-3c9e986b.cjs.dev.js +327 -0
- package/dist/Context-96739709.cjs.dev.js +222 -0
- package/dist/Context-f958cabc.cjs.prod.js +222 -0
- package/dist/Data-07dc27f1.cjs.prod.js +237 -0
- package/dist/Data-85559fb3.cjs.dev.js +237 -0
- package/dist/DefaultServices-d5740d37.cjs.dev.js +34 -0
- package/dist/DefaultServices-df7495bb.cjs.prod.js +34 -0
- package/dist/Deferred-5d5c886c.cjs.dev.js +253 -0
- package/dist/Deferred-9d825b3b.cjs.prod.js +253 -0
- package/dist/Differ-0122f60e.cjs.dev.js +992 -0
- package/dist/Differ-0bd34066.cjs.prod.js +992 -0
- package/dist/Duration-0bc08d03.cjs.prod.js +508 -0
- package/dist/Duration-604874d1.cjs.dev.js +508 -0
- package/dist/Effect-1442090f.cjs.prod.js +3740 -0
- package/dist/Effect-6e9780e6.cjs.dev.js +3740 -0
- package/dist/Effectable-04f3cd30.cjs.dev.js +99 -0
- package/dist/Effectable-8997112d.cjs.prod.js +99 -0
- package/dist/Effectable-a6403e5f.cjs.dev.js +181 -0
- package/dist/Effectable-f867d1cb.cjs.prod.js +181 -0
- package/dist/Either-3fab3796.cjs.prod.js +502 -0
- package/dist/Either-9c349424.cjs.dev.js +178 -0
- package/dist/Either-a806809d.cjs.dev.js +502 -0
- package/dist/Either-d03d5f05.cjs.prod.js +178 -0
- package/dist/Encoding-0cab52d5.cjs.prod.js +309 -0
- package/dist/Encoding-d993b1b0.cjs.dev.js +309 -0
- package/dist/Equal-281b6ca8.cjs.dev.js +71 -0
- package/dist/Equal-ce9977a8.cjs.prod.js +71 -0
- package/dist/Equivalence-0bc84518.cjs.prod.js +238 -0
- package/dist/Equivalence-de7a0d51.cjs.dev.js +238 -0
- package/dist/Error-5ab157f2.cjs.dev.js +57 -0
- package/dist/Error-e9d25c53.cjs.prod.js +57 -0
- package/dist/ExecutionStrategy-89fbe735.cjs.dev.js +180 -0
- package/dist/ExecutionStrategy-dc778180.cjs.prod.js +180 -0
- package/dist/Exit-5691142c.cjs.prod.js +408 -0
- package/dist/Exit-a23874e1.cjs.dev.js +408 -0
- package/dist/Fiber-6432d5f7.cjs.dev.js +521 -0
- package/dist/Fiber-e61b3c65.cjs.prod.js +521 -0
- package/dist/FiberId-929dcce4.cjs.dev.js +443 -0
- package/dist/FiberId-b79e8047.cjs.prod.js +443 -0
- package/dist/FiberRef-1db44a9b.cjs.dev.js +385 -0
- package/dist/FiberRef-efb4a3ac.cjs.prod.js +385 -0
- package/dist/FiberRefs-43bfd8b9.cjs.dev.js +135 -0
- package/dist/FiberRefs-4cb171f7.cjs.prod.js +135 -0
- package/dist/FiberRefsPatch-5236f61e.cjs.dev.js +90 -0
- package/dist/FiberRefsPatch-cb847553.cjs.prod.js +90 -0
- package/dist/FiberStatus-b82dad24.cjs.prod.js +197 -0
- package/dist/FiberStatus-bac7d58d.cjs.dev.js +197 -0
- package/dist/Function-2e6b0cda.cjs.prod.js +538 -0
- package/dist/Function-41ce433d.cjs.dev.js +538 -0
- package/dist/GlobalValue-81ab6908.cjs.dev.js +28 -0
- package/dist/GlobalValue-cb645c99.cjs.prod.js +28 -0
- package/dist/GroupBy-8a8149b4.cjs.dev.js +79 -0
- package/dist/GroupBy-b74084af.cjs.prod.js +79 -0
- package/dist/Hash-1bd73210.cjs.prod.js +192 -0
- package/dist/Hash-bd154268.cjs.dev.js +192 -0
- package/dist/HashMap-12668911.cjs.prod.js +361 -0
- package/dist/HashMap-68e290b6.cjs.dev.js +361 -0
- package/dist/HashSet-6978c08e.cjs.dev.js +283 -0
- package/dist/HashSet-6fe62df2.cjs.prod.js +965 -0
- package/dist/HashSet-c40a52b1.cjs.prod.js +283 -0
- package/dist/HashSet-ece2cfe8.cjs.dev.js +965 -0
- package/dist/Hub-6e64debd.cjs.prod.js +1280 -0
- package/dist/Hub-74834668.cjs.dev.js +1280 -0
- package/dist/Inspectable-3c4a0f5d.cjs.prod.js +50 -0
- package/dist/Inspectable-ac929af4.cjs.dev.js +50 -0
- package/dist/KeyedPool-b05481e9.cjs.dev.js +282 -0
- package/dist/KeyedPool-cd8abf95.cjs.prod.js +282 -0
- package/dist/Layer-297269fd.cjs.prod.js +687 -0
- package/dist/Layer-c69f3fdc.cjs.dev.js +687 -0
- package/dist/List-c6ea7efe.cjs.dev.js +912 -0
- package/dist/List-d9775087.cjs.prod.js +912 -0
- package/dist/LogLevel-99f64f82.cjs.dev.js +240 -0
- package/dist/LogLevel-e9848e15.cjs.prod.js +240 -0
- package/dist/LogSpan-c905a192.cjs.prod.js +46 -0
- package/dist/LogSpan-e345ba58.cjs.dev.js +46 -0
- package/dist/Logger-680763c7.cjs.dev.js +275 -0
- package/dist/Logger-7a664cc3.cjs.prod.js +275 -0
- package/dist/Metric-09d012ff.cjs.dev.js +488 -0
- package/dist/Metric-b7563a68.cjs.prod.js +488 -0
- package/dist/MetricBoundaries-cf5df220.cjs.prod.js +68 -0
- package/dist/MetricBoundaries-f5f5aae1.cjs.dev.js +68 -0
- package/dist/MetricHook-3104e93b.cjs.dev.js +90 -0
- package/dist/MetricHook-efd05d72.cjs.prod.js +90 -0
- package/dist/MetricKey-9cfcaec8.cjs.prod.js +130 -0
- package/dist/MetricKey-c3ba437e.cjs.dev.js +130 -0
- package/dist/MetricKeyType-6d2d9036.cjs.prod.js +187 -0
- package/dist/MetricKeyType-c1d7ebe8.cjs.dev.js +187 -0
- package/dist/MetricLabel-6a1886c6.cjs.dev.js +53 -0
- package/dist/MetricLabel-7e1d569e.cjs.prod.js +53 -0
- package/dist/MetricPair-658ab13d.cjs.dev.js +50 -0
- package/dist/MetricPair-aec13967.cjs.prod.js +50 -0
- package/dist/MetricPolling-5af0ff67.cjs.dev.js +177 -0
- package/dist/MetricPolling-a0a4e798.cjs.prod.js +177 -0
- package/dist/MetricRegistry-e4af936b.cjs.dev.js +38 -0
- package/dist/MetricRegistry-ff6df283.cjs.prod.js +38 -0
- package/dist/MetricState-b65340a4.cjs.dev.js +191 -0
- package/dist/MetricState-bd6a5001.cjs.prod.js +191 -0
- package/dist/MutableHashMap-74e83e84.cjs.dev.js +154 -0
- package/dist/MutableHashMap-95493edb.cjs.prod.js +154 -0
- package/dist/MutableHashSet-780dfd63.cjs.prod.js +110 -0
- package/dist/MutableHashSet-ec8d7cc4.cjs.dev.js +110 -0
- package/dist/MutableList-58124ef2.cjs.dev.js +296 -0
- package/dist/MutableList-732af09a.cjs.prod.js +296 -0
- package/dist/MutableQueue-0e9f2466.cjs.dev.js +215 -0
- package/dist/MutableQueue-f8aba856.cjs.prod.js +215 -0
- package/dist/MutableRef-4a2f1f23.cjs.prod.js +194 -0
- package/dist/MutableRef-724c4082.cjs.dev.js +194 -0
- package/dist/NonEmptyIterable-418cef14.cjs.prod.js +36 -0
- package/dist/NonEmptyIterable-bb452f41.cjs.dev.js +36 -0
- package/dist/Number-588f6483.cjs.dev.js +417 -0
- package/dist/Number-cb2ba2e8.cjs.prod.js +417 -0
- package/dist/Option-02025c86.cjs.prod.js +1198 -0
- package/dist/Option-03997d77.cjs.dev.js +1198 -0
- package/dist/Order-28bdebd2.cjs.dev.js +321 -0
- package/dist/Order-8a112bfb.cjs.prod.js +321 -0
- package/dist/Ordering-60bf9127.cjs.prod.js +104 -0
- package/dist/Ordering-b955b746.cjs.dev.js +104 -0
- package/dist/Pipeable-4698db72.cjs.dev.js +52 -0
- package/dist/Pipeable-d3ec6711.cjs.prod.js +52 -0
- package/dist/Pool-54389592.cjs.prod.js +122 -0
- package/dist/Pool-fe1b506a.cjs.dev.js +122 -0
- package/dist/Predicate-9e859c9c.cjs.dev.js +718 -0
- package/dist/Predicate-daa86e61.cjs.prod.js +718 -0
- package/dist/Queue-5f954287.cjs.prod.js +394 -0
- package/dist/Queue-8d082fe4.cjs.dev.js +394 -0
- package/dist/Random-35304046.cjs.dev.js +104 -0
- package/dist/Random-b4709b6a.cjs.prod.js +104 -0
- package/dist/ReadonlyArray-48949ee7.cjs.dev.js +1721 -0
- package/dist/ReadonlyArray-8157f697.cjs.prod.js +1721 -0
- package/dist/ReadonlyArray-9a1474f6.cjs.dev.js +10 -0
- package/dist/ReadonlyArray-f9ed7a05.cjs.prod.js +10 -0
- package/dist/ReadonlyRecord-605a625b.cjs.dev.js +568 -0
- package/dist/ReadonlyRecord-8db8bada.cjs.prod.js +568 -0
- package/dist/RedBlackTree-e6bd147c.cjs.dev.js +1669 -0
- package/dist/RedBlackTree-eb41ea8a.cjs.prod.js +1669 -0
- package/dist/Ref-30e5ee58.cjs.prod.js +282 -0
- package/dist/Ref-af783b72.cjs.dev.js +282 -0
- package/dist/Reloadable-2b8ba75d.cjs.prod.js +169 -0
- package/dist/Reloadable-b01c9297.cjs.dev.js +169 -0
- package/dist/Request-53592fe4.cjs.prod.js +190 -0
- package/dist/Request-d3b63af6.cjs.dev.js +190 -0
- package/dist/RequestBlock-1aa4c3bd.cjs.dev.js +124 -0
- package/dist/RequestBlock-8c3b51d1.cjs.prod.js +124 -0
- package/dist/RequestResolver-133197d5.cjs.prod.js +233 -0
- package/dist/RequestResolver-86c21b80.cjs.dev.js +233 -0
- package/dist/Resource-2530fe45.cjs.prod.js +118 -0
- package/dist/Resource-e50b4b25.cjs.dev.js +118 -0
- package/dist/Runtime-0d643f0c.cjs.prod.js +191 -0
- package/dist/Runtime-c4b887ff.cjs.dev.js +191 -0
- package/dist/RuntimeFlags-9d8fac5a.cjs.prod.js +381 -0
- package/dist/RuntimeFlags-f67e3984.cjs.dev.js +381 -0
- package/dist/RuntimeFlagsPatch-130e990c.cjs.dev.js +411 -0
- package/dist/RuntimeFlagsPatch-5570758d.cjs.prod.js +411 -0
- package/dist/STM-23270be2.cjs.prod.js +1447 -0
- package/dist/STM-5a4c9921.cjs.dev.js +1447 -0
- package/dist/Schedule-0444792d.cjs.prod.js +1159 -0
- package/dist/Schedule-b6c7b49a.cjs.dev.js +1159 -0
- package/dist/ScheduleDecision-369f2d2b.cjs.prod.js +106 -0
- package/dist/ScheduleDecision-ba8d0e87.cjs.dev.js +106 -0
- package/dist/ScheduleInterval-51f42533.cjs.dev.js +244 -0
- package/dist/ScheduleInterval-78037484.cjs.prod.js +244 -0
- package/dist/ScheduleIntervals-b0bfcf3b.cjs.dev.js +265 -0
- package/dist/ScheduleIntervals-db13140c.cjs.prod.js +265 -0
- package/dist/Scheduler-819ee02a.cjs.prod.js +358 -0
- package/dist/Scheduler-d080442d.cjs.dev.js +358 -0
- package/dist/Scope-311c7eb9.cjs.prod.js +143 -0
- package/dist/Scope-6ba9ec6d.cjs.dev.js +143 -0
- package/dist/ScopedCache-3f58b125.cjs.dev.js +467 -0
- package/dist/ScopedCache-8f99505c.cjs.prod.js +467 -0
- package/dist/ScopedRef-7946d287.cjs.prod.js +87 -0
- package/dist/ScopedRef-b92e1633.cjs.dev.js +87 -0
- package/dist/Sink-9f13da17.cjs.dev.js +1215 -0
- package/dist/Sink-9f82fc3b.cjs.prod.js +1215 -0
- package/dist/SortedMap-bb3311c3.cjs.prod.js +210 -0
- package/dist/SortedMap-f452cc44.cjs.dev.js +210 -0
- package/dist/SortedSet-424670fe.cjs.prod.js +311 -0
- package/dist/SortedSet-f90b14a2.cjs.dev.js +311 -0
- package/dist/Stream-14325ecb.cjs.dev.js +3469 -0
- package/dist/Stream-cf262c16.cjs.prod.js +3469 -0
- package/dist/StreamHaltStrategy-07f544a6.cjs.prod.js +214 -0
- package/dist/StreamHaltStrategy-66a53f66.cjs.dev.js +214 -0
- package/dist/String-23b18ca9.cjs.prod.js +694 -0
- package/dist/String-830aaa3e.cjs.dev.js +694 -0
- package/dist/Struct-14648d76.cjs.dev.js +141 -0
- package/dist/Struct-c6b00f29.cjs.prod.js +141 -0
- package/dist/SubscriptionRef-aa7bdc5f.cjs.prod.js +269 -0
- package/dist/SubscriptionRef-d3c1aa07.cjs.dev.js +269 -0
- package/dist/Supervisor-21087253.cjs.prod.js +170 -0
- package/dist/Supervisor-40dd7ce5.cjs.dev.js +170 -0
- package/dist/Symbol-55d0b3d8.cjs.prod.js +40 -0
- package/dist/Symbol-5d74a5f2.cjs.dev.js +40 -0
- package/dist/SynchronizedRef-3181eb0a.cjs.dev.js +212 -0
- package/dist/SynchronizedRef-c6e0884b.cjs.prod.js +212 -0
- package/dist/TArray-6767b4bd.cjs.prod.js +455 -0
- package/dist/TArray-a0a4c6e6.cjs.dev.js +455 -0
- package/dist/TDeferred-a9839479.cjs.prod.js +129 -0
- package/dist/TDeferred-ac2c4025.cjs.dev.js +129 -0
- package/dist/THub-25b77864.cjs.prod.js +570 -0
- package/dist/THub-38053ae1.cjs.dev.js +570 -0
- package/dist/TMap-91505efa.cjs.prod.js +463 -0
- package/dist/TMap-de8ac080.cjs.dev.js +463 -0
- package/dist/TPriorityQueue-00b65d1a.cjs.prod.js +381 -0
- package/dist/TPriorityQueue-96ff0e15.cjs.dev.js +381 -0
- package/dist/TQueue-5e242ca2.cjs.prod.js +353 -0
- package/dist/TQueue-707762bf.cjs.dev.js +353 -0
- package/dist/TRandom-5eb21d23.cjs.dev.js +203 -0
- package/dist/TRandom-ec9c7bf7.cjs.prod.js +203 -0
- package/dist/TReentrantLock-1b77d76f.cjs.dev.js +456 -0
- package/dist/TReentrantLock-c5a8401e.cjs.prod.js +456 -0
- package/dist/TRef-b87580d7.cjs.prod.js +152 -0
- package/dist/TRef-cf2e8ad7.cjs.dev.js +152 -0
- package/dist/TSemaphore-29503416.cjs.prod.js +197 -0
- package/dist/TSemaphore-50edec08.cjs.dev.js +197 -0
- package/dist/TSet-3c2568e9.cjs.prod.js +444 -0
- package/dist/TSet-bb4775ca.cjs.dev.js +444 -0
- package/dist/Take-684c9901.cjs.dev.js +236 -0
- package/dist/Take-b4c91438.cjs.prod.js +236 -0
- package/dist/TestAnnotation-73be7a68.cjs.dev.js +135 -0
- package/dist/TestAnnotation-b9b93d03.cjs.prod.js +135 -0
- package/dist/TestAnnotationMap-80c87410.cjs.dev.js +125 -0
- package/dist/TestAnnotationMap-e946bab5.cjs.prod.js +125 -0
- package/dist/TestAnnotations-5db95828.cjs.prod.js +97 -0
- package/dist/TestAnnotations-733b39ef.cjs.dev.js +97 -0
- package/dist/TestClock-89a36b89.cjs.prod.js +581 -0
- package/dist/TestClock-e2773846.cjs.dev.js +581 -0
- package/dist/TestConfig-1a73e844.cjs.prod.js +37 -0
- package/dist/TestConfig-e5ffa946.cjs.dev.js +37 -0
- package/dist/TestContext-3328163e.cjs.dev.js +41 -0
- package/dist/TestContext-917bf305.cjs.prod.js +41 -0
- package/dist/TestLive-465ad3ef.cjs.dev.js +60 -0
- package/dist/TestLive-f3232ac4.cjs.prod.js +60 -0
- package/dist/TestServices-605f726e.cjs.prod.js +341 -0
- package/dist/TestServices-921e5c42.cjs.dev.js +341 -0
- package/dist/TestSized-6c1abc21.cjs.dev.js +64 -0
- package/dist/TestSized-a9a87d64.cjs.prod.js +64 -0
- package/dist/Tracer-d06d0b61.cjs.prod.js +81 -0
- package/dist/Tracer-da182c8c.cjs.dev.js +81 -0
- package/dist/Tuple-27ecf3a1.cjs.prod.js +199 -0
- package/dist/Tuple-75d2a389.cjs.dev.js +199 -0
- package/dist/Unify-99be0499.cjs.dev.js +48 -0
- package/dist/Unify-e86fd412.cjs.prod.js +48 -0
- package/dist/Utils-864e1d48.cjs.prod.js +370 -0
- package/dist/Utils-b0c14d1b.cjs.dev.js +370 -0
- package/dist/boundaries-03c7494a.cjs.dev.js +54 -0
- package/dist/boundaries-5d1a46e1.cjs.prod.js +54 -0
- package/dist/cache-6cdc31f7.cjs.dev.js +523 -0
- package/dist/cache-ab7bbfbd.cjs.prod.js +523 -0
- package/dist/childExecutorDecision-2b30946c.cjs.prod.js +98 -0
- package/dist/childExecutorDecision-ad3db696.cjs.dev.js +98 -0
- package/dist/circular-4cb0b79d.cjs.dev.js +341 -0
- package/dist/circular-5b3558d9.cjs.prod.js +341 -0
- package/dist/circular-78011d6b.cjs.dev.js +107 -0
- package/dist/circular-81b4c556.cjs.prod.js +107 -0
- package/dist/config-10f2a1d1.cjs.dev.js +474 -0
- package/dist/config-78feb1ac.cjs.prod.js +474 -0
- package/dist/configError-1686533e.cjs.dev.js +323 -0
- package/dist/configError-6a3652f8.cjs.prod.js +323 -0
- package/dist/configProvider-2b177eac.cjs.prod.js +447 -0
- package/dist/configProvider-e2eb112d.cjs.dev.js +447 -0
- package/dist/configSecret-5812fa69.cjs.dev.js +74 -0
- package/dist/configSecret-ecb6c5b3.cjs.prod.js +74 -0
- package/dist/core-4ced6e17.cjs.prod.js +1072 -0
- package/dist/core-ac668be0.cjs.dev.js +3502 -0
- package/dist/core-c2eb171a.cjs.prod.js +3502 -0
- package/dist/core-d9eea905.cjs.dev.js +1072 -0
- package/dist/core-effect-a9b8ee08.cjs.dev.js +1030 -0
- package/dist/core-effect-bf806dd9.cjs.prod.js +1030 -0
- package/dist/dataSource-abccc876.cjs.prod.js +74 -0
- package/dist/dataSource-d5f79f4e.cjs.dev.js +74 -0
- package/dist/declarations/src/Bigint.d.ts +22 -22
- package/dist/declarations/src/Boolean.d.ts +15 -15
- package/dist/declarations/src/Brand.d.ts +20 -20
- package/dist/declarations/src/Cache.d.ts +14 -14
- package/dist/declarations/src/Cause.d.ts +81 -81
- package/dist/declarations/src/Channel.d.ts +117 -117
- package/dist/declarations/src/ChannelChildExecutorDecision.d.ts +16 -16
- package/dist/declarations/src/ChannelMergeDecision.d.ts +11 -11
- package/dist/declarations/src/ChannelMergeState.d.ts +17 -17
- package/dist/declarations/src/ChannelMergeStrategy.d.ts +13 -13
- package/dist/declarations/src/ChannelSingleProducerAsyncInput.d.ts +5 -5
- package/dist/declarations/src/ChannelUpstreamPullRequest.d.ts +13 -13
- package/dist/declarations/src/ChannelUpstreamPullStrategy.d.ts +13 -13
- package/dist/declarations/src/Chunk.d.ts +84 -84
- package/dist/declarations/src/Clock.d.ts +13 -13
- package/dist/declarations/src/Config.d.ts +40 -40
- package/dist/declarations/src/ConfigError.d.ts +31 -31
- package/dist/declarations/src/ConfigProvider.d.ts +27 -27
- package/dist/declarations/src/ConfigProviderPathPatch.d.ts +11 -11
- package/dist/declarations/src/ConfigSecret.d.ts +12 -12
- package/dist/declarations/src/Console.d.ts +26 -26
- package/dist/declarations/src/Context.d.ts +24 -24
- package/dist/declarations/src/Data.d.ts +22 -22
- package/dist/declarations/src/DefaultServices.d.ts +4 -4
- package/dist/declarations/src/Deferred.d.ts +26 -26
- package/dist/declarations/src/Differ.d.ts +34 -34
- package/dist/declarations/src/Duration.d.ts +42 -37
- package/dist/declarations/src/Duration.d.ts.map +1 -1
- package/dist/declarations/src/Effect.d.ts +351 -351
- package/dist/declarations/src/Effectable.d.ts +16 -16
- package/dist/declarations/src/Either.d.ts +35 -35
- package/dist/declarations/src/Encoding.d.ts +15 -15
- package/dist/declarations/src/Equal.d.ts +6 -6
- package/dist/declarations/src/Equivalence.d.ts +20 -20
- package/dist/declarations/src/Error.d.ts +4 -4
- package/dist/declarations/src/ExecutionStrategy.d.ts +12 -12
- package/dist/declarations/src/Exit.d.ts +41 -41
- package/dist/declarations/src/Fiber.d.ts +57 -57
- package/dist/declarations/src/FiberId.d.ts +23 -23
- package/dist/declarations/src/FiberRef.d.ts +49 -49
- package/dist/declarations/src/FiberRefs.d.ts +14 -14
- package/dist/declarations/src/FiberRefsPatch.d.ts +11 -11
- package/dist/declarations/src/FiberStatus.d.ts +14 -14
- package/dist/declarations/src/Function.d.ts +24 -24
- package/dist/declarations/src/GlobalValue.d.ts +1 -1
- package/dist/declarations/src/GroupBy.d.ts +9 -9
- package/dist/declarations/src/HKT.d.ts +5 -5
- package/dist/declarations/src/Hash.d.ts +12 -12
- package/dist/declarations/src/HashMap.d.ts +37 -37
- package/dist/declarations/src/HashSet.d.ts +28 -28
- package/dist/declarations/src/Hub.d.ts +16 -16
- package/dist/declarations/src/Inspectable.d.ts +6 -6
- package/dist/declarations/src/KeyedPool.d.ts +12 -12
- package/dist/declarations/src/Layer.d.ts +70 -70
- package/dist/declarations/src/List.d.ts +50 -50
- package/dist/declarations/src/LogLevel.d.ts +27 -27
- package/dist/declarations/src/LogSpan.d.ts +3 -3
- package/dist/declarations/src/Logger.d.ts +33 -33
- package/dist/declarations/src/Metric.d.ts +55 -55
- package/dist/declarations/src/MetricBoundaries.d.ts +8 -8
- package/dist/declarations/src/MetricHook.d.ts +20 -20
- package/dist/declarations/src/MetricKey.d.ts +21 -21
- package/dist/declarations/src/MetricKeyType.d.ts +35 -35
- package/dist/declarations/src/MetricLabel.d.ts +6 -6
- package/dist/declarations/src/MetricPair.d.ts +8 -8
- package/dist/declarations/src/MetricPolling.d.ts +11 -11
- package/dist/declarations/src/MetricRegistry.d.ts +5 -5
- package/dist/declarations/src/MetricState.d.ts +33 -33
- package/dist/declarations/src/MutableHashMap.d.ts +12 -12
- package/dist/declarations/src/MutableHashSet.d.ts +9 -9
- package/dist/declarations/src/MutableList.d.ts +13 -13
- package/dist/declarations/src/MutableQueue.d.ts +16 -16
- package/dist/declarations/src/MutableRef.d.ts +18 -18
- package/dist/declarations/src/NonEmptyIterable.d.ts +4 -4
- package/dist/declarations/src/Number.d.ts +22 -22
- package/dist/declarations/src/Option.d.ts +69 -69
- package/dist/declarations/src/Order.d.ts +28 -28
- package/dist/declarations/src/Ordering.d.ts +7 -7
- package/dist/declarations/src/Pipeable.d.ts +3 -3
- package/dist/declarations/src/Pool.d.ts +11 -11
- package/dist/declarations/src/Predicate.d.ts +42 -42
- package/dist/declarations/src/Queue.d.ts +44 -44
- package/dist/declarations/src/Random.d.ts +11 -11
- package/dist/declarations/src/ReadonlyArray.d.ts +139 -139
- package/dist/declarations/src/ReadonlyRecord.d.ts +25 -25
- package/dist/declarations/src/RedBlackTree.d.ts +40 -40
- package/dist/declarations/src/Ref.d.ts +20 -20
- package/dist/declarations/src/Reloadable.d.ts +13 -13
- package/dist/declarations/src/Request.d.ts +29 -29
- package/dist/declarations/src/RequestBlock.d.ts +16 -16
- package/dist/declarations/src/RequestResolver.d.ts +23 -23
- package/dist/declarations/src/Resource.d.ts +10 -10
- package/dist/declarations/src/Runtime.d.ts +22 -22
- package/dist/declarations/src/RuntimeFlags.d.ts +38 -38
- package/dist/declarations/src/RuntimeFlagsPatch.d.ts +18 -18
- package/dist/declarations/src/STM.d.ts +140 -140
- package/dist/declarations/src/Schedule.d.ts +106 -106
- package/dist/declarations/src/ScheduleDecision.d.ts +8 -8
- package/dist/declarations/src/ScheduleInterval.d.ts +16 -16
- package/dist/declarations/src/ScheduleIntervals.d.ts +14 -14
- package/dist/declarations/src/Scheduler.d.ts +34 -34
- package/dist/declarations/src/Scope.d.ts +18 -18
- package/dist/declarations/src/ScopedCache.d.ts +9 -9
- package/dist/declarations/src/ScopedRef.d.ts +10 -10
- package/dist/declarations/src/Sink.d.ts +115 -115
- package/dist/declarations/src/SortedMap.d.ts +21 -21
- package/dist/declarations/src/SortedSet.d.ts +24 -24
- package/dist/declarations/src/Stream.d.ts +303 -303
- package/dist/declarations/src/StreamEmit.d.ts +3 -3
- package/dist/declarations/src/StreamHaltStrategy.d.ts +16 -16
- package/dist/declarations/src/String.d.ts +50 -50
- package/dist/declarations/src/Struct.d.ts +6 -6
- package/dist/declarations/src/SubscriptionRef.d.ts +27 -27
- package/dist/declarations/src/Supervisor.d.ts +23 -23
- package/dist/declarations/src/Symbol.d.ts +3 -3
- package/dist/declarations/src/SynchronizedRef.d.ts +28 -28
- package/dist/declarations/src/TArray.d.ts +46 -46
- package/dist/declarations/src/TDeferred.d.ts +12 -12
- package/dist/declarations/src/THub.d.ts +18 -18
- package/dist/declarations/src/TMap.d.ts +46 -46
- package/dist/declarations/src/TPriorityQueue.d.ts +23 -23
- package/dist/declarations/src/TQueue.d.ts +36 -36
- package/dist/declarations/src/TRandom.d.ts +12 -12
- package/dist/declarations/src/TReentrantLock.d.ts +24 -24
- package/dist/declarations/src/TRef.d.ts +19 -19
- package/dist/declarations/src/TSemaphore.d.ts +17 -17
- package/dist/declarations/src/TSet.d.ts +35 -35
- package/dist/declarations/src/Take.d.ts +25 -25
- package/dist/declarations/src/TestAnnotation.d.ts +12 -12
- package/dist/declarations/src/TestAnnotationMap.d.ts +11 -11
- package/dist/declarations/src/TestAnnotations.d.ts +7 -7
- package/dist/declarations/src/TestClock.d.ts +16 -16
- package/dist/declarations/src/TestConfig.d.ts +4 -4
- package/dist/declarations/src/TestContext.d.ts +3 -3
- package/dist/declarations/src/TestLive.d.ts +6 -6
- package/dist/declarations/src/TestServices.d.ts +35 -35
- package/dist/declarations/src/TestSized.d.ts +7 -7
- package/dist/declarations/src/Tracer.d.ts +13 -13
- package/dist/declarations/src/Tuple.d.ts +12 -12
- package/dist/declarations/src/Types.d.ts +10 -10
- package/dist/declarations/src/Unify.d.ts +9 -9
- package/dist/declarations/src/Utils.d.ts +29 -29
- package/dist/declarations/src/index.d.ts +169 -141
- package/dist/declarations/src/index.d.ts.map +1 -1
- package/dist/defaultServices-4112c0c9.cjs.prod.js +388 -0
- package/dist/defaultServices-60c753dc.cjs.dev.js +388 -0
- package/dist/effect.cjs.dev.js +199 -193
- package/dist/effect.cjs.mjs +7 -1
- package/dist/effect.cjs.prod.js +199 -193
- package/dist/effect.esm.js +283 -197
- package/dist/fiber-90ffaf8c.cjs.prod.js +411 -0
- package/dist/fiber-da1a207c.cjs.dev.js +411 -0
- package/dist/fiberRefs-64c35250.cjs.prod.js +181 -0
- package/dist/fiberRefs-a7e00f7e.cjs.dev.js +181 -0
- package/dist/fiberRuntime-1c369a47.cjs.prod.js +3012 -0
- package/dist/fiberRuntime-e9680313.cjs.dev.js +3012 -0
- package/dist/groupBy-0cc85afb.cjs.prod.js +216 -0
- package/dist/groupBy-b204a881.cjs.dev.js +216 -0
- package/dist/hook-6c7550dc.cjs.prod.js +371 -0
- package/dist/hook-822704ea.cjs.dev.js +371 -0
- package/dist/key-330b98b1.cjs.prod.js +79 -0
- package/dist/key-a474fc0d.cjs.dev.js +79 -0
- package/dist/keyType-1e916ae2.cjs.dev.js +236 -0
- package/dist/keyType-8460e792.cjs.prod.js +236 -0
- package/dist/label-246fb11d.cjs.dev.js +44 -0
- package/dist/label-3e143765.cjs.prod.js +44 -0
- package/dist/layer-ae8eefad.cjs.dev.js +658 -0
- package/dist/layer-ffacc2c5.cjs.prod.js +658 -0
- package/dist/mergeDecision-e457a76b.cjs.dev.js +86 -0
- package/dist/mergeDecision-e483c280.cjs.prod.js +86 -0
- package/dist/mergeState-83204f38.cjs.dev.js +109 -0
- package/dist/mergeState-dba66248.cjs.prod.js +109 -0
- package/dist/mergeStrategy-845a1279.cjs.prod.js +72 -0
- package/dist/mergeStrategy-b19dc19a.cjs.dev.js +72 -0
- package/dist/pair-08a8685e.cjs.dev.js +42 -0
- package/dist/pair-e5443c93.cjs.prod.js +42 -0
- package/dist/patch-4671ab7f.cjs.dev.js +132 -0
- package/dist/patch-f27e9f08.cjs.prod.js +132 -0
- package/dist/pathPatch-ded405f6.cjs.prod.js +90 -0
- package/dist/pathPatch-e46d4168.cjs.dev.js +90 -0
- package/dist/pool-3f16af61.cjs.dev.js +278 -0
- package/dist/pool-59a31f55.cjs.prod.js +278 -0
- package/dist/query-193d0a89.cjs.dev.js +104 -0
- package/dist/query-fe4a82d6.cjs.prod.js +104 -0
- package/dist/queue-04ae7ec7.cjs.dev.js +538 -0
- package/dist/queue-b81aee38.cjs.prod.js +538 -0
- package/dist/registry-29905dcc.cjs.prod.js +114 -0
- package/dist/registry-c883cf52.cjs.dev.js +114 -0
- package/dist/runtime-3ae98f19.cjs.dev.js +288 -0
- package/dist/runtime-8c3f1bd3.cjs.prod.js +288 -0
- package/dist/schedule-479d8fcc.cjs.dev.js +956 -0
- package/dist/schedule-7e30db2d.cjs.prod.js +956 -0
- package/dist/scopedRef-16d9d192.cjs.dev.js +55 -0
- package/dist/scopedRef-40b5bb82.cjs.prod.js +55 -0
- package/dist/singleProducerAsyncInput-552122e6.cjs.dev.js +193 -0
- package/dist/singleProducerAsyncInput-c5ff73b7.cjs.prod.js +193 -0
- package/dist/sink-16a1a901.cjs.dev.js +3094 -0
- package/dist/sink-c9ae7558.cjs.prod.js +3094 -0
- package/dist/state-0d29362f.cjs.prod.js +227 -0
- package/dist/state-8a8a647c.cjs.dev.js +227 -0
- package/dist/stm-44f045e5.cjs.dev.js +678 -0
- package/dist/stm-59af7e62.cjs.prod.js +678 -0
- package/dist/stream-84a13e23.cjs.dev.js +3645 -0
- package/dist/stream-8acbee57.cjs.prod.js +3645 -0
- package/dist/synchronizedRef-58a64ffe.cjs.dev.js +62 -0
- package/dist/synchronizedRef-6cfe9354.cjs.prod.js +62 -0
- package/dist/tArray-a690480d.cjs.prod.js +330 -0
- package/dist/tArray-c0a3d1e2.cjs.dev.js +330 -0
- package/dist/tMap-1c1b10c4.cjs.dev.js +535 -0
- package/dist/tMap-8dfc92f5.cjs.prod.js +535 -0
- package/dist/tQueue-48a29f8b.cjs.prod.js +367 -0
- package/dist/tQueue-aaec000f.cjs.dev.js +367 -0
- package/dist/tRef-1df89632.cjs.dev.js +133 -0
- package/dist/tRef-cc473a9f.cjs.prod.js +133 -0
- package/dist/take-906e6ef4.cjs.prod.js +152 -0
- package/dist/take-e1c6b82a.cjs.dev.js +152 -0
- package/dist/upstreamPullRequest-705e868d.cjs.prod.js +79 -0
- package/dist/upstreamPullRequest-c08f06a4.cjs.dev.js +79 -0
- package/dist/upstreamPullStrategy-0ccf2960.cjs.dev.js +81 -0
- package/dist/upstreamPullStrategy-34452db1.cjs.prod.js +81 -0
- package/internal/Context.esm.js +208 -0
- package/internal/Data.esm.js +49 -0
- package/internal/Differ/ChunkPatch.esm.js +131 -0
- package/internal/Differ/ContextPatch.esm.js +158 -0
- package/internal/Differ/HashMapPatch.esm.js +133 -0
- package/internal/Differ/HashSetPatch.esm.js +107 -0
- package/internal/Differ/OrPatch.esm.js +196 -0
- package/internal/Differ.esm.js +130 -0
- package/internal/Effectable.esm.js +89 -0
- package/internal/Either.esm.js +95 -0
- package/internal/Encoding/Base64.esm.js +74 -0
- package/internal/Encoding/Base64Url.esm.js +24 -0
- package/internal/Encoding/Common.esm.js +21 -0
- package/internal/Encoding/Hex.esm.js +55 -0
- package/internal/HashMap/array.esm.js +51 -0
- package/internal/HashMap/bitwise.esm.js +34 -0
- package/internal/HashMap/config.esm.js +16 -0
- package/internal/HashMap/keySet.esm.js +8 -0
- package/internal/HashMap/node.esm.js +253 -0
- package/internal/HashMap.esm.js +366 -0
- package/internal/HashSet.esm.js +211 -0
- package/internal/Option.esm.js +75 -0
- package/internal/ReadonlyArray.esm.js +8 -0
- package/internal/RedBlackTree/iterator.esm.js +204 -0
- package/internal/RedBlackTree/node.esm.js +43 -0
- package/internal/RedBlackTree.esm.js +1042 -0
- package/internal/Stack.esm.js +9 -0
- package/internal/blockedRequests.esm.js +365 -0
- package/internal/cache.esm.js +514 -0
- package/internal/cause.esm.js +1067 -0
- package/internal/channel/channelExecutor.esm.js +692 -0
- package/internal/channel/channelState.esm.js +78 -0
- package/internal/channel/childExecutorDecision.esm.js +71 -0
- package/internal/channel/continuation.esm.js +58 -0
- package/internal/channel/mergeDecision.esm.js +69 -0
- package/internal/channel/mergeState.esm.js +82 -0
- package/internal/channel/mergeStrategy.esm.js +55 -0
- package/internal/channel/singleProducerAsyncInput.esm.js +191 -0
- package/internal/channel/subexecutor.esm.js +153 -0
- package/internal/channel/upstreamPullRequest.esm.js +62 -0
- package/internal/channel/upstreamPullStrategy.esm.js +62 -0
- package/internal/channel.esm.js +648 -0
- package/internal/clock.esm.js +82 -0
- package/internal/completedRequestMap.esm.js +7 -0
- package/internal/concurrency.esm.js +47 -0
- package/internal/config.esm.js +374 -0
- package/internal/configError.esm.js +276 -0
- package/internal/configProvider/pathPatch.esm.js +83 -0
- package/internal/configProvider.esm.js +365 -0
- package/internal/configSecret.esm.js +66 -0
- package/internal/console.esm.js +72 -0
- package/internal/core-effect.esm.js +875 -0
- package/internal/core-stream.esm.js +293 -0
- package/internal/core.esm.js +1745 -0
- package/internal/dataSource.esm.js +61 -0
- package/internal/defaultServices/console.esm.js +96 -0
- package/internal/defaultServices.esm.js +84 -0
- package/internal/deferred.esm.js +37 -0
- package/internal/effect/circular.esm.js +314 -0
- package/internal/executionStrategy.esm.js +61 -0
- package/internal/fiber.esm.js +257 -0
- package/internal/fiberId.esm.js +243 -0
- package/internal/fiberMessage.esm.js +54 -0
- package/internal/fiberRefs/patch.esm.js +127 -0
- package/internal/fiberRefs.esm.js +169 -0
- package/internal/fiberRuntime.esm.js +2003 -0
- package/internal/fiberScope.esm.js +58 -0
- package/internal/fiberStatus.esm.js +89 -0
- package/internal/groupBy.esm.js +208 -0
- package/internal/hub.esm.js +1102 -0
- package/internal/keyedPool.esm.js +161 -0
- package/internal/layer/circular.esm.js +84 -0
- package/internal/layer.esm.js +552 -0
- package/internal/logSpan.esm.js +15 -0
- package/internal/logger-circular.esm.js +21 -0
- package/internal/logger.esm.js +213 -0
- package/internal/metric/boundaries.esm.js +48 -0
- package/internal/metric/hook.esm.js +362 -0
- package/internal/metric/key.esm.js +68 -0
- package/internal/metric/keyType.esm.js +218 -0
- package/internal/metric/label.esm.js +40 -0
- package/internal/metric/pair.esm.js +38 -0
- package/internal/metric/polling.esm.js +74 -0
- package/internal/metric/registry.esm.js +111 -0
- package/internal/metric/state.esm.js +209 -0
- package/internal/metric.esm.js +204 -0
- package/internal/opCodes/cause.esm.js +31 -0
- package/internal/opCodes/channel.esm.js +71 -0
- package/internal/opCodes/channelChildExecutorDecision.esm.js +16 -0
- package/internal/opCodes/channelMergeDecision.esm.js +11 -0
- package/internal/opCodes/channelMergeState.esm.js +16 -0
- package/internal/opCodes/channelMergeStrategy.esm.js +11 -0
- package/internal/opCodes/channelState.esm.js +21 -0
- package/internal/opCodes/channelUpstreamPullRequest.esm.js +11 -0
- package/internal/opCodes/channelUpstreamPullStrategy.esm.js +11 -0
- package/internal/opCodes/config.esm.js +56 -0
- package/internal/opCodes/configError.esm.js +31 -0
- package/internal/opCodes/continuation.esm.js +11 -0
- package/internal/opCodes/deferred.esm.js +11 -0
- package/internal/opCodes/effect.esm.js +71 -0
- package/internal/opCodes/layer.esm.js +46 -0
- package/internal/opCodes/streamHaltStrategy.esm.js +21 -0
- package/internal/pool.esm.js +271 -0
- package/internal/query.esm.js +100 -0
- package/internal/queue.esm.js +505 -0
- package/internal/random.esm.js +58 -0
- package/internal/ref.esm.js +121 -0
- package/internal/reloadable.esm.js +62 -0
- package/internal/request.esm.js +81 -0
- package/internal/resource.esm.js +35 -0
- package/internal/ringBuffer.esm.js +56 -0
- package/internal/runtime.esm.js +268 -0
- package/internal/runtimeFlags.esm.js +137 -0
- package/internal/runtimeFlagsPatch.esm.js +57 -0
- package/internal/schedule/decision.esm.js +45 -0
- package/internal/schedule/interval.esm.js +85 -0
- package/internal/schedule/intervals.esm.js +135 -0
- package/internal/schedule.esm.js +844 -0
- package/internal/scopedCache.esm.js +406 -0
- package/internal/scopedRef.esm.js +49 -0
- package/internal/singleShotGen.esm.js +30 -0
- package/internal/sink.esm.js +918 -0
- package/internal/stm/core.esm.js +553 -0
- package/internal/stm/opCodes/stm.esm.js +56 -0
- package/internal/stm/opCodes/stmState.esm.js +16 -0
- package/internal/stm/opCodes/strategy.esm.js +16 -0
- package/internal/stm/opCodes/tExit.esm.js +26 -0
- package/internal/stm/opCodes/tryCommit.esm.js +11 -0
- package/internal/stm/stm/entry.esm.js +47 -0
- package/internal/stm/stm/journal.esm.js +96 -0
- package/internal/stm/stm/stmState.esm.js +104 -0
- package/internal/stm/stm/tExit.esm.js +113 -0
- package/internal/stm/stm/tryCommit.esm.js +25 -0
- package/internal/stm/stm/txnId.esm.js +15 -0
- package/internal/stm/stm/versioned.esm.js +8 -0
- package/internal/stm/stm.esm.js +584 -0
- package/internal/stm/tArray.esm.js +287 -0
- package/internal/stm/tDeferred.esm.js +49 -0
- package/internal/stm/tHub.esm.js +381 -0
- package/internal/stm/tMap.esm.js +492 -0
- package/internal/stm/tPriorityQueue.esm.js +156 -0
- package/internal/stm/tQueue.esm.js +317 -0
- package/internal/stm/tRandom.esm.js +89 -0
- package/internal/stm/tReentrantLock.esm.js +216 -0
- package/internal/stm/tRef.esm.js +117 -0
- package/internal/stm/tSemaphore.esm.js +73 -0
- package/internal/stm/tSet.esm.js +113 -0
- package/internal/stream/debounceState.esm.js +39 -0
- package/internal/stream/emit.esm.js +51 -0
- package/internal/stream/haltStrategy.esm.js +74 -0
- package/internal/stream/handoff.esm.js +79 -0
- package/internal/stream/handoffSignal.esm.js +40 -0
- package/internal/stream/pull.esm.js +10 -0
- package/internal/stream/sinkEndReason.esm.js +27 -0
- package/internal/stream/zipAllState.esm.js +65 -0
- package/internal/stream/zipChunksState.esm.js +41 -0
- package/internal/stream.esm.js +2984 -0
- package/internal/string-utils.esm.js +66 -0
- package/internal/subscriptionRef.esm.js +65 -0
- package/internal/supervisor/patch.esm.js +156 -0
- package/internal/supervisor.esm.js +204 -0
- package/internal/synchronizedRef.esm.js +53 -0
- package/internal/take.esm.js +130 -0
- package/internal/testing/suspendedWarningData.esm.js +66 -0
- package/internal/testing/warningData.esm.js +75 -0
- package/internal/timeout.esm.js +22 -0
- package/internal/tracer.esm.js +61 -0
- package/package.json +700 -554
- package/dist/Bigint-1c684209.esm.js +0 -370
- package/dist/Bigint-504df838.cjs.dev.js +0 -392
- package/dist/Bigint-d1a7e44e.cjs.prod.js +0 -392
- package/dist/Boolean-7513c999.cjs.prod.js +0 -264
- package/dist/Boolean-9427fc24.cjs.dev.js +0 -264
- package/dist/Boolean-f564d31a.esm.js +0 -248
- package/dist/Brand-c3918667.cjs.dev.js +0 -224
- package/dist/Brand-fa4e9f22.esm.js +0 -215
- package/dist/Brand-ff4af468.cjs.prod.js +0 -224
- package/dist/Cache-447337f2.esm.js +0 -120
- package/dist/Cache-4b4ea2b3.cjs.prod.js +0 -127
- package/dist/Cache-62ebdae3.cjs.dev.js +0 -127
- package/dist/Cause-8be0b9a6.esm.js +0 -730
- package/dist/Cause-b769f517.cjs.prod.js +0 -791
- package/dist/Cause-d77e20dc.cjs.dev.js +0 -791
- package/dist/Channel-2039c280.cjs.dev.js +0 -1217
- package/dist/Channel-806a0a5a.esm.js +0 -1109
- package/dist/Channel-dcff73a4.cjs.prod.js +0 -1217
- package/dist/ChannelChildExecutorDecision-2d3c20b1.esm.js +0 -125
- package/dist/ChannelChildExecutorDecision-adce4b58.cjs.dev.js +0 -136
- package/dist/ChannelChildExecutorDecision-fc90c987.cjs.prod.js +0 -136
- package/dist/ChannelMergeDecision-39e12893.cjs.prod.js +0 -78
- package/dist/ChannelMergeDecision-4488ba22.esm.js +0 -70
- package/dist/ChannelMergeDecision-f05da806.cjs.dev.js +0 -78
- package/dist/ChannelMergeState-65723a71.cjs.dev.js +0 -125
- package/dist/ChannelMergeState-937282d2.esm.js +0 -114
- package/dist/ChannelMergeState-ab626a77.cjs.prod.js +0 -125
- package/dist/ChannelMergeStrategy-c2f956a9.esm.js +0 -95
- package/dist/ChannelMergeStrategy-d5bdc89d.cjs.prod.js +0 -104
- package/dist/ChannelMergeStrategy-d956e3fa.cjs.dev.js +0 -104
- package/dist/ChannelSingleProducerAsyncInput-00708a29.esm.js +0 -52
- package/dist/ChannelSingleProducerAsyncInput-90f3b171.cjs.prod.js +0 -55
- package/dist/ChannelSingleProducerAsyncInput-ecc79242.cjs.dev.js +0 -55
- package/dist/ChannelUpstreamPullRequest-011526e6.esm.js +0 -95
- package/dist/ChannelUpstreamPullRequest-6a610523.cjs.dev.js +0 -104
- package/dist/ChannelUpstreamPullRequest-d7413c53.cjs.prod.js +0 -104
- package/dist/ChannelUpstreamPullStrategy-0af49b72.esm.js +0 -94
- package/dist/ChannelUpstreamPullStrategy-6e0a338e.cjs.prod.js +0 -103
- package/dist/ChannelUpstreamPullStrategy-90ec240c.cjs.dev.js +0 -103
- package/dist/Chunk-937f4423.cjs.dev.js +0 -1248
- package/dist/Chunk-98371336.esm.js +0 -1167
- package/dist/Chunk-f001938d.cjs.prod.js +0 -1248
- package/dist/Clock-27c1110d.cjs.prod.js +0 -97
- package/dist/Clock-589e9dc5.cjs.dev.js +0 -97
- package/dist/Clock-ab907687.esm.js +0 -88
- package/dist/Config-50e56bbd.cjs.prod.js +0 -393
- package/dist/Config-7e7f7335.cjs.dev.js +0 -393
- package/dist/Config-a3a06665.esm.js +0 -358
- package/dist/ConfigError-5801d561.esm.js +0 -206
- package/dist/ConfigError-684b6267.cjs.dev.js +0 -225
- package/dist/ConfigError-f5303a19.cjs.prod.js +0 -225
- package/dist/ConfigProvider-0aeb6513.esm.js +0 -220
- package/dist/ConfigProvider-b47b08f3.cjs.dev.js +0 -240
- package/dist/ConfigProvider-e278c5f7.cjs.prod.js +0 -240
- package/dist/ConfigProviderPathPatch-78826e8c.cjs.dev.js +0 -86
- package/dist/ConfigProviderPathPatch-97b52760.esm.js +0 -79
- package/dist/ConfigProviderPathPatch-bb5f5228.cjs.prod.js +0 -86
- package/dist/ConfigSecret-2db4c372.cjs.prod.js +0 -83
- package/dist/ConfigSecret-646df696.esm.js +0 -74
- package/dist/ConfigSecret-a10a12aa.cjs.dev.js +0 -83
- package/dist/Console-b92ceaf0.esm.js +0 -247
- package/dist/Console-d4590f3a.cjs.prod.js +0 -271
- package/dist/Console-f063615c.cjs.dev.js +0 -271
- package/dist/Context-119d62eb.cjs.prod.js +0 -327
- package/dist/Context-231e9c1b.cjs.prod.js +0 -222
- package/dist/Context-48179faa.esm.js +0 -312
- package/dist/Context-5099940c.cjs.dev.js +0 -222
- package/dist/Context-fcee7bba.esm.js +0 -208
- package/dist/Context-fdaa5c44.cjs.dev.js +0 -327
- package/dist/Data-3389525f.cjs.dev.js +0 -237
- package/dist/Data-815a1868.cjs.prod.js +0 -237
- package/dist/Data-bad1ffeb.esm.js +0 -224
- package/dist/DefaultServices-848d6929.cjs.dev.js +0 -34
- package/dist/DefaultServices-8c298120.esm.js +0 -30
- package/dist/DefaultServices-9ea98d30.cjs.prod.js +0 -34
- package/dist/Deferred-143efa7b.cjs.dev.js +0 -253
- package/dist/Deferred-554d3588.esm.js +0 -230
- package/dist/Deferred-77579e00.cjs.prod.js +0 -253
- package/dist/Differ-0069a8c0.cjs.dev.js +0 -992
- package/dist/Differ-3be1df41.esm.js +0 -975
- package/dist/Differ-cbfa45cb.cjs.prod.js +0 -992
- package/dist/Duration-205d0b80.cjs.prod.js +0 -500
- package/dist/Duration-5e9f2327.esm.js +0 -467
- package/dist/Duration-8b174e0b.cjs.dev.js +0 -500
- package/dist/Effect-6713972b.cjs.prod.js +0 -3740
- package/dist/Effect-d362f43a.cjs.dev.js +0 -3740
- package/dist/Effect-d5910dae.esm.js +0 -3417
- package/dist/Effectable-2c8e8441.cjs.prod.js +0 -99
- package/dist/Effectable-954172fc.cjs.prod.js +0 -181
- package/dist/Effectable-a76b6aa1.esm.js +0 -158
- package/dist/Effectable-bc017f96.cjs.dev.js +0 -99
- package/dist/Effectable-e85a1847.cjs.dev.js +0 -181
- package/dist/Effectable-ec9e4204.esm.js +0 -89
- package/dist/Either-09270bbc.esm.js +0 -473
- package/dist/Either-34ce9059.cjs.dev.js +0 -178
- package/dist/Either-41cb7522.cjs.prod.js +0 -178
- package/dist/Either-ae722a9e.cjs.dev.js +0 -502
- package/dist/Either-be9c40b9.esm.js +0 -163
- package/dist/Either-d995ebb4.cjs.prod.js +0 -502
- package/dist/Encoding-0d990bbf.esm.js +0 -295
- package/dist/Encoding-39f7d9a8.cjs.dev.js +0 -309
- package/dist/Encoding-82d009b9.cjs.prod.js +0 -309
- package/dist/Equal-7d4ae7e7.esm.js +0 -65
- package/dist/Equal-8654b1af.cjs.dev.js +0 -71
- package/dist/Equal-ed1e8c3c.cjs.prod.js +0 -71
- package/dist/Equivalence-87295c78.cjs.prod.js +0 -238
- package/dist/Equivalence-a4b5f56d.cjs.dev.js +0 -238
- package/dist/Equivalence-e5c9cba4.esm.js +0 -218
- package/dist/Error-7e84d828.esm.js +0 -53
- package/dist/Error-be89adc9.cjs.prod.js +0 -57
- package/dist/Error-e1ceeea7.cjs.dev.js +0 -57
- package/dist/ExecutionStrategy-080f0b2b.cjs.prod.js +0 -180
- package/dist/ExecutionStrategy-c6f7c490.esm.js +0 -168
- package/dist/ExecutionStrategy-cd9204b4.cjs.dev.js +0 -180
- package/dist/Exit-7a385294.cjs.dev.js +0 -408
- package/dist/Exit-e31718e3.esm.js +0 -371
- package/dist/Exit-eb04f98e.cjs.prod.js +0 -408
- package/dist/Fiber-1a996e3f.cjs.dev.js +0 -521
- package/dist/Fiber-38517971.esm.js +0 -473
- package/dist/Fiber-a7306b77.cjs.prod.js +0 -521
- package/dist/FiberId-3b23bc04.cjs.dev.js +0 -443
- package/dist/FiberId-556ab9ef.esm.js +0 -422
- package/dist/FiberId-95c92b7e.cjs.prod.js +0 -443
- package/dist/FiberRef-6f63843b.cjs.prod.js +0 -385
- package/dist/FiberRef-912b6248.cjs.dev.js +0 -385
- package/dist/FiberRef-b81d5a7e.esm.js +0 -338
- package/dist/FiberRefs-1a6a1b5f.cjs.prod.js +0 -135
- package/dist/FiberRefs-44fda74a.cjs.dev.js +0 -135
- package/dist/FiberRefs-a6ab4b8d.esm.js +0 -122
- package/dist/FiberRefsPatch-549967e3.cjs.prod.js +0 -90
- package/dist/FiberRefsPatch-56f10acc.cjs.dev.js +0 -90
- package/dist/FiberRefsPatch-f84453c3.esm.js +0 -84
- package/dist/FiberStatus-90291b8c.esm.js +0 -187
- package/dist/FiberStatus-db497d70.cjs.dev.js +0 -197
- package/dist/FiberStatus-ff18b445.cjs.prod.js +0 -197
- package/dist/Function-52fb7d21.esm.js +0 -516
- package/dist/Function-8336aeeb.cjs.prod.js +0 -538
- package/dist/Function-fd10bde3.cjs.dev.js +0 -538
- package/dist/GlobalValue-00457222.cjs.dev.js +0 -28
- package/dist/GlobalValue-c5f1e8e5.esm.js +0 -25
- package/dist/GlobalValue-f65cc41d.cjs.prod.js +0 -28
- package/dist/GroupBy-cabfa667.cjs.dev.js +0 -79
- package/dist/GroupBy-d0ad2148.cjs.prod.js +0 -79
- package/dist/GroupBy-eef333fa.esm.js +0 -72
- package/dist/HKT-1990744d.esm.js +0 -5
- package/dist/Hash-039222d1.esm.js +0 -179
- package/dist/Hash-2171bcec.cjs.prod.js +0 -192
- package/dist/Hash-9d5502e5.cjs.dev.js +0 -192
- package/dist/HashMap-2604a8b0.cjs.prod.js +0 -361
- package/dist/HashMap-e644e23b.esm.js +0 -327
- package/dist/HashMap-ee35ace5.cjs.dev.js +0 -361
- package/dist/HashSet-206ea53b.cjs.dev.js +0 -965
- package/dist/HashSet-286fb998.cjs.prod.js +0 -965
- package/dist/HashSet-43b520e9.cjs.dev.js +0 -283
- package/dist/HashSet-99f1529e.cjs.prod.js +0 -283
- package/dist/HashSet-d051e0ea.esm.js +0 -907
- package/dist/HashSet-dff2542b.esm.js +0 -256
- package/dist/Hub-4223bb07.cjs.prod.js +0 -1280
- package/dist/Hub-9f3d5c5d.esm.js +0 -1264
- package/dist/Hub-dd9d70e7.cjs.dev.js +0 -1280
- package/dist/Inspectable-46a7668e.cjs.prod.js +0 -50
- package/dist/Inspectable-654412c2.cjs.dev.js +0 -50
- package/dist/Inspectable-bda84223.esm.js +0 -45
- package/dist/KeyedPool-0b5851a2.cjs.prod.js +0 -282
- package/dist/KeyedPool-50b8f75b.esm.js +0 -273
- package/dist/KeyedPool-8b979aac.cjs.dev.js +0 -282
- package/dist/Layer-11122c64.cjs.dev.js +0 -687
- package/dist/Layer-79fa5f4a.cjs.prod.js +0 -687
- package/dist/Layer-f7be72db.esm.js +0 -623
- package/dist/List-48f2b78f.cjs.prod.js +0 -912
- package/dist/List-95e1e081.cjs.dev.js +0 -912
- package/dist/List-c066a506.esm.js +0 -865
- package/dist/LogLevel-2e6b00c7.esm.js +0 -222
- package/dist/LogLevel-a609dd63.cjs.prod.js +0 -240
- package/dist/LogLevel-c14e29fb.cjs.dev.js +0 -240
- package/dist/LogSpan-c216a78b.cjs.prod.js +0 -46
- package/dist/LogSpan-cd4b8f34.cjs.dev.js +0 -46
- package/dist/LogSpan-e5cf11a5.esm.js +0 -42
- package/dist/Logger-029fccab.cjs.prod.js +0 -275
- package/dist/Logger-28d5e7ff.cjs.dev.js +0 -275
- package/dist/Logger-52ffeafa.esm.js +0 -246
- package/dist/Metric-2b4867b2.cjs.dev.js +0 -488
- package/dist/Metric-cd4dfaba.cjs.prod.js +0 -488
- package/dist/Metric-f2c8888b.esm.js +0 -442
- package/dist/MetricBoundaries-8ef331f0.cjs.dev.js +0 -68
- package/dist/MetricBoundaries-9707829f.esm.js +0 -61
- package/dist/MetricBoundaries-fc377a5e.cjs.prod.js +0 -68
- package/dist/MetricHook-74ebef65.esm.js +0 -80
- package/dist/MetricHook-9d1ff9f5.cjs.prod.js +0 -90
- package/dist/MetricHook-ebd34eea.cjs.dev.js +0 -90
- package/dist/MetricKey-7536999c.cjs.dev.js +0 -130
- package/dist/MetricKey-d96ef128.cjs.prod.js +0 -130
- package/dist/MetricKey-fb261d1b.esm.js +0 -118
- package/dist/MetricKeyType-637f6694.cjs.prod.js +0 -187
- package/dist/MetricKeyType-6a10f955.esm.js +0 -168
- package/dist/MetricKeyType-ed70a508.cjs.dev.js +0 -187
- package/dist/MetricLabel-30df73d1.esm.js +0 -48
- package/dist/MetricLabel-b6a3c628.cjs.prod.js +0 -53
- package/dist/MetricLabel-e6d1cb96.cjs.dev.js +0 -53
- package/dist/MetricPair-5f5f6f1b.esm.js +0 -45
- package/dist/MetricPair-a1551790.cjs.prod.js +0 -50
- package/dist/MetricPair-f1f0edbd.cjs.dev.js +0 -50
- package/dist/MetricPolling-258af71e.esm.js +0 -167
- package/dist/MetricPolling-b2accbbd.cjs.dev.js +0 -177
- package/dist/MetricPolling-c6caba9d.cjs.prod.js +0 -177
- package/dist/MetricRegistry-2ae45fdf.cjs.dev.js +0 -38
- package/dist/MetricRegistry-44d3af51.esm.js +0 -34
- package/dist/MetricRegistry-d61eb47d.cjs.prod.js +0 -38
- package/dist/MetricState-a3499d98.cjs.prod.js +0 -191
- package/dist/MetricState-cd7a1775.cjs.dev.js +0 -191
- package/dist/MetricState-d4fcb7d0.esm.js +0 -172
- package/dist/MutableHashMap-b3ab7261.esm.js +0 -142
- package/dist/MutableHashMap-d6cb38d9.cjs.prod.js +0 -154
- package/dist/MutableHashMap-f08d01f5.cjs.dev.js +0 -154
- package/dist/MutableHashSet-9e2ea672.cjs.dev.js +0 -110
- package/dist/MutableHashSet-ec9f7a0b.esm.js +0 -101
- package/dist/MutableHashSet-fa860611.cjs.prod.js +0 -110
- package/dist/MutableList-4ef847b7.cjs.prod.js +0 -296
- package/dist/MutableList-85cf4e37.cjs.dev.js +0 -296
- package/dist/MutableList-8c671944.esm.js +0 -281
- package/dist/MutableQueue-3dfd5fea.cjs.dev.js +0 -215
- package/dist/MutableQueue-416dfcd9.cjs.prod.js +0 -215
- package/dist/MutableQueue-54a4b584.esm.js +0 -202
- package/dist/MutableRef-82c6fe46.cjs.prod.js +0 -194
- package/dist/MutableRef-cb4d2fc0.esm.js +0 -176
- package/dist/MutableRef-ef31c15d.cjs.dev.js +0 -194
- package/dist/NonEmptyIterable-26ed16e4.cjs.prod.js +0 -36
- package/dist/NonEmptyIterable-7ef320e0.esm.js +0 -33
- package/dist/NonEmptyIterable-b064c1af.cjs.dev.js +0 -36
- package/dist/Number-d021c8f9.cjs.prod.js +0 -417
- package/dist/Number-dc454336.esm.js +0 -394
- package/dist/Number-dddf713e.cjs.dev.js +0 -417
- package/dist/Option-1d073850.esm.js +0 -1135
- package/dist/Option-837ae0da.cjs.dev.js +0 -1198
- package/dist/Option-b07f2b1d.cjs.prod.js +0 -1198
- package/dist/Order-2f11aa24.esm.js +0 -293
- package/dist/Order-2f785421.cjs.prod.js +0 -321
- package/dist/Order-cbf22e18.cjs.dev.js +0 -321
- package/dist/Ordering-9892085c.esm.js +0 -97
- package/dist/Ordering-e20427cc.cjs.dev.js +0 -104
- package/dist/Ordering-f3e378ef.cjs.prod.js +0 -104
- package/dist/Pipeable-856ddd7c.cjs.prod.js +0 -52
- package/dist/Pipeable-ef202667.cjs.dev.js +0 -52
- package/dist/Pipeable-fe51dc02.esm.js +0 -49
- package/dist/Pool-68590a64.cjs.dev.js +0 -122
- package/dist/Pool-718f79ff.cjs.prod.js +0 -122
- package/dist/Pool-cdfcfabe.esm.js +0 -114
- package/dist/Predicate-52271838.esm.js +0 -677
- package/dist/Predicate-54d8c8de.cjs.dev.js +0 -718
- package/dist/Predicate-a3fd4088.cjs.prod.js +0 -718
- package/dist/Queue-48d0b9d4.cjs.dev.js +0 -394
- package/dist/Queue-9f8579c0.cjs.prod.js +0 -394
- package/dist/Queue-bbebbeda.esm.js +0 -362
- package/dist/Random-0bdc1bcb.cjs.prod.js +0 -104
- package/dist/Random-14987953.esm.js +0 -94
- package/dist/Random-f495bcbc.cjs.dev.js +0 -104
- package/dist/ReadonlyArray-199ff80e.esm.js +0 -1584
- package/dist/ReadonlyArray-3b1a15d8.cjs.dev.js +0 -10
- package/dist/ReadonlyArray-6fbc78a1.cjs.prod.js +0 -1721
- package/dist/ReadonlyArray-84c71385.esm.js +0 -8
- package/dist/ReadonlyArray-885e80a2.cjs.dev.js +0 -1721
- package/dist/ReadonlyArray-8adb9a46.cjs.prod.js +0 -10
- package/dist/ReadonlyRecord-4969b34f.cjs.prod.js +0 -568
- package/dist/ReadonlyRecord-c1f5d048.esm.js +0 -544
- package/dist/ReadonlyRecord-c6dc7deb.cjs.dev.js +0 -568
- package/dist/RedBlackTree-22839235.esm.js +0 -1632
- package/dist/RedBlackTree-59192950.cjs.prod.js +0 -1669
- package/dist/RedBlackTree-98a93ec6.cjs.dev.js +0 -1669
- package/dist/Ref-88c1d56d.cjs.prod.js +0 -282
- package/dist/Ref-8d85fc7a.cjs.dev.js +0 -282
- package/dist/Ref-9a9de951.esm.js +0 -248
- package/dist/Reloadable-10cfae17.esm.js +0 -159
- package/dist/Reloadable-3ca716d9.cjs.prod.js +0 -169
- package/dist/Reloadable-65bf6783.cjs.dev.js +0 -169
- package/dist/Request-5b794c27.cjs.dev.js +0 -190
- package/dist/Request-6d646956.cjs.prod.js +0 -190
- package/dist/Request-9f0b571a.esm.js +0 -175
- package/dist/RequestBlock-15e7d048.cjs.prod.js +0 -124
- package/dist/RequestBlock-6105623d.esm.js +0 -114
- package/dist/RequestBlock-ec5299d4.cjs.dev.js +0 -124
- package/dist/RequestResolver-10227a7b.esm.js +0 -213
- package/dist/RequestResolver-a3fe9b72.cjs.prod.js +0 -233
- package/dist/RequestResolver-bc7e6050.cjs.dev.js +0 -233
- package/dist/Resource-966460b5.cjs.dev.js +0 -118
- package/dist/Resource-9f1084b9.cjs.prod.js +0 -118
- package/dist/Resource-afd128d6.esm.js +0 -111
- package/dist/Runtime-15bf8fcd.cjs.prod.js +0 -191
- package/dist/Runtime-1a63e954.cjs.dev.js +0 -191
- package/dist/Runtime-4f6fc384.esm.js +0 -175
- package/dist/RuntimeFlags-4d3b4ba7.esm.js +0 -344
- package/dist/RuntimeFlags-a43dcce7.cjs.dev.js +0 -381
- package/dist/RuntimeFlags-ef10d73a.cjs.prod.js +0 -381
- package/dist/RuntimeFlagsPatch-0c131e8e.cjs.dev.js +0 -411
- package/dist/RuntimeFlagsPatch-a1da6096.esm.js +0 -365
- package/dist/RuntimeFlagsPatch-bfdf133d.cjs.prod.js +0 -411
- package/dist/STM-2bdad2bd.cjs.dev.js +0 -1447
- package/dist/STM-55e91604.esm.js +0 -1321
- package/dist/STM-e6749b84.cjs.prod.js +0 -1447
- package/dist/Schedule-35a9436e.cjs.prod.js +0 -1159
- package/dist/Schedule-d9b0f037.cjs.dev.js +0 -1159
- package/dist/Schedule-da001b13.esm.js +0 -1059
- package/dist/ScheduleDecision-2ab823c2.cjs.dev.js +0 -106
- package/dist/ScheduleDecision-369cf2a1.cjs.prod.js +0 -106
- package/dist/ScheduleDecision-e794f66d.esm.js +0 -99
- package/dist/ScheduleInterval-2db9be83.cjs.dev.js +0 -244
- package/dist/ScheduleInterval-3e9b8eca.cjs.prod.js +0 -244
- package/dist/ScheduleInterval-94e80ec4.esm.js +0 -229
- package/dist/ScheduleIntervals-ab412802.cjs.dev.js +0 -265
- package/dist/ScheduleIntervals-e6ed15fa.cjs.prod.js +0 -265
- package/dist/ScheduleIntervals-ef5cd7c5.esm.js +0 -252
- package/dist/Scheduler-44f252da.cjs.prod.js +0 -358
- package/dist/Scheduler-6122a3ee.cjs.dev.js +0 -358
- package/dist/Scheduler-d2f7e5c7.esm.js +0 -343
- package/dist/Scope-0ffde3bb.esm.js +0 -131
- package/dist/Scope-326194e2.cjs.prod.js +0 -143
- package/dist/Scope-3cf29072.cjs.dev.js +0 -143
- package/dist/ScopedCache-01a07a6d.cjs.prod.js +0 -467
- package/dist/ScopedCache-77c605e8.cjs.dev.js +0 -467
- package/dist/ScopedCache-9c558fd1.esm.js +0 -462
- package/dist/ScopedRef-2f0e2b33.cjs.dev.js +0 -87
- package/dist/ScopedRef-5c29a8a2.cjs.prod.js +0 -87
- package/dist/ScopedRef-dd8a823e.esm.js +0 -80
- package/dist/Sink-923b4ad8.esm.js +0 -1107
- package/dist/Sink-c4ca577a.cjs.prod.js +0 -1215
- package/dist/Sink-fa1f105b.cjs.dev.js +0 -1215
- package/dist/SortedMap-44f47d83.esm.js +0 -190
- package/dist/SortedMap-abf39a75.cjs.prod.js +0 -210
- package/dist/SortedMap-b04da739.cjs.dev.js +0 -210
- package/dist/SortedSet-3339ea7f.esm.js +0 -288
- package/dist/SortedSet-4efa4f05.cjs.dev.js +0 -311
- package/dist/SortedSet-b588ac70.cjs.prod.js +0 -311
- package/dist/Stack-765c2298.esm.js +0 -9
- package/dist/Stream-1d51d0be.esm.js +0 -3175
- package/dist/Stream-55dd689b.cjs.prod.js +0 -3469
- package/dist/Stream-b1eaedfc.cjs.dev.js +0 -3469
- package/dist/StreamEmit-bd696ab0.esm.js +0 -5
- package/dist/StreamHaltStrategy-292ed375.cjs.dev.js +0 -214
- package/dist/StreamHaltStrategy-506d4abb.cjs.prod.js +0 -214
- package/dist/StreamHaltStrategy-9864a080.esm.js +0 -201
- package/dist/String-9702a941.cjs.dev.js +0 -694
- package/dist/String-ba45d520.esm.js +0 -648
- package/dist/String-fa7c1c88.cjs.prod.js +0 -694
- package/dist/Struct-3d8b2a81.cjs.prod.js +0 -141
- package/dist/Struct-62f329c0.cjs.dev.js +0 -141
- package/dist/Struct-8bc142d1.esm.js +0 -134
- package/dist/SubscriptionRef-1eb76544.cjs.prod.js +0 -269
- package/dist/SubscriptionRef-33b302b6.esm.js +0 -245
- package/dist/SubscriptionRef-faf570c5.cjs.dev.js +0 -269
- package/dist/Supervisor-34de9985.cjs.dev.js +0 -170
- package/dist/Supervisor-3706300f.cjs.prod.js +0 -170
- package/dist/Supervisor-5b9943cf.esm.js +0 -160
- package/dist/Symbol-9ad0bde8.esm.js +0 -36
- package/dist/Symbol-e3ea5627.cjs.dev.js +0 -40
- package/dist/Symbol-e5af99ce.cjs.prod.js +0 -40
- package/dist/SynchronizedRef-01f585dc.cjs.prod.js +0 -212
- package/dist/SynchronizedRef-c389137f.esm.js +0 -187
- package/dist/SynchronizedRef-cda883b7.cjs.dev.js +0 -212
- package/dist/TArray-1200bf6a.esm.js +0 -412
- package/dist/TArray-97bc3f87.cjs.prod.js +0 -455
- package/dist/TArray-9bd73c38.cjs.dev.js +0 -455
- package/dist/TDeferred-875fd41c.esm.js +0 -120
- package/dist/TDeferred-bf21b756.cjs.prod.js +0 -129
- package/dist/TDeferred-f97247d3.cjs.dev.js +0 -129
- package/dist/THub-917198c0.esm.js +0 -553
- package/dist/THub-c4a3e52c.cjs.dev.js +0 -570
- package/dist/THub-d9d3b223.cjs.prod.js +0 -570
- package/dist/TMap-459696e5.cjs.dev.js +0 -463
- package/dist/TMap-786b8508.esm.js +0 -419
- package/dist/TMap-a6aab3c3.cjs.prod.js +0 -463
- package/dist/TPriorityQueue-31c32afb.esm.js +0 -360
- package/dist/TPriorityQueue-918056c3.cjs.prod.js +0 -381
- package/dist/TPriorityQueue-e8429066.cjs.dev.js +0 -381
- package/dist/TQueue-adee58b8.esm.js +0 -324
- package/dist/TQueue-b9593214.cjs.prod.js +0 -353
- package/dist/TQueue-d1c8153e.cjs.dev.js +0 -353
- package/dist/TRandom-65721a5b.cjs.prod.js +0 -203
- package/dist/TRandom-677ba64f.esm.js +0 -192
- package/dist/TRandom-79057bd9.cjs.dev.js +0 -203
- package/dist/TReentrantLock-0dbd6074.cjs.prod.js +0 -456
- package/dist/TReentrantLock-164c0898.cjs.dev.js +0 -456
- package/dist/TReentrantLock-65156c11.esm.js +0 -435
- package/dist/TRef-4a45f5af.cjs.dev.js +0 -152
- package/dist/TRef-edd5ff88.esm.js +0 -135
- package/dist/TRef-ff8497e4.cjs.prod.js +0 -152
- package/dist/TSemaphore-1f5dc074.cjs.dev.js +0 -197
- package/dist/TSemaphore-bccebfec.esm.js +0 -183
- package/dist/TSemaphore-d1096593.cjs.prod.js +0 -197
- package/dist/TSet-0f61d448.cjs.prod.js +0 -444
- package/dist/TSet-48903882.cjs.dev.js +0 -444
- package/dist/TSet-bd3a1de2.esm.js +0 -412
- package/dist/Take-1e6b1ba3.esm.js +0 -214
- package/dist/Take-7797160f.cjs.dev.js +0 -236
- package/dist/Take-d245cc08.cjs.prod.js +0 -236
- package/dist/TestAnnotation-5b23b64a.cjs.prod.js +0 -135
- package/dist/TestAnnotation-c2b6bb64.esm.js +0 -124
- package/dist/TestAnnotation-ca7ea5d9.cjs.dev.js +0 -135
- package/dist/TestAnnotationMap-5ef91d33.cjs.prod.js +0 -125
- package/dist/TestAnnotationMap-83b0e761.cjs.dev.js +0 -125
- package/dist/TestAnnotationMap-d180214b.esm.js +0 -114
- package/dist/TestAnnotations-758011e7.cjs.prod.js +0 -97
- package/dist/TestAnnotations-89733ab7.cjs.dev.js +0 -97
- package/dist/TestAnnotations-cf445345.esm.js +0 -91
- package/dist/TestClock-0a012f75.esm.js +0 -565
- package/dist/TestClock-0abac759.cjs.prod.js +0 -581
- package/dist/TestClock-3bdb0c0b.cjs.dev.js +0 -581
- package/dist/TestConfig-3f48c7f2.cjs.prod.js +0 -37
- package/dist/TestConfig-e52495c3.esm.js +0 -33
- package/dist/TestConfig-ff283076.cjs.dev.js +0 -37
- package/dist/TestContext-64f40523.esm.js +0 -36
- package/dist/TestContext-7a6420d3.cjs.prod.js +0 -41
- package/dist/TestContext-b44d97ae.cjs.dev.js +0 -41
- package/dist/TestLive-64c62bfe.cjs.dev.js +0 -60
- package/dist/TestLive-906c173d.cjs.prod.js +0 -60
- package/dist/TestLive-bfab4add.esm.js +0 -55
- package/dist/TestServices-844e305d.esm.js +0 -306
- package/dist/TestServices-944b625c.cjs.prod.js +0 -341
- package/dist/TestServices-f8c51bbd.cjs.dev.js +0 -341
- package/dist/TestSized-0fa739ff.cjs.prod.js +0 -64
- package/dist/TestSized-3a0fa658.esm.js +0 -58
- package/dist/TestSized-955a228e.cjs.dev.js +0 -64
- package/dist/Tracer-1610aba4.cjs.dev.js +0 -81
- package/dist/Tracer-700da80a.cjs.prod.js +0 -81
- package/dist/Tracer-b07052e2.esm.js +0 -75
- package/dist/Tuple-1fa12d6e.esm.js +0 -187
- package/dist/Tuple-73682170.cjs.prod.js +0 -199
- package/dist/Tuple-9822259f.cjs.dev.js +0 -199
- package/dist/Types-be3804ad.esm.js +0 -5
- package/dist/Unify-150ebcee.cjs.dev.js +0 -48
- package/dist/Unify-77f78d08.cjs.prod.js +0 -48
- package/dist/Unify-9d27a1f3.esm.js +0 -45
- package/dist/Utils-32587b0c.cjs.dev.js +0 -370
- package/dist/Utils-6484334f.cjs.prod.js +0 -370
- package/dist/Utils-657e8bfa.esm.js +0 -362
- package/dist/boundaries-6bacf30a.cjs.prod.js +0 -54
- package/dist/boundaries-8475a9b4.esm.js +0 -48
- package/dist/boundaries-c6f4c3da.cjs.dev.js +0 -54
- package/dist/cache-2fa366f0.esm.js +0 -514
- package/dist/cache-7b578624.cjs.prod.js +0 -523
- package/dist/cache-8db60799.cjs.dev.js +0 -523
- package/dist/childExecutorDecision-49f0f19c.esm.js +0 -85
- package/dist/childExecutorDecision-744cd5fb.cjs.prod.js +0 -98
- package/dist/childExecutorDecision-c1c3b8b6.cjs.dev.js +0 -98
- package/dist/circular-1dfea59d.cjs.prod.js +0 -107
- package/dist/circular-3ebc9b78.esm.js +0 -82
- package/dist/circular-604e98e5.cjs.prod.js +0 -341
- package/dist/circular-8088cc19.cjs.dev.js +0 -341
- package/dist/circular-cff58c30.esm.js +0 -311
- package/dist/circular-e5da795a.cjs.dev.js +0 -107
- package/dist/config-05de256b.cjs.dev.js +0 -474
- package/dist/config-3003c43a.cjs.prod.js +0 -474
- package/dist/config-64a67e36.esm.js +0 -428
- package/dist/configError-84c0742e.esm.js +0 -305
- package/dist/configError-a7c4fcc2.cjs.dev.js +0 -323
- package/dist/configError-b3dd6ec2.cjs.prod.js +0 -323
- package/dist/configProvider-35a1a3c7.cjs.prod.js +0 -447
- package/dist/configProvider-56d1b842.cjs.dev.js +0 -447
- package/dist/configProvider-cd15d971.esm.js +0 -428
- package/dist/configSecret-18ba6f6e.cjs.dev.js +0 -74
- package/dist/configSecret-3dd7ab72.cjs.prod.js +0 -74
- package/dist/configSecret-793e52b4.esm.js +0 -66
- package/dist/core-01c0ed9d.cjs.prod.js +0 -1072
- package/dist/core-218f7617.cjs.prod.js +0 -3502
- package/dist/core-5346c1e5.cjs.dev.js +0 -1072
- package/dist/core-9276b625.esm.js +0 -1032
- package/dist/core-9f5f0dc2.esm.js +0 -3225
- package/dist/core-bedc63fe.cjs.dev.js +0 -3502
- package/dist/core-effect-a839563d.cjs.dev.js +0 -1030
- package/dist/core-effect-e762d50b.esm.js +0 -902
- package/dist/core-effect-fea8dde9.cjs.prod.js +0 -1030
- package/dist/dataSource-43c62f8e.esm.js +0 -60
- package/dist/dataSource-8ab8a0ec.cjs.dev.js +0 -74
- package/dist/dataSource-cc1edaa1.cjs.prod.js +0 -74
- package/dist/defaultServices-1d4f144a.cjs.prod.js +0 -388
- package/dist/defaultServices-1f1298e8.cjs.dev.js +0 -388
- package/dist/defaultServices-86214de4.esm.js +0 -359
- package/dist/fiber-1511340a.esm.js +0 -363
- package/dist/fiber-18f7cf87.cjs.dev.js +0 -411
- package/dist/fiber-957d5291.cjs.prod.js +0 -411
- package/dist/fiberRefs-76ecbcfd.cjs.dev.js +0 -181
- package/dist/fiberRefs-b32de18b.esm.js +0 -169
- package/dist/fiberRefs-f0429b31.cjs.prod.js +0 -181
- package/dist/fiberRuntime-233db874.cjs.dev.js +0 -3012
- package/dist/fiberRuntime-5e42f85c.cjs.prod.js +0 -3012
- package/dist/fiberRuntime-98f09d31.esm.js +0 -2857
- package/dist/groupBy-36e6ca3f.cjs.prod.js +0 -216
- package/dist/groupBy-3a32c4b6.cjs.dev.js +0 -216
- package/dist/groupBy-8d753c19.esm.js +0 -206
- package/dist/hook-8fc9006f.esm.js +0 -362
- package/dist/hook-e169b712.cjs.prod.js +0 -371
- package/dist/hook-fe9f948d.cjs.dev.js +0 -371
- package/dist/key-215ea6fd.esm.js +0 -68
- package/dist/key-4824d1ad.cjs.prod.js +0 -79
- package/dist/key-d8dc829b.cjs.dev.js +0 -79
- package/dist/keyType-c980adcc.cjs.dev.js +0 -236
- package/dist/keyType-d85714ed.cjs.prod.js +0 -236
- package/dist/keyType-fefd9ef8.esm.js +0 -218
- package/dist/label-14b7d517.cjs.dev.js +0 -44
- package/dist/label-5cb21441.esm.js +0 -40
- package/dist/label-e78b2f8f.cjs.prod.js +0 -44
- package/dist/layer-3da5a933.cjs.prod.js +0 -658
- package/dist/layer-e1d1db03.cjs.dev.js +0 -658
- package/dist/layer-f8ec8454.esm.js +0 -596
- package/dist/mergeDecision-32146c34.esm.js +0 -78
- package/dist/mergeDecision-75feaab3.cjs.dev.js +0 -86
- package/dist/mergeDecision-a1822db2.cjs.prod.js +0 -86
- package/dist/mergeState-21728f0b.esm.js +0 -96
- package/dist/mergeState-2c24c562.cjs.prod.js +0 -109
- package/dist/mergeState-e9aa09b9.cjs.dev.js +0 -109
- package/dist/mergeStrategy-84dd9011.esm.js +0 -64
- package/dist/mergeStrategy-8fe47c7e.cjs.dev.js +0 -72
- package/dist/mergeStrategy-909bebb0.cjs.prod.js +0 -72
- package/dist/pair-67530b23.cjs.dev.js +0 -42
- package/dist/pair-cb46f77c.esm.js +0 -38
- package/dist/pair-fb591d12.cjs.prod.js +0 -42
- package/dist/patch-99e8591b.esm.js +0 -127
- package/dist/patch-cdcb5e42.cjs.dev.js +0 -132
- package/dist/patch-f440dab6.cjs.prod.js +0 -132
- package/dist/pathPatch-5ac830c8.esm.js +0 -83
- package/dist/pathPatch-75afe967.cjs.dev.js +0 -90
- package/dist/pathPatch-775a0838.cjs.prod.js +0 -90
- package/dist/pool-0da00d67.cjs.prod.js +0 -278
- package/dist/pool-54820a71.esm.js +0 -271
- package/dist/pool-bfa5c974.cjs.dev.js +0 -278
- package/dist/query-1685a476.esm.js +0 -97
- package/dist/query-3ab8cd4e.cjs.prod.js +0 -104
- package/dist/query-68bb7c45.cjs.dev.js +0 -104
- package/dist/queue-499cacee.cjs.prod.js +0 -538
- package/dist/queue-b79c472d.esm.js +0 -505
- package/dist/queue-bf262207.cjs.dev.js +0 -538
- package/dist/registry-38f0ed9d.esm.js +0 -111
- package/dist/registry-6f465b2f.cjs.prod.js +0 -114
- package/dist/registry-dfe7ed01.cjs.dev.js +0 -114
- package/dist/runtime-5b7472d5.cjs.dev.js +0 -288
- package/dist/runtime-68e90981.cjs.prod.js +0 -288
- package/dist/runtime-f91ca239.esm.js +0 -266
- package/dist/schedule-0d31f4cc.esm.js +0 -843
- package/dist/schedule-616cf1b8.cjs.prod.js +0 -956
- package/dist/schedule-d3f9b258.cjs.dev.js +0 -956
- package/dist/scopedRef-5e59cf54.cjs.prod.js +0 -55
- package/dist/scopedRef-730d8d35.cjs.dev.js +0 -55
- package/dist/scopedRef-e54a3d93.esm.js +0 -49
- package/dist/singleProducerAsyncInput-6508b7f1.cjs.dev.js +0 -193
- package/dist/singleProducerAsyncInput-c67ef1c6.esm.js +0 -191
- package/dist/singleProducerAsyncInput-d3225b4e.cjs.prod.js +0 -193
- package/dist/sink-05d54662.cjs.prod.js +0 -3094
- package/dist/sink-3105a90f.cjs.dev.js +0 -3094
- package/dist/sink-3f26fc31.esm.js +0 -2877
- package/dist/state-38610229.esm.js +0 -209
- package/dist/state-6d974829.cjs.dev.js +0 -227
- package/dist/state-abef4d59.cjs.prod.js +0 -227
- package/dist/stm-43c3b262.cjs.dev.js +0 -678
- package/dist/stm-d01a804c.esm.js +0 -582
- package/dist/stm-e1200304.cjs.prod.js +0 -678
- package/dist/stream-3ebec4f3.cjs.prod.js +0 -3649
- package/dist/stream-9270c6b1.esm.js +0 -3355
- package/dist/stream-b819c5b3.cjs.dev.js +0 -3649
- package/dist/synchronizedRef-5bbb64b2.cjs.prod.js +0 -62
- package/dist/synchronizedRef-e9682c8e.cjs.dev.js +0 -62
- package/dist/synchronizedRef-f7077a5f.esm.js +0 -53
- package/dist/tArray-0d2e8fae.cjs.dev.js +0 -330
- package/dist/tArray-442d22a4.cjs.prod.js +0 -330
- package/dist/tArray-fa2759e8.esm.js +0 -287
- package/dist/tMap-2a001015.cjs.prod.js +0 -535
- package/dist/tMap-2a98e9a7.esm.js +0 -492
- package/dist/tMap-2fd8c9e6.cjs.dev.js +0 -535
- package/dist/tQueue-13f8f402.esm.js +0 -331
- package/dist/tQueue-84a0d0eb.cjs.dev.js +0 -367
- package/dist/tQueue-e2e96d1f.cjs.prod.js +0 -367
- package/dist/tRef-4772a528.cjs.prod.js +0 -133
- package/dist/tRef-b5d0cc28.esm.js +0 -115
- package/dist/tRef-bbbdd134.cjs.dev.js +0 -133
- package/dist/take-68ed448f.cjs.dev.js +0 -152
- package/dist/take-7c168e8e.esm.js +0 -130
- package/dist/take-d293f721.cjs.prod.js +0 -152
- package/dist/timeout-4180303d.esm.js +0 -22
- package/dist/upstreamPullRequest-be86e51c.esm.js +0 -71
- package/dist/upstreamPullRequest-d2eaf7f5.cjs.prod.js +0 -79
- package/dist/upstreamPullRequest-f986731f.cjs.dev.js +0 -79
- package/dist/upstreamPullStrategy-08e7185f.cjs.prod.js +0 -81
- package/dist/upstreamPullStrategy-29c0b698.cjs.dev.js +0 -81
- package/dist/upstreamPullStrategy-d1505fa4.esm.js +0 -71
|
@@ -0,0 +1,1721 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var Either_dist_effectEither = require('./Either-a806809d.cjs.dev.js');
|
|
4
|
+
var Equal_dist_effectEqual = require('./Equal-281b6ca8.cjs.dev.js');
|
|
5
|
+
var Equivalence_dist_effectEquivalence = require('./Equivalence-de7a0d51.cjs.dev.js');
|
|
6
|
+
var Function_dist_effectFunction = require('./Function-41ce433d.cjs.dev.js');
|
|
7
|
+
var ReadonlyArray$1 = require('./ReadonlyArray-9a1474f6.cjs.dev.js');
|
|
8
|
+
var Option_dist_effectOption = require('./Option-03997d77.cjs.dev.js');
|
|
9
|
+
var Order_dist_effectOrder = require('./Order-28bdebd2.cjs.dev.js');
|
|
10
|
+
var ReadonlyRecord_dist_effectReadonlyRecord = require('./ReadonlyRecord-605a625b.cjs.dev.js');
|
|
11
|
+
|
|
12
|
+
/**
|
|
13
|
+
* This module provides utility functions for working with arrays in TypeScript.
|
|
14
|
+
*
|
|
15
|
+
* @since 2.0.0
|
|
16
|
+
*/
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
* @category type lambdas
|
|
20
|
+
* @since 2.0.0
|
|
21
|
+
*/
|
|
22
|
+
|
|
23
|
+
/**
|
|
24
|
+
* @category models
|
|
25
|
+
* @since 2.0.0
|
|
26
|
+
*/
|
|
27
|
+
|
|
28
|
+
/**
|
|
29
|
+
* @category models
|
|
30
|
+
* @since 2.0.0
|
|
31
|
+
*/
|
|
32
|
+
|
|
33
|
+
/**
|
|
34
|
+
* Builds a `NonEmptyArray` from an non-empty collection of elements.
|
|
35
|
+
*
|
|
36
|
+
* @category constructors
|
|
37
|
+
* @since 2.0.0
|
|
38
|
+
*/
|
|
39
|
+
const make = (...elements) => elements;
|
|
40
|
+
|
|
41
|
+
/**
|
|
42
|
+
* Return a `NonEmptyArray` of length `n` with element `i` initialized with `f(i)`.
|
|
43
|
+
*
|
|
44
|
+
* **Note**. `n` is normalized to an integer >= 1.
|
|
45
|
+
*
|
|
46
|
+
* @example
|
|
47
|
+
* import { makeBy } from 'effect/ReadonlyArray'
|
|
48
|
+
*
|
|
49
|
+
* assert.deepStrictEqual(makeBy(5, n => n * 2), [0, 2, 4, 6, 8])
|
|
50
|
+
*
|
|
51
|
+
* @category constructors
|
|
52
|
+
* @since 2.0.0
|
|
53
|
+
*/
|
|
54
|
+
const makeBy = (n, f) => {
|
|
55
|
+
const max = Math.max(1, Math.floor(n));
|
|
56
|
+
const out = [f(0)];
|
|
57
|
+
for (let i = 1; i < max; i++) {
|
|
58
|
+
out.push(f(i));
|
|
59
|
+
}
|
|
60
|
+
return out;
|
|
61
|
+
};
|
|
62
|
+
|
|
63
|
+
/**
|
|
64
|
+
* Return a `NonEmptyArray` containing a range of integers, including both endpoints.
|
|
65
|
+
*
|
|
66
|
+
* @example
|
|
67
|
+
* import { range } from 'effect/ReadonlyArray'
|
|
68
|
+
*
|
|
69
|
+
* assert.deepStrictEqual(range(1, 3), [1, 2, 3])
|
|
70
|
+
*
|
|
71
|
+
* @category constructors
|
|
72
|
+
* @since 2.0.0
|
|
73
|
+
*/
|
|
74
|
+
const range = (start, end) => start <= end ? makeBy(end - start + 1, i => start + i) : [start];
|
|
75
|
+
|
|
76
|
+
/**
|
|
77
|
+
* Return a `NonEmptyArray` containing a value repeated the specified number of times.
|
|
78
|
+
*
|
|
79
|
+
* **Note**. `n` is normalized to an integer >= 1.
|
|
80
|
+
*
|
|
81
|
+
* @example
|
|
82
|
+
* import { replicate } from 'effect/ReadonlyArray'
|
|
83
|
+
*
|
|
84
|
+
* assert.deepStrictEqual(replicate("a", 3), ["a", "a", "a"])
|
|
85
|
+
*
|
|
86
|
+
* @category constructors
|
|
87
|
+
* @since 2.0.0
|
|
88
|
+
*/
|
|
89
|
+
const replicate = /*#__PURE__*/Function_dist_effectFunction.dual(2, (a, n) => makeBy(n, () => a));
|
|
90
|
+
|
|
91
|
+
/**
|
|
92
|
+
* @category conversions
|
|
93
|
+
* @since 2.0.0
|
|
94
|
+
*/
|
|
95
|
+
const fromIterable = collection => Array.isArray(collection) ? collection : Array.from(collection);
|
|
96
|
+
|
|
97
|
+
/**
|
|
98
|
+
* Takes a record and returns an array of tuples containing its keys and values.
|
|
99
|
+
*
|
|
100
|
+
* @param self - The record to transform.
|
|
101
|
+
*
|
|
102
|
+
* @example
|
|
103
|
+
* import { fromRecord } from "effect/ReadonlyArray"
|
|
104
|
+
*
|
|
105
|
+
* const x = { a: 1, b: 2, c: 3 }
|
|
106
|
+
* assert.deepStrictEqual(fromRecord(x), [["a", 1], ["b", 2], ["c", 3]])
|
|
107
|
+
*
|
|
108
|
+
* @category conversions
|
|
109
|
+
* @since 2.0.0
|
|
110
|
+
*/
|
|
111
|
+
const fromRecord = ReadonlyRecord_dist_effectReadonlyRecord.toEntries;
|
|
112
|
+
|
|
113
|
+
/**
|
|
114
|
+
* @category conversions
|
|
115
|
+
* @since 2.0.0
|
|
116
|
+
*/
|
|
117
|
+
const fromOption = Option_dist_effectOption.toArray;
|
|
118
|
+
|
|
119
|
+
/**
|
|
120
|
+
* @category pattern matching
|
|
121
|
+
* @since 2.0.0
|
|
122
|
+
*/
|
|
123
|
+
const match = /*#__PURE__*/Function_dist_effectFunction.dual(2, (self, {
|
|
124
|
+
onEmpty,
|
|
125
|
+
onNonEmpty
|
|
126
|
+
}) => isNonEmptyReadonlyArray(self) ? onNonEmpty(self) : onEmpty());
|
|
127
|
+
|
|
128
|
+
/**
|
|
129
|
+
* @category pattern matching
|
|
130
|
+
* @since 2.0.0
|
|
131
|
+
*/
|
|
132
|
+
const matchLeft = /*#__PURE__*/Function_dist_effectFunction.dual(2, (self, {
|
|
133
|
+
onEmpty,
|
|
134
|
+
onNonEmpty
|
|
135
|
+
}) => isNonEmptyReadonlyArray(self) ? onNonEmpty(headNonEmpty(self), tailNonEmpty(self)) : onEmpty());
|
|
136
|
+
|
|
137
|
+
/**
|
|
138
|
+
* @category pattern matching
|
|
139
|
+
* @since 2.0.0
|
|
140
|
+
*/
|
|
141
|
+
const matchRight = /*#__PURE__*/Function_dist_effectFunction.dual(2, (self, {
|
|
142
|
+
onEmpty,
|
|
143
|
+
onNonEmpty
|
|
144
|
+
}) => isNonEmptyReadonlyArray(self) ? onNonEmpty(initNonEmpty(self), lastNonEmpty(self)) : onEmpty());
|
|
145
|
+
|
|
146
|
+
/**
|
|
147
|
+
* Prepend an element to the front of an `Iterable`, creating a new `NonEmptyArray`.
|
|
148
|
+
*
|
|
149
|
+
* @category concatenating
|
|
150
|
+
* @since 2.0.0
|
|
151
|
+
*/
|
|
152
|
+
const prepend = /*#__PURE__*/Function_dist_effectFunction.dual(2, (self, head) => [head, ...self]);
|
|
153
|
+
|
|
154
|
+
/**
|
|
155
|
+
* @category concatenating
|
|
156
|
+
* @since 2.0.0
|
|
157
|
+
*/
|
|
158
|
+
const prependAll = /*#__PURE__*/Function_dist_effectFunction.dual(2, (self, that) => fromIterable(that).concat(fromIterable(self)));
|
|
159
|
+
|
|
160
|
+
/**
|
|
161
|
+
* @category concatenating
|
|
162
|
+
* @since 2.0.0
|
|
163
|
+
*/
|
|
164
|
+
const prependAllNonEmpty = /*#__PURE__*/Function_dist_effectFunction.dual(2, (self, that) => prependAll(self, that));
|
|
165
|
+
|
|
166
|
+
/**
|
|
167
|
+
* Append an element to the end of an `Iterable`, creating a new `NonEmptyArray`.
|
|
168
|
+
*
|
|
169
|
+
* @category concatenating
|
|
170
|
+
* @since 2.0.0
|
|
171
|
+
*/
|
|
172
|
+
const append = /*#__PURE__*/Function_dist_effectFunction.dual(2, (self, last) => [...self, last]);
|
|
173
|
+
|
|
174
|
+
/**
|
|
175
|
+
* @category concatenating
|
|
176
|
+
* @since 2.0.0
|
|
177
|
+
*/
|
|
178
|
+
const appendAll = /*#__PURE__*/Function_dist_effectFunction.dual(2, (self, that) => fromIterable(self).concat(fromIterable(that)));
|
|
179
|
+
|
|
180
|
+
/**
|
|
181
|
+
* @category concatenating
|
|
182
|
+
* @since 2.0.0
|
|
183
|
+
*/
|
|
184
|
+
const appendAllNonEmpty = /*#__PURE__*/Function_dist_effectFunction.dual(2, (self, that) => appendAll(self, that));
|
|
185
|
+
|
|
186
|
+
/**
|
|
187
|
+
* Reduce an `Iterable` from the left, keeping all intermediate results instead of only the final result.
|
|
188
|
+
*
|
|
189
|
+
* @category folding
|
|
190
|
+
* @since 2.0.0
|
|
191
|
+
*/
|
|
192
|
+
const scan = /*#__PURE__*/Function_dist_effectFunction.dual(3, (self, b, f) => {
|
|
193
|
+
const out = [b];
|
|
194
|
+
let i = 0;
|
|
195
|
+
for (const a of self) {
|
|
196
|
+
out[i + 1] = f(out[i], a);
|
|
197
|
+
i++;
|
|
198
|
+
}
|
|
199
|
+
return out;
|
|
200
|
+
});
|
|
201
|
+
|
|
202
|
+
/**
|
|
203
|
+
* Reduce an `Iterable` from the right, keeping all intermediate results instead of only the final result.
|
|
204
|
+
*
|
|
205
|
+
* @category folding
|
|
206
|
+
* @since 2.0.0
|
|
207
|
+
*/
|
|
208
|
+
const scanRight = /*#__PURE__*/Function_dist_effectFunction.dual(3, (self, b, f) => {
|
|
209
|
+
const input = fromIterable(self);
|
|
210
|
+
const out = new Array(input.length + 1);
|
|
211
|
+
out[input.length] = b;
|
|
212
|
+
for (let i = input.length - 1; i >= 0; i--) {
|
|
213
|
+
out[i] = f(out[i + 1], input[i]);
|
|
214
|
+
}
|
|
215
|
+
return out;
|
|
216
|
+
});
|
|
217
|
+
|
|
218
|
+
/**
|
|
219
|
+
* Determine if an `Array` is empty narrowing down the type to `[]`.
|
|
220
|
+
*
|
|
221
|
+
* @param self - The `Array` to check.
|
|
222
|
+
*
|
|
223
|
+
* @example
|
|
224
|
+
* import { isEmptyArray } from "effect/ReadonlyArray"
|
|
225
|
+
*
|
|
226
|
+
* assert.deepStrictEqual(isEmptyArray([]), true);
|
|
227
|
+
* assert.deepStrictEqual(isEmptyArray([1, 2, 3]), false);
|
|
228
|
+
*
|
|
229
|
+
* @category guards
|
|
230
|
+
* @since 2.0.0
|
|
231
|
+
*/
|
|
232
|
+
const isEmptyArray = self => self.length === 0;
|
|
233
|
+
|
|
234
|
+
/**
|
|
235
|
+
* Determine if a `ReadonlyArray` is empty narrowing down the type to `readonly []`.
|
|
236
|
+
*
|
|
237
|
+
* @param self - The `ReadonlyArray` to check.
|
|
238
|
+
*
|
|
239
|
+
* @example
|
|
240
|
+
* import { isEmptyReadonlyArray } from "effect/ReadonlyArray"
|
|
241
|
+
*
|
|
242
|
+
* assert.deepStrictEqual(isEmptyReadonlyArray([]), true);
|
|
243
|
+
* assert.deepStrictEqual(isEmptyReadonlyArray([1, 2, 3]), false);
|
|
244
|
+
*
|
|
245
|
+
* @category guards
|
|
246
|
+
* @since 2.0.0
|
|
247
|
+
*/
|
|
248
|
+
const isEmptyReadonlyArray = isEmptyArray;
|
|
249
|
+
|
|
250
|
+
/**
|
|
251
|
+
* Determine if an `Array` is non empty narrowing down the type to `NonEmptyArray`.
|
|
252
|
+
*
|
|
253
|
+
* An `Array` is considered to be a `NonEmptyArray` if it contains at least one element.
|
|
254
|
+
*
|
|
255
|
+
* @param self - The `Array` to check.
|
|
256
|
+
*
|
|
257
|
+
* @example
|
|
258
|
+
* import { isNonEmptyArray } from "effect/ReadonlyArray"
|
|
259
|
+
*
|
|
260
|
+
* assert.deepStrictEqual(isNonEmptyArray([]), false);
|
|
261
|
+
* assert.deepStrictEqual(isNonEmptyArray([1, 2, 3]), true);
|
|
262
|
+
*
|
|
263
|
+
* @category guards
|
|
264
|
+
* @since 2.0.0
|
|
265
|
+
*/
|
|
266
|
+
const isNonEmptyArray = ReadonlyArray$1.isNonEmptyArray;
|
|
267
|
+
|
|
268
|
+
/**
|
|
269
|
+
* Determine if a `ReadonlyArray` is non empty narrowing down the type to `NonEmptyReadonlyArray`.
|
|
270
|
+
*
|
|
271
|
+
* A `ReadonlyArray` is considered to be a `NonEmptyReadonlyArray` if it contains at least one element.
|
|
272
|
+
*
|
|
273
|
+
* @param self - The `ReadonlyArray` to check.
|
|
274
|
+
*
|
|
275
|
+
* @example
|
|
276
|
+
* import { isNonEmptyReadonlyArray } from "effect/ReadonlyArray"
|
|
277
|
+
*
|
|
278
|
+
* assert.deepStrictEqual(isNonEmptyReadonlyArray([]), false);
|
|
279
|
+
* assert.deepStrictEqual(isNonEmptyReadonlyArray([1, 2, 3]), true);
|
|
280
|
+
*
|
|
281
|
+
* @category guards
|
|
282
|
+
* @since 2.0.0
|
|
283
|
+
*/
|
|
284
|
+
const isNonEmptyReadonlyArray = ReadonlyArray$1.isNonEmptyArray;
|
|
285
|
+
|
|
286
|
+
/**
|
|
287
|
+
* Return the number of elements in a `ReadonlyArray`.
|
|
288
|
+
*
|
|
289
|
+
* @category getters
|
|
290
|
+
* @since 2.0.0
|
|
291
|
+
*/
|
|
292
|
+
const length = self => self.length;
|
|
293
|
+
const isOutOfBound = (i, as) => i < 0 || i >= as.length;
|
|
294
|
+
const clamp = (i, as) => Math.floor(Math.min(Math.max(0, i), as.length));
|
|
295
|
+
|
|
296
|
+
/**
|
|
297
|
+
* This function provides a safe way to read a value at a particular index from a `ReadonlyArray`.
|
|
298
|
+
*
|
|
299
|
+
* @category getters
|
|
300
|
+
* @since 2.0.0
|
|
301
|
+
*/
|
|
302
|
+
const get = /*#__PURE__*/Function_dist_effectFunction.dual(2, (self, index) => {
|
|
303
|
+
const i = Math.floor(index);
|
|
304
|
+
return isOutOfBound(i, self) ? Option_dist_effectOption.none() : Option_dist_effectOption.some(self[i]);
|
|
305
|
+
});
|
|
306
|
+
|
|
307
|
+
/**
|
|
308
|
+
* Gets an element unsafely, will throw on out of bounds.
|
|
309
|
+
*
|
|
310
|
+
* @since 2.0.0
|
|
311
|
+
* @category unsafe
|
|
312
|
+
*/
|
|
313
|
+
const unsafeGet = /*#__PURE__*/Function_dist_effectFunction.dual(2, (self, index) => {
|
|
314
|
+
const i = Math.floor(index);
|
|
315
|
+
if (isOutOfBound(i, self)) {
|
|
316
|
+
throw new Error(`Index ${i} out of bounds`);
|
|
317
|
+
}
|
|
318
|
+
return self[i];
|
|
319
|
+
});
|
|
320
|
+
|
|
321
|
+
/**
|
|
322
|
+
* Return a tuple containing the first element, and a new `Array` of the remaining elements, if any.
|
|
323
|
+
*
|
|
324
|
+
* @category getters
|
|
325
|
+
* @since 2.0.0
|
|
326
|
+
*/
|
|
327
|
+
const unprepend = self => [headNonEmpty(self), tailNonEmpty(self)];
|
|
328
|
+
|
|
329
|
+
/**
|
|
330
|
+
* Return a tuple containing a copy of the `NonEmptyReadonlyArray` without its last element, and that last element.
|
|
331
|
+
*
|
|
332
|
+
* @category getters
|
|
333
|
+
* @since 2.0.0
|
|
334
|
+
*/
|
|
335
|
+
const unappend = self => [initNonEmpty(self), lastNonEmpty(self)];
|
|
336
|
+
|
|
337
|
+
/**
|
|
338
|
+
* Get the first element of a `ReadonlyArray`, or `None` if the `ReadonlyArray` is empty.
|
|
339
|
+
*
|
|
340
|
+
* @category getters
|
|
341
|
+
* @since 2.0.0
|
|
342
|
+
*/
|
|
343
|
+
const head = /*#__PURE__*/get(0);
|
|
344
|
+
|
|
345
|
+
/**
|
|
346
|
+
* @category getters
|
|
347
|
+
* @since 2.0.0
|
|
348
|
+
*/
|
|
349
|
+
const headNonEmpty = /*#__PURE__*/unsafeGet(0);
|
|
350
|
+
|
|
351
|
+
/**
|
|
352
|
+
* Get the last element in a `ReadonlyArray`, or `None` if the `ReadonlyArray` is empty.
|
|
353
|
+
*
|
|
354
|
+
* @category getters
|
|
355
|
+
* @since 2.0.0
|
|
356
|
+
*/
|
|
357
|
+
const last = self => isNonEmptyReadonlyArray(self) ? Option_dist_effectOption.some(lastNonEmpty(self)) : Option_dist_effectOption.none();
|
|
358
|
+
|
|
359
|
+
/**
|
|
360
|
+
* @category getters
|
|
361
|
+
* @since 2.0.0
|
|
362
|
+
*/
|
|
363
|
+
const lastNonEmpty = self => self[self.length - 1];
|
|
364
|
+
|
|
365
|
+
/**
|
|
366
|
+
* Get all but the first element of an `Iterable`, creating a new `Array`, or `None` if the `Iterable` is empty.
|
|
367
|
+
*
|
|
368
|
+
* @category getters
|
|
369
|
+
* @since 2.0.0
|
|
370
|
+
*/
|
|
371
|
+
const tail = self => {
|
|
372
|
+
const input = fromIterable(self);
|
|
373
|
+
return isNonEmptyReadonlyArray(input) ? Option_dist_effectOption.some(tailNonEmpty(input)) : Option_dist_effectOption.none();
|
|
374
|
+
};
|
|
375
|
+
|
|
376
|
+
/**
|
|
377
|
+
* @category getters
|
|
378
|
+
* @since 2.0.0
|
|
379
|
+
*/
|
|
380
|
+
const tailNonEmpty = self => self.slice(1);
|
|
381
|
+
|
|
382
|
+
/**
|
|
383
|
+
* Get all but the last element of an `Iterable`, creating a new `Array`, or `None` if the `Iterable` is empty.
|
|
384
|
+
*
|
|
385
|
+
* @category getters
|
|
386
|
+
* @since 2.0.0
|
|
387
|
+
*/
|
|
388
|
+
const init = self => {
|
|
389
|
+
const input = fromIterable(self);
|
|
390
|
+
return isNonEmptyReadonlyArray(input) ? Option_dist_effectOption.some(initNonEmpty(input)) : Option_dist_effectOption.none();
|
|
391
|
+
};
|
|
392
|
+
|
|
393
|
+
/**
|
|
394
|
+
* Get all but the last element of a non empty array, creating a new array.
|
|
395
|
+
*
|
|
396
|
+
* @category getters
|
|
397
|
+
* @since 2.0.0
|
|
398
|
+
*/
|
|
399
|
+
const initNonEmpty = self => self.slice(0, -1);
|
|
400
|
+
|
|
401
|
+
/**
|
|
402
|
+
* Keep only a max number of elements from the start of an `Iterable`, creating a new `Array`.
|
|
403
|
+
*
|
|
404
|
+
* **Note**. `n` is normalized to a non negative integer.
|
|
405
|
+
*
|
|
406
|
+
* @category getters
|
|
407
|
+
* @since 2.0.0
|
|
408
|
+
*/
|
|
409
|
+
const take = /*#__PURE__*/Function_dist_effectFunction.dual(2, (self, n) => {
|
|
410
|
+
const input = fromIterable(self);
|
|
411
|
+
return input.slice(0, clamp(n, input));
|
|
412
|
+
});
|
|
413
|
+
|
|
414
|
+
/**
|
|
415
|
+
* Keep only a max number of elements from the end of an `Iterable`, creating a new `Array`.
|
|
416
|
+
*
|
|
417
|
+
* **Note**. `n` is normalized to a non negative integer.
|
|
418
|
+
*
|
|
419
|
+
* @category getters
|
|
420
|
+
* @since 2.0.0
|
|
421
|
+
*/
|
|
422
|
+
const takeRight = /*#__PURE__*/Function_dist_effectFunction.dual(2, (self, n) => {
|
|
423
|
+
const input = fromIterable(self);
|
|
424
|
+
const i = clamp(n, input);
|
|
425
|
+
return i === 0 ? [] : input.slice(-i);
|
|
426
|
+
});
|
|
427
|
+
|
|
428
|
+
/**
|
|
429
|
+
* Calculate the longest initial subarray for which all element satisfy the specified predicate, creating a new `Array`.
|
|
430
|
+
*
|
|
431
|
+
* @category getters
|
|
432
|
+
* @since 2.0.0
|
|
433
|
+
*/
|
|
434
|
+
const takeWhile = /*#__PURE__*/Function_dist_effectFunction.dual(2, (self, predicate) => {
|
|
435
|
+
const out = [];
|
|
436
|
+
for (const a of self) {
|
|
437
|
+
if (!predicate(a)) {
|
|
438
|
+
break;
|
|
439
|
+
}
|
|
440
|
+
out.push(a);
|
|
441
|
+
}
|
|
442
|
+
return out;
|
|
443
|
+
});
|
|
444
|
+
const spanIndex = (self, predicate) => {
|
|
445
|
+
let i = 0;
|
|
446
|
+
for (const a of self) {
|
|
447
|
+
if (!predicate(a)) {
|
|
448
|
+
break;
|
|
449
|
+
}
|
|
450
|
+
i++;
|
|
451
|
+
}
|
|
452
|
+
return i;
|
|
453
|
+
};
|
|
454
|
+
|
|
455
|
+
/**
|
|
456
|
+
* Split an `Iterable` into two parts:
|
|
457
|
+
*
|
|
458
|
+
* 1. the longest initial subarray for which all elements satisfy the specified predicate
|
|
459
|
+
* 2. the remaining elements
|
|
460
|
+
*
|
|
461
|
+
* @category filtering
|
|
462
|
+
* @since 2.0.0
|
|
463
|
+
*/
|
|
464
|
+
const span = /*#__PURE__*/Function_dist_effectFunction.dual(2, (self, predicate) => splitAt(self, spanIndex(self, predicate)));
|
|
465
|
+
|
|
466
|
+
/**
|
|
467
|
+
* Drop a max number of elements from the start of an `Iterable`, creating a new `Array`.
|
|
468
|
+
*
|
|
469
|
+
* **Note**. `n` is normalized to a non negative integer.
|
|
470
|
+
*
|
|
471
|
+
* @category getters
|
|
472
|
+
* @since 2.0.0
|
|
473
|
+
*/
|
|
474
|
+
const drop = /*#__PURE__*/Function_dist_effectFunction.dual(2, (self, n) => {
|
|
475
|
+
const input = fromIterable(self);
|
|
476
|
+
return input.slice(clamp(n, input), input.length);
|
|
477
|
+
});
|
|
478
|
+
|
|
479
|
+
/**
|
|
480
|
+
* Drop a max number of elements from the end of an `Iterable`, creating a new `Array`.
|
|
481
|
+
*
|
|
482
|
+
* **Note**. `n` is normalized to a non negative integer.
|
|
483
|
+
*
|
|
484
|
+
* @category getters
|
|
485
|
+
* @since 2.0.0
|
|
486
|
+
*/
|
|
487
|
+
const dropRight = /*#__PURE__*/Function_dist_effectFunction.dual(2, (self, n) => {
|
|
488
|
+
const input = fromIterable(self);
|
|
489
|
+
return input.slice(0, input.length - clamp(n, input));
|
|
490
|
+
});
|
|
491
|
+
|
|
492
|
+
/**
|
|
493
|
+
* Remove the longest initial subarray for which all element satisfy the specified predicate, creating a new `Array`.
|
|
494
|
+
*
|
|
495
|
+
* @category getters
|
|
496
|
+
* @since 2.0.0
|
|
497
|
+
*/
|
|
498
|
+
const dropWhile = /*#__PURE__*/Function_dist_effectFunction.dual(2, (self, predicate) => fromIterable(self).slice(spanIndex(self, predicate)));
|
|
499
|
+
|
|
500
|
+
/**
|
|
501
|
+
* Return the first index for which a predicate holds.
|
|
502
|
+
*
|
|
503
|
+
* @category elements
|
|
504
|
+
* @since 2.0.0
|
|
505
|
+
*/
|
|
506
|
+
const findFirstIndex = /*#__PURE__*/Function_dist_effectFunction.dual(2, (self, predicate) => {
|
|
507
|
+
let i = 0;
|
|
508
|
+
for (const a of self) {
|
|
509
|
+
if (predicate(a)) {
|
|
510
|
+
return Option_dist_effectOption.some(i);
|
|
511
|
+
}
|
|
512
|
+
i++;
|
|
513
|
+
}
|
|
514
|
+
return Option_dist_effectOption.none();
|
|
515
|
+
});
|
|
516
|
+
|
|
517
|
+
/**
|
|
518
|
+
* Return the last index for which a predicate holds.
|
|
519
|
+
*
|
|
520
|
+
* @category elements
|
|
521
|
+
* @since 2.0.0
|
|
522
|
+
*/
|
|
523
|
+
const findLastIndex = /*#__PURE__*/Function_dist_effectFunction.dual(2, (self, predicate) => {
|
|
524
|
+
const input = fromIterable(self);
|
|
525
|
+
for (let i = input.length - 1; i >= 0; i--) {
|
|
526
|
+
if (predicate(input[i])) {
|
|
527
|
+
return Option_dist_effectOption.some(i);
|
|
528
|
+
}
|
|
529
|
+
}
|
|
530
|
+
return Option_dist_effectOption.none();
|
|
531
|
+
});
|
|
532
|
+
|
|
533
|
+
/**
|
|
534
|
+
* Returns the first element that satisfies the specified
|
|
535
|
+
* predicate, or `None` if no such element exists.
|
|
536
|
+
*
|
|
537
|
+
* @category elements
|
|
538
|
+
* @since 2.0.0
|
|
539
|
+
*/
|
|
540
|
+
const findFirst = /*#__PURE__*/Function_dist_effectFunction.dual(2, (self, predicate) => {
|
|
541
|
+
const input = fromIterable(self);
|
|
542
|
+
for (let i = 0; i < input.length; i++) {
|
|
543
|
+
if (predicate(input[i])) {
|
|
544
|
+
return Option_dist_effectOption.some(input[i]);
|
|
545
|
+
}
|
|
546
|
+
}
|
|
547
|
+
return Option_dist_effectOption.none();
|
|
548
|
+
});
|
|
549
|
+
|
|
550
|
+
/**
|
|
551
|
+
* Find the last element for which a predicate holds.
|
|
552
|
+
*
|
|
553
|
+
* @category elements
|
|
554
|
+
* @since 2.0.0
|
|
555
|
+
*/
|
|
556
|
+
const findLast = /*#__PURE__*/Function_dist_effectFunction.dual(2, (self, predicate) => {
|
|
557
|
+
const input = fromIterable(self);
|
|
558
|
+
for (let i = input.length - 1; i >= 0; i--) {
|
|
559
|
+
if (predicate(input[i])) {
|
|
560
|
+
return Option_dist_effectOption.some(input[i]);
|
|
561
|
+
}
|
|
562
|
+
}
|
|
563
|
+
return Option_dist_effectOption.none();
|
|
564
|
+
});
|
|
565
|
+
|
|
566
|
+
/**
|
|
567
|
+
* Insert an element at the specified index, creating a new `NonEmptyArray`,
|
|
568
|
+
* or return `None` if the index is out of bounds.
|
|
569
|
+
*
|
|
570
|
+
* @since 2.0.0
|
|
571
|
+
*/
|
|
572
|
+
const insertAt = /*#__PURE__*/Function_dist_effectFunction.dual(3, (self, i, b) => {
|
|
573
|
+
const out = Array.from(self);
|
|
574
|
+
// v--- `= self.length` is ok, it means inserting in last position
|
|
575
|
+
if (i < 0 || i > out.length) {
|
|
576
|
+
return Option_dist_effectOption.none();
|
|
577
|
+
}
|
|
578
|
+
out.splice(i, 0, b);
|
|
579
|
+
return Option_dist_effectOption.some(out);
|
|
580
|
+
});
|
|
581
|
+
|
|
582
|
+
/**
|
|
583
|
+
* Change the element at the specified index, creating a new `Array`,
|
|
584
|
+
* or return a copy of the input if the index is out of bounds.
|
|
585
|
+
*
|
|
586
|
+
* @since 2.0.0
|
|
587
|
+
*/
|
|
588
|
+
const replace = /*#__PURE__*/Function_dist_effectFunction.dual(3, (self, i, b) => modify(self, i, () => b));
|
|
589
|
+
|
|
590
|
+
/**
|
|
591
|
+
* @since 2.0.0
|
|
592
|
+
*/
|
|
593
|
+
const replaceOption = /*#__PURE__*/Function_dist_effectFunction.dual(3, (self, i, b) => modifyOption(self, i, () => b));
|
|
594
|
+
|
|
595
|
+
/**
|
|
596
|
+
* Apply a function to the element at the specified index, creating a new `Array`,
|
|
597
|
+
* or return a copy of the input if the index is out of bounds.
|
|
598
|
+
*
|
|
599
|
+
* @since 2.0.0
|
|
600
|
+
*/
|
|
601
|
+
const modify = /*#__PURE__*/Function_dist_effectFunction.dual(3, (self, i, f) => Option_dist_effectOption.getOrElse(modifyOption(self, i, f), () => Array.from(self)));
|
|
602
|
+
|
|
603
|
+
/**
|
|
604
|
+
* Apply a function to the element at the specified index, creating a new `Array`,
|
|
605
|
+
* or return `None` if the index is out of bounds.
|
|
606
|
+
*
|
|
607
|
+
* @since 2.0.0
|
|
608
|
+
*/
|
|
609
|
+
const modifyOption = /*#__PURE__*/Function_dist_effectFunction.dual(3, (self, i, f) => {
|
|
610
|
+
const out = Array.from(self);
|
|
611
|
+
if (isOutOfBound(i, out)) {
|
|
612
|
+
return Option_dist_effectOption.none();
|
|
613
|
+
}
|
|
614
|
+
const next = f(out[i]);
|
|
615
|
+
// @ts-expect-error
|
|
616
|
+
out[i] = next;
|
|
617
|
+
return Option_dist_effectOption.some(out);
|
|
618
|
+
});
|
|
619
|
+
|
|
620
|
+
/**
|
|
621
|
+
* Delete the element at the specified index, creating a new `Array`,
|
|
622
|
+
* or return a copy of the input if the index is out of bounds.
|
|
623
|
+
*
|
|
624
|
+
* @since 2.0.0
|
|
625
|
+
*/
|
|
626
|
+
const remove = /*#__PURE__*/Function_dist_effectFunction.dual(2, (self, i) => {
|
|
627
|
+
const out = Array.from(self);
|
|
628
|
+
if (isOutOfBound(i, out)) {
|
|
629
|
+
return out;
|
|
630
|
+
}
|
|
631
|
+
out.splice(i, 1);
|
|
632
|
+
return out;
|
|
633
|
+
});
|
|
634
|
+
|
|
635
|
+
/**
|
|
636
|
+
* Reverse an `Iterable`, creating a new `Array`.
|
|
637
|
+
*
|
|
638
|
+
* @category elements
|
|
639
|
+
* @since 2.0.0
|
|
640
|
+
*/
|
|
641
|
+
const reverse = self => Array.from(self).reverse();
|
|
642
|
+
|
|
643
|
+
/**
|
|
644
|
+
* @category elements
|
|
645
|
+
* @since 2.0.0
|
|
646
|
+
*/
|
|
647
|
+
const reverseNonEmpty = self => [lastNonEmpty(self), ...self.slice(0, -1).reverse()];
|
|
648
|
+
|
|
649
|
+
/**
|
|
650
|
+
* Sort the elements of an `Iterable` in increasing order, creating a new `Array`.
|
|
651
|
+
*
|
|
652
|
+
* @category sorting
|
|
653
|
+
* @since 2.0.0
|
|
654
|
+
*/
|
|
655
|
+
const sort = /*#__PURE__*/Function_dist_effectFunction.dual(2, (self, O) => {
|
|
656
|
+
const out = Array.from(self);
|
|
657
|
+
out.sort(O);
|
|
658
|
+
return out;
|
|
659
|
+
});
|
|
660
|
+
|
|
661
|
+
/**
|
|
662
|
+
* @since 2.0.0
|
|
663
|
+
* @category elements
|
|
664
|
+
*/
|
|
665
|
+
const sortWith = /*#__PURE__*/Function_dist_effectFunction.dual(3, (self, f, order) => sort(self, Order_dist_effectOrder.mapInput(order, f)));
|
|
666
|
+
|
|
667
|
+
/**
|
|
668
|
+
* Sort the elements of a `NonEmptyReadonlyArray` in increasing order, creating a new `NonEmptyArray`.
|
|
669
|
+
*
|
|
670
|
+
* @category sorting
|
|
671
|
+
* @since 2.0.0
|
|
672
|
+
*/
|
|
673
|
+
const sortNonEmpty = /*#__PURE__*/Function_dist_effectFunction.dual(2, (self, O) => sort(O)(self));
|
|
674
|
+
|
|
675
|
+
/**
|
|
676
|
+
* Sort the elements of an `Iterable` in increasing order, where elements are compared
|
|
677
|
+
* using first `orders[0]`, then `orders[1]`, etc...
|
|
678
|
+
*
|
|
679
|
+
* @category sorting
|
|
680
|
+
* @since 2.0.0
|
|
681
|
+
*/
|
|
682
|
+
const sortBy = (...orders) => self => {
|
|
683
|
+
const input = fromIterable(self);
|
|
684
|
+
return isNonEmptyReadonlyArray(input) ? sortByNonEmpty(...orders)(input) : [];
|
|
685
|
+
};
|
|
686
|
+
|
|
687
|
+
/**
|
|
688
|
+
* @category sorting
|
|
689
|
+
* @since 2.0.0
|
|
690
|
+
*/
|
|
691
|
+
const sortByNonEmpty = (...orders) => sortNonEmpty(Order_dist_effectOrder.combineAll(orders));
|
|
692
|
+
|
|
693
|
+
/**
|
|
694
|
+
* Takes two `Iterable`s and returns an `Array` of corresponding pairs.
|
|
695
|
+
* If one input `Iterable` is short, excess elements of the
|
|
696
|
+
* longer `Iterable` are discarded.
|
|
697
|
+
*
|
|
698
|
+
* @since 2.0.0
|
|
699
|
+
*/
|
|
700
|
+
const zip = /*#__PURE__*/Function_dist_effectFunction.dual(2, (self, that) => zipWith(self, that, (a, b) => [a, b]));
|
|
701
|
+
|
|
702
|
+
/**
|
|
703
|
+
* Apply a function to pairs of elements at the same index in two `Iterable`s, collecting the results in a new `Array`. If one
|
|
704
|
+
* input `Iterable` is short, excess elements of the longer `Iterable` are discarded.
|
|
705
|
+
*
|
|
706
|
+
* @since 2.0.0
|
|
707
|
+
*/
|
|
708
|
+
const zipWith = /*#__PURE__*/Function_dist_effectFunction.dual(3, (self, that, f) => {
|
|
709
|
+
const as = fromIterable(self);
|
|
710
|
+
const bs = fromIterable(that);
|
|
711
|
+
return isNonEmptyReadonlyArray(as) && isNonEmptyReadonlyArray(bs) ? zipNonEmptyWith(bs, f)(as) : [];
|
|
712
|
+
});
|
|
713
|
+
|
|
714
|
+
/**
|
|
715
|
+
* @since 2.0.0
|
|
716
|
+
*/
|
|
717
|
+
const zipNonEmpty = /*#__PURE__*/Function_dist_effectFunction.dual(2, (self, that) => zipNonEmptyWith(self, that, (a, b) => [a, b]));
|
|
718
|
+
|
|
719
|
+
/**
|
|
720
|
+
* @since 2.0.0
|
|
721
|
+
*/
|
|
722
|
+
const zipNonEmptyWith = /*#__PURE__*/Function_dist_effectFunction.dual(3, (self, that, f) => {
|
|
723
|
+
const cs = [f(headNonEmpty(self), headNonEmpty(that))];
|
|
724
|
+
const len = Math.min(self.length, that.length);
|
|
725
|
+
for (let i = 1; i < len; i++) {
|
|
726
|
+
cs[i] = f(self[i], that[i]);
|
|
727
|
+
}
|
|
728
|
+
return cs;
|
|
729
|
+
});
|
|
730
|
+
|
|
731
|
+
/**
|
|
732
|
+
* This function is the inverse of `zip`. Takes an `Iterable` of pairs and return two corresponding `Array`s.
|
|
733
|
+
*
|
|
734
|
+
* @since 2.0.0
|
|
735
|
+
*/
|
|
736
|
+
const unzip = self => {
|
|
737
|
+
const input = fromIterable(self);
|
|
738
|
+
return isNonEmptyReadonlyArray(input) ? unzipNonEmpty(input) : [[], []];
|
|
739
|
+
};
|
|
740
|
+
|
|
741
|
+
/**
|
|
742
|
+
* @since 2.0.0
|
|
743
|
+
*/
|
|
744
|
+
const unzipNonEmpty = self => {
|
|
745
|
+
const fa = [self[0][0]];
|
|
746
|
+
const fb = [self[0][1]];
|
|
747
|
+
for (let i = 1; i < self.length; i++) {
|
|
748
|
+
fa[i] = self[i][0];
|
|
749
|
+
fb[i] = self[i][1];
|
|
750
|
+
}
|
|
751
|
+
return [fa, fb];
|
|
752
|
+
};
|
|
753
|
+
|
|
754
|
+
/**
|
|
755
|
+
* Places an element in between members of an `Iterable`
|
|
756
|
+
*
|
|
757
|
+
* @since 2.0.0
|
|
758
|
+
*/
|
|
759
|
+
const intersperse = /*#__PURE__*/Function_dist_effectFunction.dual(2, (self, middle) => {
|
|
760
|
+
const input = fromIterable(self);
|
|
761
|
+
return isNonEmptyReadonlyArray(input) ? intersperseNonEmpty(input, middle) : [];
|
|
762
|
+
});
|
|
763
|
+
|
|
764
|
+
/**
|
|
765
|
+
* Places an element in between members of a `NonEmptyReadonlyArray`
|
|
766
|
+
*
|
|
767
|
+
* @since 2.0.0
|
|
768
|
+
*/
|
|
769
|
+
const intersperseNonEmpty = /*#__PURE__*/Function_dist_effectFunction.dual(2, (self, middle) => {
|
|
770
|
+
const out = [headNonEmpty(self)];
|
|
771
|
+
const tail = tailNonEmpty(self);
|
|
772
|
+
for (let i = 0; i < tail.length; i++) {
|
|
773
|
+
if (i < tail.length) {
|
|
774
|
+
out.push(middle);
|
|
775
|
+
}
|
|
776
|
+
out.push(tail[i]);
|
|
777
|
+
}
|
|
778
|
+
return out;
|
|
779
|
+
});
|
|
780
|
+
|
|
781
|
+
/**
|
|
782
|
+
* Apply a function to the head, creating a new `NonEmptyReadonlyArray`.
|
|
783
|
+
*
|
|
784
|
+
* @since 2.0.0
|
|
785
|
+
*/
|
|
786
|
+
const modifyNonEmptyHead = /*#__PURE__*/Function_dist_effectFunction.dual(2, (self, f) => [f(headNonEmpty(self)), ...tailNonEmpty(self)]);
|
|
787
|
+
|
|
788
|
+
/**
|
|
789
|
+
* Change the head, creating a new `NonEmptyReadonlyArray`.
|
|
790
|
+
*
|
|
791
|
+
* @since 2.0.0
|
|
792
|
+
*/
|
|
793
|
+
const setNonEmptyHead = /*#__PURE__*/Function_dist_effectFunction.dual(2, (self, b) => modifyNonEmptyHead(self, () => b));
|
|
794
|
+
|
|
795
|
+
/**
|
|
796
|
+
* Apply a function to the last element, creating a new `NonEmptyReadonlyArray`.
|
|
797
|
+
*
|
|
798
|
+
* @since 2.0.0
|
|
799
|
+
*/
|
|
800
|
+
const modifyNonEmptyLast = /*#__PURE__*/Function_dist_effectFunction.dual(2, (self, f) => append(initNonEmpty(self), f(lastNonEmpty(self))));
|
|
801
|
+
|
|
802
|
+
/**
|
|
803
|
+
* Change the last element, creating a new `NonEmptyReadonlyArray`.
|
|
804
|
+
*
|
|
805
|
+
* @since 2.0.0
|
|
806
|
+
*/
|
|
807
|
+
const setNonEmptyLast = /*#__PURE__*/Function_dist_effectFunction.dual(2, (self, b) => modifyNonEmptyLast(self, () => b));
|
|
808
|
+
|
|
809
|
+
/**
|
|
810
|
+
* Rotate an `Iterable` by `n` steps.
|
|
811
|
+
*
|
|
812
|
+
* @since 2.0.0
|
|
813
|
+
*/
|
|
814
|
+
const rotate = /*#__PURE__*/Function_dist_effectFunction.dual(2, (self, n) => {
|
|
815
|
+
const input = fromIterable(self);
|
|
816
|
+
return isNonEmptyReadonlyArray(input) ? rotateNonEmpty(input, n) : [];
|
|
817
|
+
});
|
|
818
|
+
|
|
819
|
+
/**
|
|
820
|
+
* Rotate a `NonEmptyReadonlyArray` by `n` steps.
|
|
821
|
+
*
|
|
822
|
+
* @since 2.0.0
|
|
823
|
+
*/
|
|
824
|
+
const rotateNonEmpty = /*#__PURE__*/Function_dist_effectFunction.dual(2, (self, n) => {
|
|
825
|
+
const len = self.length;
|
|
826
|
+
const m = Math.round(n) % len;
|
|
827
|
+
if (isOutOfBound(Math.abs(m), self) || m === 0) {
|
|
828
|
+
return copy(self);
|
|
829
|
+
}
|
|
830
|
+
if (m < 0) {
|
|
831
|
+
const [f, s] = splitNonEmptyAt(self, -m);
|
|
832
|
+
return appendAllNonEmpty(s, f);
|
|
833
|
+
} else {
|
|
834
|
+
return rotateNonEmpty(self, m - len);
|
|
835
|
+
}
|
|
836
|
+
});
|
|
837
|
+
|
|
838
|
+
/**
|
|
839
|
+
* Returns a function that checks if a `ReadonlyArray` contains a given value using a provided `isEquivalent` function.
|
|
840
|
+
*
|
|
841
|
+
* @category elements
|
|
842
|
+
* @since 2.0.0
|
|
843
|
+
*/
|
|
844
|
+
const containsWith = isEquivalent => Function_dist_effectFunction.dual(2, (self, a) => {
|
|
845
|
+
for (const i of self) {
|
|
846
|
+
if (isEquivalent(a, i)) {
|
|
847
|
+
return true;
|
|
848
|
+
}
|
|
849
|
+
}
|
|
850
|
+
return false;
|
|
851
|
+
});
|
|
852
|
+
const _equivalence = /*#__PURE__*/Equal_dist_effectEqual.equivalence();
|
|
853
|
+
|
|
854
|
+
/**
|
|
855
|
+
* Returns a function that checks if a `ReadonlyArray` contains a given value using the default `Equivalence`.
|
|
856
|
+
*
|
|
857
|
+
* @category elements
|
|
858
|
+
* @since 2.0.0
|
|
859
|
+
*/
|
|
860
|
+
const contains = /*#__PURE__*/containsWith(_equivalence);
|
|
861
|
+
|
|
862
|
+
/**
|
|
863
|
+
* Remove duplicates from a `NonEmptyReadonlyArray`, keeping the first occurrence of an element using the provided `isEquivalent` function.
|
|
864
|
+
*
|
|
865
|
+
* @since 2.0.0
|
|
866
|
+
*/
|
|
867
|
+
const dedupeNonEmptyWith = /*#__PURE__*/Function_dist_effectFunction.dual(2, (self, isEquivalent) => {
|
|
868
|
+
const out = [headNonEmpty(self)];
|
|
869
|
+
const rest = tailNonEmpty(self);
|
|
870
|
+
for (const a of rest) {
|
|
871
|
+
if (out.every(o => !isEquivalent(a, o))) {
|
|
872
|
+
out.push(a);
|
|
873
|
+
}
|
|
874
|
+
}
|
|
875
|
+
return out;
|
|
876
|
+
});
|
|
877
|
+
|
|
878
|
+
/**
|
|
879
|
+
* Remove duplicates from a `NonEmptyReadonlyArray`, keeping the first occurrence of an element.
|
|
880
|
+
*
|
|
881
|
+
* @since 2.0.0
|
|
882
|
+
*/
|
|
883
|
+
const dedupeNonEmpty = /*#__PURE__*/dedupeNonEmptyWith( /*#__PURE__*/Equal_dist_effectEqual.equivalence());
|
|
884
|
+
|
|
885
|
+
/**
|
|
886
|
+
* A useful recursion pattern for processing an `Iterable` to produce a new `Array`, often used for "chopping" up the input
|
|
887
|
+
* `Iterable`. Typically chop is called with some function that will consume an initial prefix of the `Iterable` and produce a
|
|
888
|
+
* value and the rest of the `Array`.
|
|
889
|
+
*
|
|
890
|
+
* @since 2.0.0
|
|
891
|
+
*/
|
|
892
|
+
const chop = /*#__PURE__*/Function_dist_effectFunction.dual(2, (self, f) => {
|
|
893
|
+
const input = fromIterable(self);
|
|
894
|
+
return isNonEmptyReadonlyArray(input) ? chopNonEmpty(input, f) : [];
|
|
895
|
+
});
|
|
896
|
+
|
|
897
|
+
/**
|
|
898
|
+
* A useful recursion pattern for processing a `NonEmptyReadonlyArray` to produce a new `NonEmptyReadonlyArray`, often used for "chopping" up the input
|
|
899
|
+
* `NonEmptyReadonlyArray`. Typically `chop` is called with some function that will consume an initial prefix of the `NonEmptyReadonlyArray` and produce a
|
|
900
|
+
* value and the tail of the `NonEmptyReadonlyArray`.
|
|
901
|
+
*
|
|
902
|
+
* @since 2.0.0
|
|
903
|
+
*/
|
|
904
|
+
const chopNonEmpty = /*#__PURE__*/Function_dist_effectFunction.dual(2, (self, f) => {
|
|
905
|
+
const [b, rest] = f(self);
|
|
906
|
+
const out = [b];
|
|
907
|
+
let next = rest;
|
|
908
|
+
while (ReadonlyArray$1.isNonEmptyArray(next)) {
|
|
909
|
+
const [b, rest] = f(next);
|
|
910
|
+
out.push(b);
|
|
911
|
+
next = rest;
|
|
912
|
+
}
|
|
913
|
+
return out;
|
|
914
|
+
});
|
|
915
|
+
|
|
916
|
+
/**
|
|
917
|
+
* Splits an `Iterable` into two pieces, the first piece has max `n` elements.
|
|
918
|
+
*
|
|
919
|
+
* @category getters
|
|
920
|
+
* @since 2.0.0
|
|
921
|
+
*/
|
|
922
|
+
const splitAt = /*#__PURE__*/Function_dist_effectFunction.dual(2, (self, n) => {
|
|
923
|
+
const input = Array.from(self);
|
|
924
|
+
return n >= 1 && isNonEmptyReadonlyArray(input) ? splitNonEmptyAt(input, n) : isEmptyReadonlyArray(input) ? [input, []] : [[], input];
|
|
925
|
+
});
|
|
926
|
+
|
|
927
|
+
/**
|
|
928
|
+
* @since 2.0.0
|
|
929
|
+
*/
|
|
930
|
+
const copy = self => self.slice();
|
|
931
|
+
|
|
932
|
+
/**
|
|
933
|
+
* Splits a `NonEmptyReadonlyArray` into two pieces, the first piece has max `n` elements.
|
|
934
|
+
*
|
|
935
|
+
* @category getters
|
|
936
|
+
* @since 2.0.0
|
|
937
|
+
*/
|
|
938
|
+
const splitNonEmptyAt = /*#__PURE__*/Function_dist_effectFunction.dual(2, (self, n) => {
|
|
939
|
+
const m = Math.max(1, n);
|
|
940
|
+
return m >= self.length ? [copy(self), []] : [prepend(self.slice(1, m), headNonEmpty(self)), self.slice(m)];
|
|
941
|
+
});
|
|
942
|
+
|
|
943
|
+
/**
|
|
944
|
+
* Splits an `Iterable` into length-`n` pieces. The last piece will be shorter if `n` does not evenly divide the length of
|
|
945
|
+
* the `Iterable`. Note that `chunksOf(n)([])` is `[]`, not `[[]]`. This is intentional, and is consistent with a recursive
|
|
946
|
+
* definition of `chunksOf`; it satisfies the property that
|
|
947
|
+
*
|
|
948
|
+
* ```ts
|
|
949
|
+
* chunksOf(n)(xs).concat(chunksOf(n)(ys)) == chunksOf(n)(xs.concat(ys)))
|
|
950
|
+
* ```
|
|
951
|
+
*
|
|
952
|
+
* whenever `n` evenly divides the length of `self`.
|
|
953
|
+
*
|
|
954
|
+
* @category getters
|
|
955
|
+
* @since 2.0.0
|
|
956
|
+
*/
|
|
957
|
+
const chunksOf = /*#__PURE__*/Function_dist_effectFunction.dual(2, (self, n) => {
|
|
958
|
+
const input = fromIterable(self);
|
|
959
|
+
return isNonEmptyReadonlyArray(input) ? chunksOfNonEmpty(input, n) : [];
|
|
960
|
+
});
|
|
961
|
+
|
|
962
|
+
/**
|
|
963
|
+
* Splits a `NonEmptyReadonlyArray` into length-`n` pieces. The last piece will be shorter if `n` does not evenly divide the length of
|
|
964
|
+
* the `NonEmptyReadonlyArray`.
|
|
965
|
+
*
|
|
966
|
+
* @category getters
|
|
967
|
+
* @since 2.0.0
|
|
968
|
+
*/
|
|
969
|
+
const chunksOfNonEmpty = /*#__PURE__*/Function_dist_effectFunction.dual(2, (self, n) => chopNonEmpty(self, splitNonEmptyAt(n)));
|
|
970
|
+
|
|
971
|
+
/**
|
|
972
|
+
* Group equal, consecutive elements of a `NonEmptyReadonlyArray` into `NonEmptyArray`s using the provided `isEquivalent` function.
|
|
973
|
+
*
|
|
974
|
+
* @category grouping
|
|
975
|
+
* @since 2.0.0
|
|
976
|
+
*/
|
|
977
|
+
const groupWith = /*#__PURE__*/Function_dist_effectFunction.dual(2, (self, isEquivalent) => chopNonEmpty(self, as => {
|
|
978
|
+
const h = headNonEmpty(as);
|
|
979
|
+
const out = [h];
|
|
980
|
+
let i = 1;
|
|
981
|
+
for (; i < as.length; i++) {
|
|
982
|
+
const a = as[i];
|
|
983
|
+
if (isEquivalent(a, h)) {
|
|
984
|
+
out.push(a);
|
|
985
|
+
} else {
|
|
986
|
+
break;
|
|
987
|
+
}
|
|
988
|
+
}
|
|
989
|
+
return [out, as.slice(i)];
|
|
990
|
+
}));
|
|
991
|
+
|
|
992
|
+
/**
|
|
993
|
+
* Group equal, consecutive elements of a `NonEmptyReadonlyArray` into `NonEmptyArray`s.
|
|
994
|
+
*
|
|
995
|
+
* @category grouping
|
|
996
|
+
* @since 2.0.0
|
|
997
|
+
*/
|
|
998
|
+
const group = /*#__PURE__*/groupWith( /*#__PURE__*/Equal_dist_effectEqual.equivalence());
|
|
999
|
+
|
|
1000
|
+
/**
|
|
1001
|
+
* Splits an `Iterable` into sub-non-empty-arrays stored in an object, based on the result of calling a `string`-returning
|
|
1002
|
+
* function on each element, and grouping the results according to values returned
|
|
1003
|
+
*
|
|
1004
|
+
* @category grouping
|
|
1005
|
+
* @since 2.0.0
|
|
1006
|
+
*/
|
|
1007
|
+
const groupBy = /*#__PURE__*/Function_dist_effectFunction.dual(2, (self, f) => {
|
|
1008
|
+
const out = {};
|
|
1009
|
+
for (const a of self) {
|
|
1010
|
+
const k = f(a);
|
|
1011
|
+
if (Object.prototype.hasOwnProperty.call(out, k)) {
|
|
1012
|
+
out[k].push(a);
|
|
1013
|
+
} else {
|
|
1014
|
+
out[k] = [a];
|
|
1015
|
+
}
|
|
1016
|
+
}
|
|
1017
|
+
return out;
|
|
1018
|
+
});
|
|
1019
|
+
|
|
1020
|
+
/**
|
|
1021
|
+
* @since 2.0.0
|
|
1022
|
+
*/
|
|
1023
|
+
const unionWith = isEquivalent => Function_dist_effectFunction.dual(2, (self, that) => {
|
|
1024
|
+
const a = fromIterable(self);
|
|
1025
|
+
const b = fromIterable(that);
|
|
1026
|
+
return isNonEmptyReadonlyArray(a) && isNonEmptyReadonlyArray(b) ? unionNonEmptyWith(isEquivalent)(a, b) : isNonEmptyReadonlyArray(a) ? a : b;
|
|
1027
|
+
});
|
|
1028
|
+
|
|
1029
|
+
/**
|
|
1030
|
+
* @since 2.0.0
|
|
1031
|
+
*/
|
|
1032
|
+
const union = /*#__PURE__*/unionWith(_equivalence);
|
|
1033
|
+
|
|
1034
|
+
/**
|
|
1035
|
+
* @since 2.0.0
|
|
1036
|
+
*/
|
|
1037
|
+
const unionNonEmptyWith = isEquivalent => {
|
|
1038
|
+
const dedupe = dedupeNonEmptyWith(isEquivalent);
|
|
1039
|
+
return Function_dist_effectFunction.dual(2, (self, that) => dedupe(appendAllNonEmpty(self, that)));
|
|
1040
|
+
};
|
|
1041
|
+
|
|
1042
|
+
/**
|
|
1043
|
+
* @since 2.0.0
|
|
1044
|
+
*/
|
|
1045
|
+
const unionNonEmpty = /*#__PURE__*/unionNonEmptyWith(_equivalence);
|
|
1046
|
+
|
|
1047
|
+
/**
|
|
1048
|
+
* Creates an `Array` of unique values that are included in all given `Iterable`s using the provided `isEquivalent` function.
|
|
1049
|
+
* The order and references of result values are determined by the first `Iterable`.
|
|
1050
|
+
*
|
|
1051
|
+
* @since 2.0.0
|
|
1052
|
+
*/
|
|
1053
|
+
const intersectionWith = isEquivalent => {
|
|
1054
|
+
const has = containsWith(isEquivalent);
|
|
1055
|
+
return Function_dist_effectFunction.dual(2, (self, that) => fromIterable(self).filter(a => has(that, a)));
|
|
1056
|
+
};
|
|
1057
|
+
|
|
1058
|
+
/**
|
|
1059
|
+
* Creates an `Array` of unique values that are included in all given `Iterable`s.
|
|
1060
|
+
* The order and references of result values are determined by the first `Iterable`.
|
|
1061
|
+
*
|
|
1062
|
+
* @since 2.0.0
|
|
1063
|
+
*/
|
|
1064
|
+
const intersection = /*#__PURE__*/intersectionWith(_equivalence);
|
|
1065
|
+
|
|
1066
|
+
/**
|
|
1067
|
+
* Creates a `Array` of values not included in the other given `Iterable` using the provided `isEquivalent` function.
|
|
1068
|
+
* The order and references of result values are determined by the first `Iterable`.
|
|
1069
|
+
*
|
|
1070
|
+
* @since 2.0.0
|
|
1071
|
+
*/
|
|
1072
|
+
const differenceWith = isEquivalent => {
|
|
1073
|
+
const has = containsWith(isEquivalent);
|
|
1074
|
+
return Function_dist_effectFunction.dual(2, (self, that) => fromIterable(self).filter(a => !has(that, a)));
|
|
1075
|
+
};
|
|
1076
|
+
|
|
1077
|
+
/**
|
|
1078
|
+
* Creates a `Array` of values not included in the other given `Iterable` using the provided `isEquivalent` function.
|
|
1079
|
+
* The order and references of result values are determined by the first `Iterable`.
|
|
1080
|
+
*
|
|
1081
|
+
* @since 2.0.0
|
|
1082
|
+
*/
|
|
1083
|
+
const difference = /*#__PURE__*/differenceWith(_equivalence);
|
|
1084
|
+
|
|
1085
|
+
/**
|
|
1086
|
+
* @category constructors
|
|
1087
|
+
* @since 2.0.0
|
|
1088
|
+
*/
|
|
1089
|
+
const empty = () => [];
|
|
1090
|
+
|
|
1091
|
+
/**
|
|
1092
|
+
* Constructs a new `NonEmptyArray<A>` from the specified value.
|
|
1093
|
+
*
|
|
1094
|
+
* @category constructors
|
|
1095
|
+
* @since 2.0.0
|
|
1096
|
+
*/
|
|
1097
|
+
const of = a => [a];
|
|
1098
|
+
|
|
1099
|
+
/**
|
|
1100
|
+
* @category mapping
|
|
1101
|
+
* @since 2.0.0
|
|
1102
|
+
*/
|
|
1103
|
+
const map = /*#__PURE__*/Function_dist_effectFunction.dual(2, (self, f) => self.map(f));
|
|
1104
|
+
|
|
1105
|
+
/**
|
|
1106
|
+
* @category mapping
|
|
1107
|
+
* @since 2.0.0
|
|
1108
|
+
*/
|
|
1109
|
+
const mapNonEmpty = map;
|
|
1110
|
+
|
|
1111
|
+
/**
|
|
1112
|
+
* @category sequencing
|
|
1113
|
+
* @since 2.0.0
|
|
1114
|
+
*/
|
|
1115
|
+
const flatMap = /*#__PURE__*/Function_dist_effectFunction.dual(2, (self, f) => {
|
|
1116
|
+
if (isEmptyReadonlyArray(self)) {
|
|
1117
|
+
return [];
|
|
1118
|
+
}
|
|
1119
|
+
const out = [];
|
|
1120
|
+
for (let i = 0; i < self.length; i++) {
|
|
1121
|
+
out.push(...f(self[i], i));
|
|
1122
|
+
}
|
|
1123
|
+
return out;
|
|
1124
|
+
});
|
|
1125
|
+
|
|
1126
|
+
/**
|
|
1127
|
+
* @category sequencing
|
|
1128
|
+
* @since 2.0.0
|
|
1129
|
+
*/
|
|
1130
|
+
const flatMapNonEmpty = flatMap;
|
|
1131
|
+
|
|
1132
|
+
/**
|
|
1133
|
+
* @category sequencing
|
|
1134
|
+
* @since 2.0.0
|
|
1135
|
+
*/
|
|
1136
|
+
const flatten = /*#__PURE__*/flatMap(Function_dist_effectFunction.identity);
|
|
1137
|
+
|
|
1138
|
+
/**
|
|
1139
|
+
* @category sequencing
|
|
1140
|
+
* @since 2.0.0
|
|
1141
|
+
*/
|
|
1142
|
+
const flattenNonEmpty = /*#__PURE__*/flatMapNonEmpty(Function_dist_effectFunction.identity);
|
|
1143
|
+
|
|
1144
|
+
/**
|
|
1145
|
+
* @category filtering
|
|
1146
|
+
* @since 2.0.0
|
|
1147
|
+
*/
|
|
1148
|
+
const filterMap = /*#__PURE__*/Function_dist_effectFunction.dual(2, (self, f) => {
|
|
1149
|
+
const as = fromIterable(self);
|
|
1150
|
+
const out = [];
|
|
1151
|
+
for (let i = 0; i < as.length; i++) {
|
|
1152
|
+
const o = f(as[i], i);
|
|
1153
|
+
if (Option_dist_effectOption.isSome(o)) {
|
|
1154
|
+
out.push(o.value);
|
|
1155
|
+
}
|
|
1156
|
+
}
|
|
1157
|
+
return out;
|
|
1158
|
+
});
|
|
1159
|
+
|
|
1160
|
+
/**
|
|
1161
|
+
* Transforms all elements of the `readonlyArray` for as long as the specified function returns some value
|
|
1162
|
+
*
|
|
1163
|
+
* @category filtering
|
|
1164
|
+
* @since 2.0.0
|
|
1165
|
+
*/
|
|
1166
|
+
const filterMapWhile = /*#__PURE__*/Function_dist_effectFunction.dual(2, (self, f) => {
|
|
1167
|
+
const out = [];
|
|
1168
|
+
for (const a of self) {
|
|
1169
|
+
const b = f(a);
|
|
1170
|
+
if (Option_dist_effectOption.isSome(b)) {
|
|
1171
|
+
out.push(b.value);
|
|
1172
|
+
} else {
|
|
1173
|
+
break;
|
|
1174
|
+
}
|
|
1175
|
+
}
|
|
1176
|
+
return out;
|
|
1177
|
+
});
|
|
1178
|
+
|
|
1179
|
+
/**
|
|
1180
|
+
* @category filtering
|
|
1181
|
+
* @since 2.0.0
|
|
1182
|
+
*/
|
|
1183
|
+
const partitionMap = /*#__PURE__*/Function_dist_effectFunction.dual(2, (self, f) => {
|
|
1184
|
+
const left = [];
|
|
1185
|
+
const right = [];
|
|
1186
|
+
const as = fromIterable(self);
|
|
1187
|
+
for (let i = 0; i < as.length; i++) {
|
|
1188
|
+
const e = f(as[i], i);
|
|
1189
|
+
if (Either_dist_effectEither.isLeft(e)) {
|
|
1190
|
+
left.push(e.left);
|
|
1191
|
+
} else {
|
|
1192
|
+
right.push(e.right);
|
|
1193
|
+
}
|
|
1194
|
+
}
|
|
1195
|
+
return [left, right];
|
|
1196
|
+
});
|
|
1197
|
+
|
|
1198
|
+
/**
|
|
1199
|
+
* @category filtering
|
|
1200
|
+
* @since 2.0.0
|
|
1201
|
+
*/
|
|
1202
|
+
const compact = /*#__PURE__*/filterMap(Function_dist_effectFunction.identity);
|
|
1203
|
+
|
|
1204
|
+
/**
|
|
1205
|
+
* @category filtering
|
|
1206
|
+
* @since 2.0.0
|
|
1207
|
+
*/
|
|
1208
|
+
const filter = /*#__PURE__*/Function_dist_effectFunction.dual(2, (self, predicate) => {
|
|
1209
|
+
const as = fromIterable(self);
|
|
1210
|
+
const out = [];
|
|
1211
|
+
for (let i = 0; i < as.length; i++) {
|
|
1212
|
+
if (predicate(as[i], i)) {
|
|
1213
|
+
out.push(as[i]);
|
|
1214
|
+
}
|
|
1215
|
+
}
|
|
1216
|
+
return out;
|
|
1217
|
+
});
|
|
1218
|
+
|
|
1219
|
+
/**
|
|
1220
|
+
* @category filtering
|
|
1221
|
+
* @since 2.0.0
|
|
1222
|
+
*/
|
|
1223
|
+
const partition = /*#__PURE__*/Function_dist_effectFunction.dual(2, (self, predicate) => {
|
|
1224
|
+
const left = [];
|
|
1225
|
+
const right = [];
|
|
1226
|
+
const as = fromIterable(self);
|
|
1227
|
+
for (let i = 0; i < as.length; i++) {
|
|
1228
|
+
if (predicate(as[i], i)) {
|
|
1229
|
+
right.push(as[i]);
|
|
1230
|
+
} else {
|
|
1231
|
+
left.push(as[i]);
|
|
1232
|
+
}
|
|
1233
|
+
}
|
|
1234
|
+
return [left, right];
|
|
1235
|
+
});
|
|
1236
|
+
|
|
1237
|
+
/**
|
|
1238
|
+
* @category filtering
|
|
1239
|
+
* @since 2.0.0
|
|
1240
|
+
*/
|
|
1241
|
+
const separate = /*#__PURE__*/partitionMap(Function_dist_effectFunction.identity);
|
|
1242
|
+
|
|
1243
|
+
/**
|
|
1244
|
+
* @category folding
|
|
1245
|
+
* @since 2.0.0
|
|
1246
|
+
*/
|
|
1247
|
+
const reduce = /*#__PURE__*/Function_dist_effectFunction.dual(3, (self, b, f) => fromIterable(self).reduce((b, a, i) => f(b, a, i), b));
|
|
1248
|
+
|
|
1249
|
+
/**
|
|
1250
|
+
* @category folding
|
|
1251
|
+
* @since 2.0.0
|
|
1252
|
+
*/
|
|
1253
|
+
const reduceRight = /*#__PURE__*/Function_dist_effectFunction.dual(3, (self, b, f) => fromIterable(self).reduceRight((b, a, i) => f(b, a, i), b));
|
|
1254
|
+
|
|
1255
|
+
/**
|
|
1256
|
+
* @category lifting
|
|
1257
|
+
* @since 2.0.0
|
|
1258
|
+
*/
|
|
1259
|
+
const liftPredicate = predicate => b => predicate(b) ? [b] : [];
|
|
1260
|
+
|
|
1261
|
+
/**
|
|
1262
|
+
* @category lifting
|
|
1263
|
+
* @since 2.0.0
|
|
1264
|
+
*/
|
|
1265
|
+
const liftOption = f => (...a) => fromOption(f(...a));
|
|
1266
|
+
|
|
1267
|
+
/**
|
|
1268
|
+
* @category conversions
|
|
1269
|
+
* @since 2.0.0
|
|
1270
|
+
*/
|
|
1271
|
+
const fromNullable = a => a == null ? empty() : [a];
|
|
1272
|
+
|
|
1273
|
+
/**
|
|
1274
|
+
* @category lifting
|
|
1275
|
+
* @since 2.0.0
|
|
1276
|
+
*/
|
|
1277
|
+
const liftNullable = f => (...a) => fromNullable(f(...a));
|
|
1278
|
+
|
|
1279
|
+
/**
|
|
1280
|
+
* @category combining
|
|
1281
|
+
* @since 2.0.0
|
|
1282
|
+
*/
|
|
1283
|
+
const flatMapNullable = /*#__PURE__*/Function_dist_effectFunction.dual(2, (self, f) => isNonEmptyReadonlyArray(self) ? fromNullable(f(headNonEmpty(self))) : empty());
|
|
1284
|
+
|
|
1285
|
+
/**
|
|
1286
|
+
* @category lifting
|
|
1287
|
+
* @since 2.0.0
|
|
1288
|
+
*/
|
|
1289
|
+
const liftEither = f => (...a) => {
|
|
1290
|
+
const e = f(...a);
|
|
1291
|
+
return Either_dist_effectEither.isLeft(e) ? [] : [e.right];
|
|
1292
|
+
};
|
|
1293
|
+
|
|
1294
|
+
/**
|
|
1295
|
+
* Check if a predicate holds true for every `ReadonlyArray` element.
|
|
1296
|
+
*
|
|
1297
|
+
* @category elements
|
|
1298
|
+
* @since 2.0.0
|
|
1299
|
+
*/
|
|
1300
|
+
const every = /*#__PURE__*/Function_dist_effectFunction.dual(2, (self, refinement) => self.every(refinement));
|
|
1301
|
+
|
|
1302
|
+
/**
|
|
1303
|
+
* Check if a predicate holds true for some `ReadonlyArray` element.
|
|
1304
|
+
*
|
|
1305
|
+
* @category elements
|
|
1306
|
+
* @since 2.0.0
|
|
1307
|
+
*/
|
|
1308
|
+
const some = /*#__PURE__*/Function_dist_effectFunction.dual(2, (self, predicate) => self.some(predicate));
|
|
1309
|
+
|
|
1310
|
+
/**
|
|
1311
|
+
* @since 2.0.0
|
|
1312
|
+
*/
|
|
1313
|
+
const extend = /*#__PURE__*/Function_dist_effectFunction.dual(2, (self, f) => self.map((_, i, as) => f(as.slice(i))));
|
|
1314
|
+
|
|
1315
|
+
/**
|
|
1316
|
+
* @since 2.0.0
|
|
1317
|
+
*/
|
|
1318
|
+
const min = /*#__PURE__*/Function_dist_effectFunction.dual(2, (self, O) => self.reduce(Order_dist_effectOrder.min(O)));
|
|
1319
|
+
|
|
1320
|
+
/**
|
|
1321
|
+
* @since 2.0.0
|
|
1322
|
+
*/
|
|
1323
|
+
const max = /*#__PURE__*/Function_dist_effectFunction.dual(2, (self, O) => self.reduce(Order_dist_effectOrder.max(O)));
|
|
1324
|
+
|
|
1325
|
+
/**
|
|
1326
|
+
* @category constructors
|
|
1327
|
+
* @since 2.0.0
|
|
1328
|
+
*/
|
|
1329
|
+
const unfold = (b, f) => {
|
|
1330
|
+
const out = [];
|
|
1331
|
+
let next = b;
|
|
1332
|
+
let o;
|
|
1333
|
+
while (Option_dist_effectOption.isSome(o = f(next))) {
|
|
1334
|
+
const [a, b] = o.value;
|
|
1335
|
+
out.push(a);
|
|
1336
|
+
next = b;
|
|
1337
|
+
}
|
|
1338
|
+
return out;
|
|
1339
|
+
};
|
|
1340
|
+
|
|
1341
|
+
/**
|
|
1342
|
+
* This function creates and returns a new `Order` for an array of values based on a given `Order` for the elements of the array.
|
|
1343
|
+
* The returned `Order` compares two arrays by applying the given `Order` to each element in the arrays.
|
|
1344
|
+
* If all elements are equal, the arrays are then compared based on their length.
|
|
1345
|
+
* It is useful when you need to compare two arrays of the same type and you have a specific way of comparing each element of the array.
|
|
1346
|
+
*
|
|
1347
|
+
* @category instances
|
|
1348
|
+
* @since 2.0.0
|
|
1349
|
+
*/
|
|
1350
|
+
const getOrder = Order_dist_effectOrder.array;
|
|
1351
|
+
|
|
1352
|
+
/**
|
|
1353
|
+
* @category instances
|
|
1354
|
+
* @since 2.0.0
|
|
1355
|
+
*/
|
|
1356
|
+
const getEquivalence = Equivalence_dist_effectEquivalence.array;
|
|
1357
|
+
|
|
1358
|
+
/**
|
|
1359
|
+
* Iterate over the `Iterable` applying `f`.
|
|
1360
|
+
*
|
|
1361
|
+
* @since 2.0.0
|
|
1362
|
+
*/
|
|
1363
|
+
const forEach = /*#__PURE__*/Function_dist_effectFunction.dual(2, (self, f) => fromIterable(self).forEach((a, i) => f(a, i)));
|
|
1364
|
+
|
|
1365
|
+
/**
|
|
1366
|
+
* Remove duplicates from am `Iterable` using the provided `isEquivalent` function, keeping the first occurrence of an element.
|
|
1367
|
+
*
|
|
1368
|
+
* @since 2.0.0
|
|
1369
|
+
*/
|
|
1370
|
+
const dedupeWith = /*#__PURE__*/Function_dist_effectFunction.dual(2, (self, isEquivalent) => {
|
|
1371
|
+
const input = fromIterable(self);
|
|
1372
|
+
return isNonEmptyReadonlyArray(input) ? dedupeNonEmptyWith(isEquivalent)(input) : [];
|
|
1373
|
+
});
|
|
1374
|
+
|
|
1375
|
+
/**
|
|
1376
|
+
* Remove duplicates from am `Iterable`, keeping the first occurrence of an element.
|
|
1377
|
+
*
|
|
1378
|
+
* @since 2.0.0
|
|
1379
|
+
*/
|
|
1380
|
+
const dedupe = /*#__PURE__*/dedupeWith( /*#__PURE__*/Equal_dist_effectEqual.equivalence());
|
|
1381
|
+
|
|
1382
|
+
/**
|
|
1383
|
+
* Deduplicates adjacent elements that are identical using the provided `isEquivalent` function.
|
|
1384
|
+
*
|
|
1385
|
+
* @since 2.0.0
|
|
1386
|
+
*/
|
|
1387
|
+
const dedupeAdjacentWith = /*#__PURE__*/Function_dist_effectFunction.dual(2, (self, isEquivalent) => {
|
|
1388
|
+
const out = [];
|
|
1389
|
+
let lastA = Option_dist_effectOption.none();
|
|
1390
|
+
for (const a of self) {
|
|
1391
|
+
if (Option_dist_effectOption.isNone(lastA) || !isEquivalent(a, lastA.value)) {
|
|
1392
|
+
out.push(a);
|
|
1393
|
+
lastA = Option_dist_effectOption.some(a);
|
|
1394
|
+
}
|
|
1395
|
+
}
|
|
1396
|
+
return out;
|
|
1397
|
+
});
|
|
1398
|
+
|
|
1399
|
+
/**
|
|
1400
|
+
* Deduplicates adjacent elements that are identical.
|
|
1401
|
+
*
|
|
1402
|
+
* @since 2.0.0
|
|
1403
|
+
*/
|
|
1404
|
+
const dedupeAdjacent = /*#__PURE__*/dedupeAdjacentWith( /*#__PURE__*/Equal_dist_effectEqual.equivalence());
|
|
1405
|
+
|
|
1406
|
+
/**
|
|
1407
|
+
* Joins the elements together with "sep" in the middle.
|
|
1408
|
+
*
|
|
1409
|
+
* @since 2.0.0
|
|
1410
|
+
* @category folding
|
|
1411
|
+
*/
|
|
1412
|
+
const join = /*#__PURE__*/Function_dist_effectFunction.dual(2, (self, sep) => fromIterable(self).join(sep));
|
|
1413
|
+
|
|
1414
|
+
/**
|
|
1415
|
+
* Statefully maps over the chunk, producing new elements of type `B`.
|
|
1416
|
+
*
|
|
1417
|
+
* @since 2.0.0
|
|
1418
|
+
* @category folding
|
|
1419
|
+
*/
|
|
1420
|
+
const mapAccum = /*#__PURE__*/Function_dist_effectFunction.dual(3, (self, s, f) => {
|
|
1421
|
+
let s1 = s;
|
|
1422
|
+
const out = [];
|
|
1423
|
+
for (const a of self) {
|
|
1424
|
+
const r = f(s1, a);
|
|
1425
|
+
s1 = r[0];
|
|
1426
|
+
out.push(r[1]);
|
|
1427
|
+
}
|
|
1428
|
+
return [s1, out];
|
|
1429
|
+
});
|
|
1430
|
+
|
|
1431
|
+
/**
|
|
1432
|
+
* Zips this chunk crosswise with the specified chunk using the specified combiner.
|
|
1433
|
+
*
|
|
1434
|
+
* @since 2.0.0
|
|
1435
|
+
* @category elements
|
|
1436
|
+
*/
|
|
1437
|
+
const cartesianWith = /*#__PURE__*/Function_dist_effectFunction.dual(3, (self, that, f) => flatMap(self, a => map(that, b => f(a, b))));
|
|
1438
|
+
|
|
1439
|
+
/**
|
|
1440
|
+
* Zips this chunk crosswise with the specified chunk.
|
|
1441
|
+
*
|
|
1442
|
+
* @since 2.0.0
|
|
1443
|
+
* @category elements
|
|
1444
|
+
*/
|
|
1445
|
+
const cartesian = /*#__PURE__*/Function_dist_effectFunction.dual(2, (self, that) => cartesianWith(self, that, (a, b) => [a, b]));
|
|
1446
|
+
|
|
1447
|
+
var ReadonlyArray = /*#__PURE__*/Object.freeze({
|
|
1448
|
+
__proto__: null,
|
|
1449
|
+
make: make,
|
|
1450
|
+
makeBy: makeBy,
|
|
1451
|
+
range: range,
|
|
1452
|
+
replicate: replicate,
|
|
1453
|
+
fromIterable: fromIterable,
|
|
1454
|
+
fromRecord: fromRecord,
|
|
1455
|
+
fromOption: fromOption,
|
|
1456
|
+
match: match,
|
|
1457
|
+
matchLeft: matchLeft,
|
|
1458
|
+
matchRight: matchRight,
|
|
1459
|
+
prepend: prepend,
|
|
1460
|
+
prependAll: prependAll,
|
|
1461
|
+
prependAllNonEmpty: prependAllNonEmpty,
|
|
1462
|
+
append: append,
|
|
1463
|
+
appendAll: appendAll,
|
|
1464
|
+
appendAllNonEmpty: appendAllNonEmpty,
|
|
1465
|
+
scan: scan,
|
|
1466
|
+
scanRight: scanRight,
|
|
1467
|
+
isEmptyArray: isEmptyArray,
|
|
1468
|
+
isEmptyReadonlyArray: isEmptyReadonlyArray,
|
|
1469
|
+
isNonEmptyArray: isNonEmptyArray,
|
|
1470
|
+
isNonEmptyReadonlyArray: isNonEmptyReadonlyArray,
|
|
1471
|
+
length: length,
|
|
1472
|
+
get: get,
|
|
1473
|
+
unsafeGet: unsafeGet,
|
|
1474
|
+
unprepend: unprepend,
|
|
1475
|
+
unappend: unappend,
|
|
1476
|
+
head: head,
|
|
1477
|
+
headNonEmpty: headNonEmpty,
|
|
1478
|
+
last: last,
|
|
1479
|
+
lastNonEmpty: lastNonEmpty,
|
|
1480
|
+
tail: tail,
|
|
1481
|
+
tailNonEmpty: tailNonEmpty,
|
|
1482
|
+
init: init,
|
|
1483
|
+
initNonEmpty: initNonEmpty,
|
|
1484
|
+
take: take,
|
|
1485
|
+
takeRight: takeRight,
|
|
1486
|
+
takeWhile: takeWhile,
|
|
1487
|
+
span: span,
|
|
1488
|
+
drop: drop,
|
|
1489
|
+
dropRight: dropRight,
|
|
1490
|
+
dropWhile: dropWhile,
|
|
1491
|
+
findFirstIndex: findFirstIndex,
|
|
1492
|
+
findLastIndex: findLastIndex,
|
|
1493
|
+
findFirst: findFirst,
|
|
1494
|
+
findLast: findLast,
|
|
1495
|
+
insertAt: insertAt,
|
|
1496
|
+
replace: replace,
|
|
1497
|
+
replaceOption: replaceOption,
|
|
1498
|
+
modify: modify,
|
|
1499
|
+
modifyOption: modifyOption,
|
|
1500
|
+
remove: remove,
|
|
1501
|
+
reverse: reverse,
|
|
1502
|
+
reverseNonEmpty: reverseNonEmpty,
|
|
1503
|
+
sort: sort,
|
|
1504
|
+
sortWith: sortWith,
|
|
1505
|
+
sortNonEmpty: sortNonEmpty,
|
|
1506
|
+
sortBy: sortBy,
|
|
1507
|
+
sortByNonEmpty: sortByNonEmpty,
|
|
1508
|
+
zip: zip,
|
|
1509
|
+
zipWith: zipWith,
|
|
1510
|
+
zipNonEmpty: zipNonEmpty,
|
|
1511
|
+
zipNonEmptyWith: zipNonEmptyWith,
|
|
1512
|
+
unzip: unzip,
|
|
1513
|
+
unzipNonEmpty: unzipNonEmpty,
|
|
1514
|
+
intersperse: intersperse,
|
|
1515
|
+
intersperseNonEmpty: intersperseNonEmpty,
|
|
1516
|
+
modifyNonEmptyHead: modifyNonEmptyHead,
|
|
1517
|
+
setNonEmptyHead: setNonEmptyHead,
|
|
1518
|
+
modifyNonEmptyLast: modifyNonEmptyLast,
|
|
1519
|
+
setNonEmptyLast: setNonEmptyLast,
|
|
1520
|
+
rotate: rotate,
|
|
1521
|
+
rotateNonEmpty: rotateNonEmpty,
|
|
1522
|
+
containsWith: containsWith,
|
|
1523
|
+
contains: contains,
|
|
1524
|
+
dedupeNonEmptyWith: dedupeNonEmptyWith,
|
|
1525
|
+
dedupeNonEmpty: dedupeNonEmpty,
|
|
1526
|
+
chop: chop,
|
|
1527
|
+
chopNonEmpty: chopNonEmpty,
|
|
1528
|
+
splitAt: splitAt,
|
|
1529
|
+
copy: copy,
|
|
1530
|
+
splitNonEmptyAt: splitNonEmptyAt,
|
|
1531
|
+
chunksOf: chunksOf,
|
|
1532
|
+
chunksOfNonEmpty: chunksOfNonEmpty,
|
|
1533
|
+
groupWith: groupWith,
|
|
1534
|
+
group: group,
|
|
1535
|
+
groupBy: groupBy,
|
|
1536
|
+
unionWith: unionWith,
|
|
1537
|
+
union: union,
|
|
1538
|
+
unionNonEmptyWith: unionNonEmptyWith,
|
|
1539
|
+
unionNonEmpty: unionNonEmpty,
|
|
1540
|
+
intersectionWith: intersectionWith,
|
|
1541
|
+
intersection: intersection,
|
|
1542
|
+
differenceWith: differenceWith,
|
|
1543
|
+
difference: difference,
|
|
1544
|
+
empty: empty,
|
|
1545
|
+
of: of,
|
|
1546
|
+
map: map,
|
|
1547
|
+
mapNonEmpty: mapNonEmpty,
|
|
1548
|
+
flatMap: flatMap,
|
|
1549
|
+
flatMapNonEmpty: flatMapNonEmpty,
|
|
1550
|
+
flatten: flatten,
|
|
1551
|
+
flattenNonEmpty: flattenNonEmpty,
|
|
1552
|
+
filterMap: filterMap,
|
|
1553
|
+
filterMapWhile: filterMapWhile,
|
|
1554
|
+
partitionMap: partitionMap,
|
|
1555
|
+
compact: compact,
|
|
1556
|
+
filter: filter,
|
|
1557
|
+
partition: partition,
|
|
1558
|
+
separate: separate,
|
|
1559
|
+
reduce: reduce,
|
|
1560
|
+
reduceRight: reduceRight,
|
|
1561
|
+
liftPredicate: liftPredicate,
|
|
1562
|
+
liftOption: liftOption,
|
|
1563
|
+
fromNullable: fromNullable,
|
|
1564
|
+
liftNullable: liftNullable,
|
|
1565
|
+
flatMapNullable: flatMapNullable,
|
|
1566
|
+
liftEither: liftEither,
|
|
1567
|
+
every: every,
|
|
1568
|
+
some: some,
|
|
1569
|
+
extend: extend,
|
|
1570
|
+
min: min,
|
|
1571
|
+
max: max,
|
|
1572
|
+
unfold: unfold,
|
|
1573
|
+
getOrder: getOrder,
|
|
1574
|
+
getEquivalence: getEquivalence,
|
|
1575
|
+
forEach: forEach,
|
|
1576
|
+
dedupeWith: dedupeWith,
|
|
1577
|
+
dedupe: dedupe,
|
|
1578
|
+
dedupeAdjacentWith: dedupeAdjacentWith,
|
|
1579
|
+
dedupeAdjacent: dedupeAdjacent,
|
|
1580
|
+
join: join,
|
|
1581
|
+
mapAccum: mapAccum,
|
|
1582
|
+
cartesianWith: cartesianWith,
|
|
1583
|
+
cartesian: cartesian
|
|
1584
|
+
});
|
|
1585
|
+
|
|
1586
|
+
exports.ReadonlyArray = ReadonlyArray;
|
|
1587
|
+
exports.append = append;
|
|
1588
|
+
exports.appendAll = appendAll;
|
|
1589
|
+
exports.appendAllNonEmpty = appendAllNonEmpty;
|
|
1590
|
+
exports.cartesian = cartesian;
|
|
1591
|
+
exports.cartesianWith = cartesianWith;
|
|
1592
|
+
exports.chop = chop;
|
|
1593
|
+
exports.chopNonEmpty = chopNonEmpty;
|
|
1594
|
+
exports.chunksOf = chunksOf;
|
|
1595
|
+
exports.chunksOfNonEmpty = chunksOfNonEmpty;
|
|
1596
|
+
exports.compact = compact;
|
|
1597
|
+
exports.contains = contains;
|
|
1598
|
+
exports.containsWith = containsWith;
|
|
1599
|
+
exports.copy = copy;
|
|
1600
|
+
exports.dedupe = dedupe;
|
|
1601
|
+
exports.dedupeAdjacent = dedupeAdjacent;
|
|
1602
|
+
exports.dedupeAdjacentWith = dedupeAdjacentWith;
|
|
1603
|
+
exports.dedupeNonEmpty = dedupeNonEmpty;
|
|
1604
|
+
exports.dedupeNonEmptyWith = dedupeNonEmptyWith;
|
|
1605
|
+
exports.dedupeWith = dedupeWith;
|
|
1606
|
+
exports.difference = difference;
|
|
1607
|
+
exports.differenceWith = differenceWith;
|
|
1608
|
+
exports.drop = drop;
|
|
1609
|
+
exports.dropRight = dropRight;
|
|
1610
|
+
exports.dropWhile = dropWhile;
|
|
1611
|
+
exports.empty = empty;
|
|
1612
|
+
exports.every = every;
|
|
1613
|
+
exports.extend = extend;
|
|
1614
|
+
exports.filter = filter;
|
|
1615
|
+
exports.filterMap = filterMap;
|
|
1616
|
+
exports.filterMapWhile = filterMapWhile;
|
|
1617
|
+
exports.findFirst = findFirst;
|
|
1618
|
+
exports.findFirstIndex = findFirstIndex;
|
|
1619
|
+
exports.findLast = findLast;
|
|
1620
|
+
exports.findLastIndex = findLastIndex;
|
|
1621
|
+
exports.flatMap = flatMap;
|
|
1622
|
+
exports.flatMapNonEmpty = flatMapNonEmpty;
|
|
1623
|
+
exports.flatMapNullable = flatMapNullable;
|
|
1624
|
+
exports.flatten = flatten;
|
|
1625
|
+
exports.flattenNonEmpty = flattenNonEmpty;
|
|
1626
|
+
exports.forEach = forEach;
|
|
1627
|
+
exports.fromIterable = fromIterable;
|
|
1628
|
+
exports.fromNullable = fromNullable;
|
|
1629
|
+
exports.fromOption = fromOption;
|
|
1630
|
+
exports.fromRecord = fromRecord;
|
|
1631
|
+
exports.get = get;
|
|
1632
|
+
exports.getEquivalence = getEquivalence;
|
|
1633
|
+
exports.getOrder = getOrder;
|
|
1634
|
+
exports.group = group;
|
|
1635
|
+
exports.groupBy = groupBy;
|
|
1636
|
+
exports.groupWith = groupWith;
|
|
1637
|
+
exports.head = head;
|
|
1638
|
+
exports.headNonEmpty = headNonEmpty;
|
|
1639
|
+
exports.init = init;
|
|
1640
|
+
exports.initNonEmpty = initNonEmpty;
|
|
1641
|
+
exports.insertAt = insertAt;
|
|
1642
|
+
exports.intersection = intersection;
|
|
1643
|
+
exports.intersectionWith = intersectionWith;
|
|
1644
|
+
exports.intersperse = intersperse;
|
|
1645
|
+
exports.intersperseNonEmpty = intersperseNonEmpty;
|
|
1646
|
+
exports.isEmptyArray = isEmptyArray;
|
|
1647
|
+
exports.isEmptyReadonlyArray = isEmptyReadonlyArray;
|
|
1648
|
+
exports.isNonEmptyArray = isNonEmptyArray;
|
|
1649
|
+
exports.isNonEmptyReadonlyArray = isNonEmptyReadonlyArray;
|
|
1650
|
+
exports.join = join;
|
|
1651
|
+
exports.last = last;
|
|
1652
|
+
exports.lastNonEmpty = lastNonEmpty;
|
|
1653
|
+
exports.length = length;
|
|
1654
|
+
exports.liftEither = liftEither;
|
|
1655
|
+
exports.liftNullable = liftNullable;
|
|
1656
|
+
exports.liftOption = liftOption;
|
|
1657
|
+
exports.liftPredicate = liftPredicate;
|
|
1658
|
+
exports.make = make;
|
|
1659
|
+
exports.makeBy = makeBy;
|
|
1660
|
+
exports.map = map;
|
|
1661
|
+
exports.mapAccum = mapAccum;
|
|
1662
|
+
exports.mapNonEmpty = mapNonEmpty;
|
|
1663
|
+
exports.match = match;
|
|
1664
|
+
exports.matchLeft = matchLeft;
|
|
1665
|
+
exports.matchRight = matchRight;
|
|
1666
|
+
exports.max = max;
|
|
1667
|
+
exports.min = min;
|
|
1668
|
+
exports.modify = modify;
|
|
1669
|
+
exports.modifyNonEmptyHead = modifyNonEmptyHead;
|
|
1670
|
+
exports.modifyNonEmptyLast = modifyNonEmptyLast;
|
|
1671
|
+
exports.modifyOption = modifyOption;
|
|
1672
|
+
exports.of = of;
|
|
1673
|
+
exports.partition = partition;
|
|
1674
|
+
exports.partitionMap = partitionMap;
|
|
1675
|
+
exports.prepend = prepend;
|
|
1676
|
+
exports.prependAll = prependAll;
|
|
1677
|
+
exports.prependAllNonEmpty = prependAllNonEmpty;
|
|
1678
|
+
exports.range = range;
|
|
1679
|
+
exports.reduce = reduce;
|
|
1680
|
+
exports.reduceRight = reduceRight;
|
|
1681
|
+
exports.remove = remove;
|
|
1682
|
+
exports.replace = replace;
|
|
1683
|
+
exports.replaceOption = replaceOption;
|
|
1684
|
+
exports.replicate = replicate;
|
|
1685
|
+
exports.reverse = reverse;
|
|
1686
|
+
exports.reverseNonEmpty = reverseNonEmpty;
|
|
1687
|
+
exports.rotate = rotate;
|
|
1688
|
+
exports.rotateNonEmpty = rotateNonEmpty;
|
|
1689
|
+
exports.scan = scan;
|
|
1690
|
+
exports.scanRight = scanRight;
|
|
1691
|
+
exports.separate = separate;
|
|
1692
|
+
exports.setNonEmptyHead = setNonEmptyHead;
|
|
1693
|
+
exports.setNonEmptyLast = setNonEmptyLast;
|
|
1694
|
+
exports.some = some;
|
|
1695
|
+
exports.sort = sort;
|
|
1696
|
+
exports.sortBy = sortBy;
|
|
1697
|
+
exports.sortByNonEmpty = sortByNonEmpty;
|
|
1698
|
+
exports.sortNonEmpty = sortNonEmpty;
|
|
1699
|
+
exports.sortWith = sortWith;
|
|
1700
|
+
exports.span = span;
|
|
1701
|
+
exports.splitAt = splitAt;
|
|
1702
|
+
exports.splitNonEmptyAt = splitNonEmptyAt;
|
|
1703
|
+
exports.tail = tail;
|
|
1704
|
+
exports.tailNonEmpty = tailNonEmpty;
|
|
1705
|
+
exports.take = take;
|
|
1706
|
+
exports.takeRight = takeRight;
|
|
1707
|
+
exports.takeWhile = takeWhile;
|
|
1708
|
+
exports.unappend = unappend;
|
|
1709
|
+
exports.unfold = unfold;
|
|
1710
|
+
exports.union = union;
|
|
1711
|
+
exports.unionNonEmpty = unionNonEmpty;
|
|
1712
|
+
exports.unionNonEmptyWith = unionNonEmptyWith;
|
|
1713
|
+
exports.unionWith = unionWith;
|
|
1714
|
+
exports.unprepend = unprepend;
|
|
1715
|
+
exports.unsafeGet = unsafeGet;
|
|
1716
|
+
exports.unzip = unzip;
|
|
1717
|
+
exports.unzipNonEmpty = unzipNonEmpty;
|
|
1718
|
+
exports.zip = zip;
|
|
1719
|
+
exports.zipNonEmpty = zipNonEmpty;
|
|
1720
|
+
exports.zipNonEmptyWith = zipNonEmptyWith;
|
|
1721
|
+
exports.zipWith = zipWith;
|