@fncts/io 0.0.52 → 0.0.53
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/IO/api/asyncIterable.d.ts +27 -0
- package/IO.d.ts +1 -0
- package/_cjs/Cached/api.cjs +11 -12
- package/_cjs/Cached/api.cjs.map +1 -1
- package/_cjs/Cached/definition.cjs +1 -3
- package/_cjs/Cached/definition.cjs.map +1 -1
- package/_cjs/Cached/internal.cjs +3 -4
- package/_cjs/Cached/internal.cjs.map +1 -1
- package/_cjs/CancellerState.cjs +1 -2
- package/_cjs/CancellerState.cjs.map +1 -1
- package/_cjs/Channel/ChildExecutorDecision/api.cjs +1 -2
- package/_cjs/Channel/ChildExecutorDecision/api.cjs.map +1 -1
- package/_cjs/Channel/ChildExecutorDecision/definition.cjs +1 -2
- package/_cjs/Channel/ChildExecutorDecision/definition.cjs.map +1 -1
- package/_cjs/Channel/UpstreamPullRequest/api.cjs +1 -3
- package/_cjs/Channel/UpstreamPullRequest/api.cjs.map +1 -1
- package/_cjs/Channel/UpstreamPullRequest/definition.cjs +1 -2
- package/_cjs/Channel/UpstreamPullRequest/definition.cjs.map +1 -1
- package/_cjs/Channel/UpstreamPullStrategy/definition.cjs +1 -2
- package/_cjs/Channel/UpstreamPullStrategy/definition.cjs.map +1 -1
- package/_cjs/Channel/api/interruptWhen.cjs +7 -8
- package/_cjs/Channel/api/interruptWhen.cjs.map +1 -1
- package/_cjs/Channel/api/mapOutConcurrentIO.cjs +21 -22
- package/_cjs/Channel/api/mapOutConcurrentIO.cjs.map +1 -1
- package/_cjs/Channel/api/mergeAll.cjs +3 -4
- package/_cjs/Channel/api/mergeAll.cjs.map +1 -1
- package/_cjs/Channel/api/mergeAllUnboundedWith.cjs +3 -4
- package/_cjs/Channel/api/mergeAllUnboundedWith.cjs.map +1 -1
- package/_cjs/Channel/api/mergeAllWith.cjs +28 -29
- package/_cjs/Channel/api/mergeAllWith.cjs.map +1 -1
- package/_cjs/Channel/api/mergeMap.cjs +4 -5
- package/_cjs/Channel/api/mergeMap.cjs.map +1 -1
- package/_cjs/Channel/api/mergeWith.cjs +16 -17
- package/_cjs/Channel/api/mergeWith.cjs.map +1 -1
- package/_cjs/Channel/api/run.cjs +5 -7
- package/_cjs/Channel/api/run.cjs.map +1 -1
- package/_cjs/Channel/api/runCollect.cjs +4 -5
- package/_cjs/Channel/api/runCollect.cjs.map +1 -1
- package/_cjs/Channel/api/runDrain.cjs +4 -5
- package/_cjs/Channel/api/runDrain.cjs.map +1 -1
- package/_cjs/Channel/api/runScoped.cjs +12 -13
- package/_cjs/Channel/api/runScoped.cjs.map +1 -1
- package/_cjs/Channel/api/toPull.cjs +6 -7
- package/_cjs/Channel/api/toPull.cjs.map +1 -1
- package/_cjs/Channel/api/zipConcurrent.cjs +7 -8
- package/_cjs/Channel/api/zipConcurrent.cjs.map +1 -1
- package/_cjs/Channel/api.cjs +28 -29
- package/_cjs/Channel/api.cjs.map +1 -1
- package/_cjs/Channel/core-api.cjs +1 -3
- package/_cjs/Channel/core-api.cjs.map +1 -1
- package/_cjs/Channel/definition.cjs +1 -2
- package/_cjs/Channel/definition.cjs.map +1 -1
- package/_cjs/Channel/internal/ChannelExecutor.cjs +47 -43
- package/_cjs/Channel/internal/ChannelExecutor.cjs.map +1 -1
- package/_cjs/Channel/internal/ChannelState.cjs +3 -4
- package/_cjs/Channel/internal/ChannelState.cjs.map +1 -1
- package/_cjs/Channel/internal/MergeDecision.cjs +1 -2
- package/_cjs/Channel/internal/MergeDecision.cjs.map +1 -1
- package/_cjs/Channel/internal/MergeState.cjs +1 -2
- package/_cjs/Channel/internal/MergeState.cjs.map +1 -1
- package/_cjs/Channel/internal/SingleProducerAsyncInput.cjs +15 -16
- package/_cjs/Channel/internal/SingleProducerAsyncInput.cjs.map +1 -1
- package/_cjs/Clock/api.cjs +3 -3
- package/_cjs/Clock/api.cjs.map +1 -1
- package/_cjs/Clock/definition.cjs +3 -4
- package/_cjs/Clock/definition.cjs.map +1 -1
- package/_cjs/Clock/live.cjs +6 -7
- package/_cjs/Clock/live.cjs.map +1 -1
- package/_cjs/Console/api.cjs +4 -6
- package/_cjs/Console/api.cjs.map +1 -1
- package/_cjs/Console/definition.cjs +3 -4
- package/_cjs/Console/definition.cjs.map +1 -1
- package/_cjs/Console/live.cjs +3 -4
- package/_cjs/Console/live.cjs.map +1 -1
- package/_cjs/CountdownLatch.cjs +8 -9
- package/_cjs/CountdownLatch.cjs.map +1 -1
- package/_cjs/Differ/api.cjs +5 -6
- package/_cjs/Differ/api.cjs.map +1 -1
- package/_cjs/Differ/definition.cjs +1 -2
- package/_cjs/Differ/definition.cjs.map +1 -1
- package/_cjs/Fiber/FiberMessage.cjs +1 -2
- package/_cjs/Fiber/FiberMessage.cjs.map +1 -1
- package/_cjs/Fiber/FiberRuntime.cjs +57 -70
- package/_cjs/Fiber/FiberRuntime.cjs.map +1 -1
- package/_cjs/Fiber/api/await.cjs +1 -2
- package/_cjs/Fiber/api/await.cjs.map +1 -1
- package/_cjs/Fiber/api/awaitAll.cjs +5 -6
- package/_cjs/Fiber/api/awaitAll.cjs.map +1 -1
- package/_cjs/Fiber/api/children.cjs +1 -2
- package/_cjs/Fiber/api/children.cjs.map +1 -1
- package/_cjs/Fiber/api/collectAll.cjs +20 -21
- package/_cjs/Fiber/api/collectAll.cjs.map +1 -1
- package/_cjs/Fiber/api/fromIO.cjs +4 -5
- package/_cjs/Fiber/api/fromIO.cjs.map +1 -1
- package/_cjs/Fiber/api/id.cjs +1 -2
- package/_cjs/Fiber/api/id.cjs.map +1 -1
- package/_cjs/Fiber/api/inheritRefs.cjs +1 -2
- package/_cjs/Fiber/api/inheritRefs.cjs.map +1 -1
- package/_cjs/Fiber/api/interrupt.cjs +4 -5
- package/_cjs/Fiber/api/interrupt.cjs.map +1 -1
- package/_cjs/Fiber/api/interruptAll.cjs +5 -6
- package/_cjs/Fiber/api/interruptAll.cjs.map +1 -1
- package/_cjs/Fiber/api/interruptAs.cjs +1 -2
- package/_cjs/Fiber/api/interruptAs.cjs.map +1 -1
- package/_cjs/Fiber/api/interruptFork.cjs +4 -5
- package/_cjs/Fiber/api/interruptFork.cjs.map +1 -1
- package/_cjs/Fiber/api/join.cjs +4 -5
- package/_cjs/Fiber/api/join.cjs.map +1 -1
- package/_cjs/Fiber/api/joinAll.cjs +5 -6
- package/_cjs/Fiber/api/joinAll.cjs.map +1 -1
- package/_cjs/Fiber/api/location.cjs +1 -2
- package/_cjs/Fiber/api/location.cjs.map +1 -1
- package/_cjs/Fiber/api/mapFiber.cjs +6 -7
- package/_cjs/Fiber/api/mapFiber.cjs.map +1 -1
- package/_cjs/Fiber/api/mapIO.cjs +12 -13
- package/_cjs/Fiber/api/mapIO.cjs.map +1 -1
- package/_cjs/Fiber/api/poll.cjs +1 -2
- package/_cjs/Fiber/api/poll.cjs.map +1 -1
- package/_cjs/Fiber/api/zipWith.cjs +14 -15
- package/_cjs/Fiber/api/zipWith.cjs.map +1 -1
- package/_cjs/Fiber/constructors.cjs +8 -10
- package/_cjs/Fiber/constructors.cjs.map +1 -1
- package/_cjs/Fiber/definition.cjs +5 -7
- package/_cjs/Fiber/definition.cjs.map +1 -1
- package/_cjs/FiberDescriptor.cjs +1 -2
- package/_cjs/FiberDescriptor.cjs.map +1 -1
- package/_cjs/FiberRef/api/locallyScoped.cjs +5 -6
- package/_cjs/FiberRef/api/locallyScoped.cjs.map +1 -1
- package/_cjs/FiberRef/api/locallyScopedWith.cjs +4 -5
- package/_cjs/FiberRef/api/locallyScopedWith.cjs.map +1 -1
- package/_cjs/FiberRef/api.cjs +1 -2
- package/_cjs/FiberRef/api.cjs.map +1 -1
- package/_cjs/FiberRef/constructors.cjs +6 -7
- package/_cjs/FiberRef/constructors.cjs.map +1 -1
- package/_cjs/FiberRef/definition.cjs +6 -7
- package/_cjs/FiberRef/definition.cjs.map +1 -1
- package/_cjs/FiberRef/operations.cjs +5 -6
- package/_cjs/FiberRef/operations.cjs.map +1 -1
- package/_cjs/FiberRef/unsafe.cjs +13 -14
- package/_cjs/FiberRef/unsafe.cjs.map +1 -1
- package/_cjs/FiberRefs/Patch.cjs +8 -11
- package/_cjs/FiberRefs/Patch.cjs.map +1 -1
- package/_cjs/FiberRefs/api.cjs +10 -11
- package/_cjs/FiberRefs/api.cjs.map +1 -1
- package/_cjs/FiberRefs/definition.cjs +3 -4
- package/_cjs/FiberRefs/definition.cjs.map +1 -1
- package/_cjs/FiberScope/constructors.cjs +1 -3
- package/_cjs/FiberScope/constructors.cjs.map +1 -1
- package/_cjs/FiberScope/definition.cjs +15 -14
- package/_cjs/FiberScope/definition.cjs.map +1 -1
- package/_cjs/FiberSet.cjs +11 -12
- package/_cjs/FiberSet.cjs.map +1 -1
- package/_cjs/FiberStatus/constructors.cjs +1 -2
- package/_cjs/FiberStatus/constructors.cjs.map +1 -1
- package/_cjs/FiberStatus/definition.cjs +3 -4
- package/_cjs/FiberStatus/definition.cjs.map +1 -1
- package/_cjs/Future/State.cjs +5 -5
- package/_cjs/Future/State.cjs.map +1 -1
- package/_cjs/Future/api.cjs +9 -14
- package/_cjs/Future/api.cjs.map +1 -1
- package/_cjs/Future/constructors.cjs +4 -5
- package/_cjs/Future/constructors.cjs.map +1 -1
- package/_cjs/Future/definition.cjs +1 -2
- package/_cjs/Future/definition.cjs.map +1 -1
- package/_cjs/Hub/api.cjs +12 -13
- package/_cjs/Hub/api.cjs.map +1 -1
- package/_cjs/Hub/definition.cjs +1 -3
- package/_cjs/Hub/definition.cjs.map +1 -1
- package/_cjs/Hub/internal.cjs +17 -18
- package/_cjs/Hub/internal.cjs.map +1 -1
- package/_cjs/IO/api/acquireRelease.cjs +3 -4
- package/_cjs/IO/api/acquireRelease.cjs.map +1 -1
- package/_cjs/IO/api/acquireReleaseExit.cjs +5 -6
- package/_cjs/IO/api/acquireReleaseExit.cjs.map +1 -1
- package/_cjs/IO/api/acquireReleaseInterruptible.cjs +3 -4
- package/_cjs/IO/api/acquireReleaseInterruptible.cjs.map +1 -1
- package/_cjs/IO/api/acquireReleaseInterruptibleExit.cjs +5 -6
- package/_cjs/IO/api/acquireReleaseInterruptibleExit.cjs.map +1 -1
- package/_cjs/IO/api/addFinalizer.cjs +3 -4
- package/_cjs/IO/api/addFinalizer.cjs.map +1 -1
- package/_cjs/IO/api/addFinalizerExit.cjs +6 -7
- package/_cjs/IO/api/addFinalizerExit.cjs.map +1 -1
- package/_cjs/IO/api/all.cjs +6 -7
- package/_cjs/IO/api/all.cjs.map +1 -1
- package/_cjs/IO/api/array.cjs +4 -5
- package/_cjs/IO/api/array.cjs.map +1 -1
- package/_cjs/IO/api/asyncIO.cjs +9 -10
- package/_cjs/IO/api/asyncIO.cjs.map +1 -1
- package/_cjs/IO/api/asyncInterrupt.cjs +8 -9
- package/_cjs/IO/api/asyncInterrupt.cjs.map +1 -1
- package/_cjs/IO/api/asyncIterable.cjs +84 -0
- package/_cjs/IO/api/asyncIterable.cjs.map +1 -0
- package/_cjs/IO/api/awaitAllChildren.cjs +5 -7
- package/_cjs/IO/api/awaitAllChildren.cjs.map +1 -1
- package/_cjs/IO/api/blocking.cjs +5 -6
- package/_cjs/IO/api/blocking.cjs.map +1 -1
- package/_cjs/IO/api/bracket.cjs +3 -4
- package/_cjs/IO/api/bracket.cjs.map +1 -1
- package/_cjs/IO/api/bracketExit.cjs +6 -7
- package/_cjs/IO/api/bracketExit.cjs.map +1 -1
- package/_cjs/IO/api/cachedInvalidate.cjs +15 -16
- package/_cjs/IO/api/cachedInvalidate.cjs.map +1 -1
- package/_cjs/IO/api/clockWith.cjs +8 -10
- package/_cjs/IO/api/clockWith.cjs.map +1 -1
- package/_cjs/IO/api/concurrency.cjs +7 -8
- package/_cjs/IO/api/concurrency.cjs.map +1 -1
- package/_cjs/IO/api/concurrentFinalizers.cjs +10 -11
- package/_cjs/IO/api/concurrentFinalizers.cjs.map +1 -1
- package/_cjs/IO/api/consoleWith.cjs +8 -10
- package/_cjs/IO/api/consoleWith.cjs.map +1 -1
- package/_cjs/IO/api/daemonChildren.cjs +6 -7
- package/_cjs/IO/api/daemonChildren.cjs.map +1 -1
- package/_cjs/IO/api/delay.cjs +4 -5
- package/_cjs/IO/api/delay.cjs.map +1 -1
- package/_cjs/IO/api/descriptor.cjs +6 -7
- package/_cjs/IO/api/descriptor.cjs.map +1 -1
- package/_cjs/IO/api/diffFiberRefs.cjs +4 -5
- package/_cjs/IO/api/diffFiberRefs.cjs.map +1 -1
- package/_cjs/IO/api/disconnect.cjs +6 -7
- package/_cjs/IO/api/disconnect.cjs.map +1 -1
- package/_cjs/IO/api/ensuringChildren.cjs +6 -7
- package/_cjs/IO/api/ensuringChildren.cjs.map +1 -1
- package/_cjs/IO/api/environment.cjs +6 -7
- package/_cjs/IO/api/environment.cjs.map +1 -1
- package/_cjs/IO/api/foreachConcurrent.cjs +20 -21
- package/_cjs/IO/api/foreachConcurrent.cjs.map +1 -1
- package/_cjs/IO/api/foreachExec.cjs +7 -8
- package/_cjs/IO/api/foreachExec.cjs.map +1 -1
- package/_cjs/IO/api/fork.cjs +10 -12
- package/_cjs/IO/api/fork.cjs.map +1 -1
- package/_cjs/IO/api/forkAll.cjs +5 -6
- package/_cjs/IO/api/forkAll.cjs.map +1 -1
- package/_cjs/IO/api/forkDaemon.cjs +4 -5
- package/_cjs/IO/api/forkDaemon.cjs.map +1 -1
- package/_cjs/IO/api/forkIn.cjs +7 -8
- package/_cjs/IO/api/forkIn.cjs.map +1 -1
- package/_cjs/IO/api/forkScoped.cjs +7 -8
- package/_cjs/IO/api/forkScoped.cjs.map +1 -1
- package/_cjs/IO/api/fulfill.cjs +5 -6
- package/_cjs/IO/api/fulfill.cjs.map +1 -1
- package/_cjs/IO/api/interrupt.cjs +8 -9
- package/_cjs/IO/api/interrupt.cjs.map +1 -1
- package/_cjs/IO/api/memoize.cjs +9 -10
- package/_cjs/IO/api/memoize.cjs.map +1 -1
- package/_cjs/IO/api/onTermination.cjs +6 -7
- package/_cjs/IO/api/onTermination.cjs.map +1 -1
- package/_cjs/IO/api/once.cjs +5 -6
- package/_cjs/IO/api/once.cjs.map +1 -1
- package/_cjs/IO/api/patchFiberRefs.cjs +5 -7
- package/_cjs/IO/api/patchFiberRefs.cjs.map +1 -1
- package/_cjs/IO/api/provideLayer.cjs +7 -8
- package/_cjs/IO/api/provideLayer.cjs.map +1 -1
- package/_cjs/IO/api/provideScope.cjs +5 -7
- package/_cjs/IO/api/provideScope.cjs.map +1 -1
- package/_cjs/IO/api/provideSomeLayer.cjs +4 -5
- package/_cjs/IO/api/provideSomeLayer.cjs.map +1 -1
- package/_cjs/IO/api/provideSomeRuntime.cjs +8 -9
- package/_cjs/IO/api/provideSomeRuntime.cjs.map +1 -1
- package/_cjs/IO/api/race.cjs +10 -11
- package/_cjs/IO/api/race.cjs.map +1 -1
- package/_cjs/IO/api/raceFirst.cjs +4 -5
- package/_cjs/IO/api/raceFirst.cjs.map +1 -1
- package/_cjs/IO/api/raceWith.cjs +5 -6
- package/_cjs/IO/api/raceWith.cjs.map +1 -1
- package/_cjs/IO/api/randomWith.cjs +8 -10
- package/_cjs/IO/api/randomWith.cjs.map +1 -1
- package/_cjs/IO/api/repeat.cjs +7 -8
- package/_cjs/IO/api/repeat.cjs.map +1 -1
- package/_cjs/IO/api/retry.cjs +6 -7
- package/_cjs/IO/api/retry.cjs.map +1 -1
- package/_cjs/IO/api/schedule.cjs +4 -5
- package/_cjs/IO/api/schedule.cjs.map +1 -1
- package/_cjs/IO/api/scope.cjs +4 -4
- package/_cjs/IO/api/scope.cjs.map +1 -1
- package/_cjs/IO/api/scopeWith.cjs +4 -5
- package/_cjs/IO/api/scopeWith.cjs.map +1 -1
- package/_cjs/IO/api/scoped.cjs +4 -5
- package/_cjs/IO/api/scoped.cjs.map +1 -1
- package/_cjs/IO/api/sleep.cjs +3 -4
- package/_cjs/IO/api/sleep.cjs.map +1 -1
- package/_cjs/IO/api/stateful.cjs +5 -6
- package/_cjs/IO/api/stateful.cjs.map +1 -1
- package/_cjs/IO/api/supervised.cjs +5 -6
- package/_cjs/IO/api/supervised.cjs.map +1 -1
- package/_cjs/IO/api/timeout.cjs +9 -10
- package/_cjs/IO/api/timeout.cjs.map +1 -1
- package/_cjs/IO/api/transplant.cjs +8 -9
- package/_cjs/IO/api/transplant.cjs.map +1 -1
- package/_cjs/IO/api/whenFiberRef.cjs +4 -5
- package/_cjs/IO/api/whenFiberRef.cjs.map +1 -1
- package/_cjs/IO/api/whenRef.cjs +4 -5
- package/_cjs/IO/api/whenRef.cjs.map +1 -1
- package/_cjs/IO/api/withChildren.cjs +6 -7
- package/_cjs/IO/api/withChildren.cjs.map +1 -1
- package/_cjs/IO/api/withEarlyRelease.cjs +6 -7
- package/_cjs/IO/api/withEarlyRelease.cjs.map +1 -1
- package/_cjs/IO/api/withFinalizer.cjs +3 -4
- package/_cjs/IO/api/withFinalizer.cjs.map +1 -1
- package/_cjs/IO/api/withFinalizerExit.cjs +3 -4
- package/_cjs/IO/api/withFinalizerExit.cjs.map +1 -1
- package/_cjs/IO/api/zipConcurrent.cjs +15 -16
- package/_cjs/IO/api/zipConcurrent.cjs.map +1 -1
- package/_cjs/IO/api.cjs +28 -27
- package/_cjs/IO/api.cjs.map +1 -1
- package/_cjs/IO/definition.cjs +3 -4
- package/_cjs/IO/definition.cjs.map +1 -1
- package/_cjs/IO/runtime.cjs +21 -20
- package/_cjs/IO/runtime.cjs.map +1 -1
- package/_cjs/IO.cjs +6 -0
- package/_cjs/IOEnv/definition.cjs +9 -10
- package/_cjs/IOEnv/definition.cjs.map +1 -1
- package/_cjs/IOEnv/live.cjs +9 -10
- package/_cjs/IOEnv/live.cjs.map +1 -1
- package/_cjs/IOEnv/services.cjs +3 -4
- package/_cjs/IOEnv/services.cjs.map +1 -1
- package/_cjs/InterruptStatus/constructors.cjs +1 -2
- package/_cjs/InterruptStatus/constructors.cjs.map +1 -1
- package/_cjs/InterruptStatus/definition.cjs +1 -2
- package/_cjs/InterruptStatus/definition.cjs.map +1 -1
- package/_cjs/Layer/MemoMap.cjs +23 -24
- package/_cjs/Layer/MemoMap.cjs.map +1 -1
- package/_cjs/Layer/api.cjs +16 -17
- package/_cjs/Layer/api.cjs.map +1 -1
- package/_cjs/Layer/definition.cjs +1 -2
- package/_cjs/Layer/definition.cjs.map +1 -1
- package/_cjs/LogLevel.cjs +1 -2
- package/_cjs/LogLevel.cjs.map +1 -1
- package/_cjs/LogSpan.cjs +1 -2
- package/_cjs/LogSpan.cjs.map +1 -1
- package/_cjs/Logger/api.cjs +4 -5
- package/_cjs/Logger/api.cjs.map +1 -1
- package/_cjs/Logger/constructors.cjs +7 -8
- package/_cjs/Logger/constructors.cjs.map +1 -1
- package/_cjs/Logger/definition.cjs +1 -2
- package/_cjs/Logger/definition.cjs.map +1 -1
- package/_cjs/MVar/api.cjs +13 -14
- package/_cjs/MVar/api.cjs.map +1 -1
- package/_cjs/MVar/definition.cjs +1 -2
- package/_cjs/MVar/definition.cjs.map +1 -1
- package/_cjs/Push/FlattenStrategy.cjs +20 -21
- package/_cjs/Push/FlattenStrategy.cjs.map +1 -1
- package/_cjs/Push/IndexedBuffer.cjs +6 -7
- package/_cjs/Push/IndexedBuffer.cjs.map +1 -1
- package/_cjs/Push/MergeStrategy.cjs +6 -7
- package/_cjs/Push/MergeStrategy.cjs.map +1 -1
- package/_cjs/Push/Operator/IOLoopOperator.cjs +9 -10
- package/_cjs/Push/Operator/IOLoopOperator.cjs.map +1 -1
- package/_cjs/Push/Operator/IOOperator.cjs +6 -7
- package/_cjs/Push/Operator/IOOperator.cjs.map +1 -1
- package/_cjs/Push/Operator/LoopOperator.cjs +6 -7
- package/_cjs/Push/Operator/LoopOperator.cjs.map +1 -1
- package/_cjs/Push/Operator/SyncOperator.cjs +6 -7
- package/_cjs/Push/Operator/SyncOperator.cjs.map +1 -1
- package/_cjs/Push/Producer/IOProducer.cjs +6 -7
- package/_cjs/Push/Producer/IOProducer.cjs.map +1 -1
- package/_cjs/Push/Producer/SyncProducer.cjs +6 -7
- package/_cjs/Push/Producer/SyncProducer.cjs.map +1 -1
- package/_cjs/Push/Sink.cjs +7 -8
- package/_cjs/Push/Sink.cjs.map +1 -1
- package/_cjs/Push/api.cjs +17 -18
- package/_cjs/Push/api.cjs.map +1 -1
- package/_cjs/Push/definition.cjs +7 -8
- package/_cjs/Push/definition.cjs.map +1 -1
- package/_cjs/Push/internal.cjs +18 -19
- package/_cjs/Push/internal.cjs.map +1 -1
- package/_cjs/Queue/api/dimapIO.cjs +3 -4
- package/_cjs/Queue/api/dimapIO.cjs.map +1 -1
- package/_cjs/Queue/api/filterInputIO.cjs +9 -10
- package/_cjs/Queue/api/filterInputIO.cjs.map +1 -1
- package/_cjs/Queue/api/filterOutputIO.cjs +12 -13
- package/_cjs/Queue/api/filterOutputIO.cjs.map +1 -1
- package/_cjs/Queue/api/operations.cjs +1 -3
- package/_cjs/Queue/api/operations.cjs.map +1 -1
- package/_cjs/Queue/api/poll.cjs +4 -5
- package/_cjs/Queue/api/poll.cjs.map +1 -1
- package/_cjs/Queue/api/takeBetween.cjs +5 -6
- package/_cjs/Queue/api/takeBetween.cjs.map +1 -1
- package/_cjs/Queue/api/takeN.cjs +3 -4
- package/_cjs/Queue/api/takeN.cjs.map +1 -1
- package/_cjs/Queue/api/zipWithIO.cjs +6 -7
- package/_cjs/Queue/api/zipWithIO.cjs.map +1 -1
- package/_cjs/Queue/constructors.cjs +3 -4
- package/_cjs/Queue/constructors.cjs.map +1 -1
- package/_cjs/Queue/definition.cjs +1 -2
- package/_cjs/Queue/definition.cjs.map +1 -1
- package/_cjs/Queue/internal.cjs +11 -12
- package/_cjs/Queue/internal.cjs.map +1 -1
- package/_cjs/Queue/strategy.cjs +8 -9
- package/_cjs/Queue/strategy.cjs.map +1 -1
- package/_cjs/Random/api.cjs +3 -4
- package/_cjs/Random/api.cjs.map +1 -1
- package/_cjs/Random/definition.cjs +3 -4
- package/_cjs/Random/definition.cjs.map +1 -1
- package/_cjs/Random/live.cjs +3 -4
- package/_cjs/Random/live.cjs.map +1 -1
- package/_cjs/Ref/Atomic.cjs +3 -4
- package/_cjs/Ref/Atomic.cjs.map +1 -1
- package/_cjs/Ref/Derived.cjs +6 -7
- package/_cjs/Ref/Derived.cjs.map +1 -1
- package/_cjs/Ref/DerivedAll.cjs +6 -7
- package/_cjs/Ref/DerivedAll.cjs.map +1 -1
- package/_cjs/Ref/Synchronized/api.cjs +5 -6
- package/_cjs/Ref/Synchronized/api.cjs.map +1 -1
- package/_cjs/Ref/Synchronized/constructors.cjs +9 -9
- package/_cjs/Ref/Synchronized/constructors.cjs.map +1 -1
- package/_cjs/Ref/Synchronized/definition.cjs +3 -4
- package/_cjs/Ref/Synchronized/definition.cjs.map +1 -1
- package/_cjs/Ref/api/collect.cjs +5 -6
- package/_cjs/Ref/api/collect.cjs.map +1 -1
- package/_cjs/Ref/api/dimap.cjs +4 -5
- package/_cjs/Ref/api/dimap.cjs.map +1 -1
- package/_cjs/Ref/api/filter.cjs +5 -6
- package/_cjs/Ref/api/filter.cjs.map +1 -1
- package/_cjs/Ref/api/get.cjs +1 -2
- package/_cjs/Ref/api/get.cjs.map +1 -1
- package/_cjs/Ref/api/match.cjs +1 -2
- package/_cjs/Ref/api/match.cjs.map +1 -1
- package/_cjs/Ref/api/matchAll.cjs +1 -2
- package/_cjs/Ref/api/matchAll.cjs.map +1 -1
- package/_cjs/Ref/api/modify.cjs +3 -4
- package/_cjs/Ref/api/modify.cjs.map +1 -1
- package/_cjs/Ref/api/set.cjs +1 -2
- package/_cjs/Ref/api/set.cjs.map +1 -1
- package/_cjs/Ref/api.cjs +5 -7
- package/_cjs/Ref/api.cjs.map +1 -1
- package/_cjs/Ref/constructors.cjs +3 -4
- package/_cjs/Ref/constructors.cjs.map +1 -1
- package/_cjs/Ref/definition.cjs +1 -2
- package/_cjs/Ref/definition.cjs.map +1 -1
- package/_cjs/Reloadable/api.cjs +3 -4
- package/_cjs/Reloadable/api.cjs.map +1 -1
- package/_cjs/Reloadable/constructors.cjs +14 -14
- package/_cjs/Reloadable/constructors.cjs.map +1 -1
- package/_cjs/Reloadable/definition.cjs +5 -6
- package/_cjs/Reloadable/definition.cjs.map +1 -1
- package/_cjs/RuntimeFlags/Patch.cjs +3 -4
- package/_cjs/RuntimeFlags/Patch.cjs.map +1 -1
- package/_cjs/RuntimeFlags/RuntimeFlags.cjs +3 -4
- package/_cjs/RuntimeFlags/RuntimeFlags.cjs.map +1 -1
- package/_cjs/STM/api/atomically.cjs +9 -10
- package/_cjs/STM/api/atomically.cjs.map +1 -1
- package/_cjs/STM/api/core-api.cjs +5 -6
- package/_cjs/STM/api/core-api.cjs.map +1 -1
- package/_cjs/STM/api/core-constructors.cjs +1 -2
- package/_cjs/STM/api/core-constructors.cjs.map +1 -1
- package/_cjs/STM/api.cjs +12 -13
- package/_cjs/STM/api.cjs.map +1 -1
- package/_cjs/STM/definition.cjs +3 -4
- package/_cjs/STM/definition.cjs.map +1 -1
- package/_cjs/STM/driver.cjs +7 -8
- package/_cjs/STM/driver.cjs.map +1 -1
- package/_cjs/STM/internal/CommitState.cjs +3 -4
- package/_cjs/STM/internal/CommitState.cjs.map +1 -1
- package/_cjs/STM/internal/Entry.cjs +1 -2
- package/_cjs/STM/internal/Entry.cjs.map +1 -1
- package/_cjs/STM/internal/Journal.cjs +16 -17
- package/_cjs/STM/internal/Journal.cjs.map +1 -1
- package/_cjs/STM/internal/TryCommit.cjs +1 -2
- package/_cjs/STM/internal/TryCommit.cjs.map +1 -1
- package/_cjs/STM/internal/Versioned.cjs +1 -2
- package/_cjs/STM/internal/Versioned.cjs.map +1 -1
- package/_cjs/Schedule/Decision.cjs +4 -5
- package/_cjs/Schedule/Decision.cjs.map +1 -1
- package/_cjs/Schedule/Driver.cjs +1 -2
- package/_cjs/Schedule/Driver.cjs.map +1 -1
- package/_cjs/Schedule/api/driver.cjs +14 -15
- package/_cjs/Schedule/api/driver.cjs.map +1 -1
- package/_cjs/Schedule/api.cjs +20 -21
- package/_cjs/Schedule/api.cjs.map +1 -1
- package/_cjs/Schedule/definition.cjs +1 -2
- package/_cjs/Schedule/definition.cjs.map +1 -1
- package/_cjs/Scope/Finalizer/definition.cjs +4 -5
- package/_cjs/Scope/Finalizer/definition.cjs.map +1 -1
- package/_cjs/Scope/ReleaseMap/api/releaseAll.cjs +10 -11
- package/_cjs/Scope/ReleaseMap/api/releaseAll.cjs.map +1 -1
- package/_cjs/Scope/ReleaseMap/api.cjs +8 -9
- package/_cjs/Scope/ReleaseMap/api.cjs.map +1 -1
- package/_cjs/Scope/ReleaseMap/constructors.cjs +5 -6
- package/_cjs/Scope/ReleaseMap/constructors.cjs.map +1 -1
- package/_cjs/Scope/ReleaseMap/definition.cjs +3 -4
- package/_cjs/Scope/ReleaseMap/definition.cjs.map +1 -1
- package/_cjs/Scope/api.cjs +13 -14
- package/_cjs/Scope/api.cjs.map +1 -1
- package/_cjs/Scope/definition.cjs +4 -5
- package/_cjs/Scope/definition.cjs.map +1 -1
- package/_cjs/ScopedRef/api.cjs +14 -15
- package/_cjs/ScopedRef/api.cjs.map +1 -1
- package/_cjs/ScopedRef/definition.cjs +1 -2
- package/_cjs/ScopedRef/definition.cjs.map +1 -1
- package/_cjs/Semaphore/Reservation.cjs +3 -4
- package/_cjs/Semaphore/Reservation.cjs.map +1 -1
- package/_cjs/Semaphore/constructors.cjs +4 -5
- package/_cjs/Semaphore/constructors.cjs.map +1 -1
- package/_cjs/Semaphore/definition.cjs +19 -20
- package/_cjs/Semaphore/definition.cjs.map +1 -1
- package/_cjs/Sink/api.cjs +35 -36
- package/_cjs/Sink/api.cjs.map +1 -1
- package/_cjs/Sink/definition.cjs +1 -2
- package/_cjs/Sink/definition.cjs.map +1 -1
- package/_cjs/State/api.cjs +6 -7
- package/_cjs/State/api.cjs.map +1 -1
- package/_cjs/State/definition.cjs +1 -2
- package/_cjs/State/definition.cjs.map +1 -1
- package/_cjs/State/internal.cjs +1 -2
- package/_cjs/State/internal.cjs.map +1 -1
- package/_cjs/Stream/api/zipAllWith.cjs +10 -11
- package/_cjs/Stream/api/zipAllWith.cjs.map +1 -1
- package/_cjs/Stream/api/zipWith.cjs +3 -4
- package/_cjs/Stream/api/zipWith.cjs.map +1 -1
- package/_cjs/Stream/api/zipWithChunks.cjs +8 -9
- package/_cjs/Stream/api/zipWithChunks.cjs.map +1 -1
- package/_cjs/Stream/api.cjs +73 -73
- package/_cjs/Stream/api.cjs.map +1 -1
- package/_cjs/Stream/definition.cjs +1 -2
- package/_cjs/Stream/definition.cjs.map +1 -1
- package/_cjs/Stream/internal/DebounceState.cjs +1 -2
- package/_cjs/Stream/internal/DebounceState.cjs.map +1 -1
- package/_cjs/Stream/internal/Handoff.cjs +8 -9
- package/_cjs/Stream/internal/Handoff.cjs.map +1 -1
- package/_cjs/Stream/internal/Pull.cjs +8 -9
- package/_cjs/Stream/internal/Pull.cjs.map +1 -1
- package/_cjs/Stream/internal/SinkEndReason.cjs +1 -2
- package/_cjs/Stream/internal/SinkEndReason.cjs.map +1 -1
- package/_cjs/Stream/internal/Take.cjs +12 -13
- package/_cjs/Stream/internal/Take.cjs.map +1 -1
- package/_cjs/Stream/internal/util.cjs +5 -6
- package/_cjs/Stream/internal/util.cjs.map +1 -1
- package/_cjs/Subject/Atomic.cjs +7 -8
- package/_cjs/Subject/Atomic.cjs.map +1 -1
- package/_cjs/Subject/DeferredRef.cjs +10 -11
- package/_cjs/Subject/DeferredRef.cjs.map +1 -1
- package/_cjs/Subject/Hold.cjs +8 -9
- package/_cjs/Subject/Hold.cjs.map +1 -1
- package/_cjs/Subject/RefSubject/Atomic.cjs +33 -38
- package/_cjs/Subject/RefSubject/Atomic.cjs.map +1 -1
- package/_cjs/Subject/RefSubject/Derived.cjs +5 -6
- package/_cjs/Subject/RefSubject/Derived.cjs.map +1 -1
- package/_cjs/Subject/RefSubject/RefSubject.cjs +1 -2
- package/_cjs/Subject/RefSubject/RefSubject.cjs.map +1 -1
- package/_cjs/Subject/RefSubject/constructors.cjs +9 -10
- package/_cjs/Subject/RefSubject/constructors.cjs.map +1 -1
- package/_cjs/Subject/api.cjs +4 -6
- package/_cjs/Subject/api.cjs.map +1 -1
- package/_cjs/Subject/definition.cjs +1 -2
- package/_cjs/Subject/definition.cjs.map +1 -1
- package/_cjs/SubscriptionRef.cjs +9 -10
- package/_cjs/SubscriptionRef.cjs.map +1 -1
- package/_cjs/Supervisor/api.cjs +4 -5
- package/_cjs/Supervisor/api.cjs.map +1 -1
- package/_cjs/Supervisor/constructors.cjs +6 -7
- package/_cjs/Supervisor/constructors.cjs.map +1 -1
- package/_cjs/Supervisor/definition.cjs +4 -6
- package/_cjs/Supervisor/definition.cjs.map +1 -1
- package/_cjs/SupervisorPatch.cjs +6 -7
- package/_cjs/SupervisorPatch.cjs.map +1 -1
- package/_cjs/TExit/constructors.cjs +1 -2
- package/_cjs/TExit/constructors.cjs.map +1 -1
- package/_cjs/TExit/definition.cjs +7 -8
- package/_cjs/TExit/definition.cjs.map +1 -1
- package/_cjs/TFuture/api.cjs +11 -12
- package/_cjs/TFuture/api.cjs.map +1 -1
- package/_cjs/TFuture/constructors.cjs +7 -8
- package/_cjs/TFuture/constructors.cjs.map +1 -1
- package/_cjs/TFuture/definition.cjs +3 -4
- package/_cjs/TFuture/definition.cjs.map +1 -1
- package/_cjs/TReentrantLock/api.cjs +13 -14
- package/_cjs/TReentrantLock/api.cjs.map +1 -1
- package/_cjs/TReentrantLock/definition.cjs +7 -8
- package/_cjs/TReentrantLock/definition.cjs.map +1 -1
- package/_cjs/TRef/api.cjs +4 -5
- package/_cjs/TRef/api.cjs.map +1 -1
- package/_cjs/TRef/constructors.cjs +15 -9
- package/_cjs/TRef/constructors.cjs.map +1 -1
- package/_cjs/TRef/definition.cjs +9 -10
- package/_cjs/TRef/definition.cjs.map +1 -1
- package/_cjs/TSemaphore/api.cjs +7 -8
- package/_cjs/TSemaphore/api.cjs.map +1 -1
- package/_cjs/TSemaphore/constructors.cjs +6 -7
- package/_cjs/TSemaphore/constructors.cjs.map +1 -1
- package/_cjs/TSemaphore/definition.cjs +3 -4
- package/_cjs/TSemaphore/definition.cjs.map +1 -1
- package/_cjs/TxnId.cjs +1 -3
- package/_cjs/TxnId.cjs.map +1 -1
- package/_cjs/collection/immutable/Conc/dropUntilIO.cjs +5 -6
- package/_cjs/collection/immutable/Conc/dropUntilIO.cjs.map +1 -1
- package/_cjs/collection/immutable/Conc/dropWhileIO.cjs +5 -6
- package/_cjs/collection/immutable/Conc/dropWhileIO.cjs.map +1 -1
- package/_cjs/collection/immutable/Conc/filterIO.cjs +3 -4
- package/_cjs/collection/immutable/Conc/filterIO.cjs.map +1 -1
- package/_cjs/collection/immutable/Conc/findIO.cjs +4 -5
- package/_cjs/collection/immutable/Conc/findIO.cjs.map +1 -1
- package/_cjs/collection/immutable/Conc/mapIO.cjs +3 -4
- package/_cjs/collection/immutable/Conc/mapIO.cjs.map +1 -1
- package/_cjs/collection/immutable/Conc/takeWhileIO.cjs +5 -6
- package/_cjs/collection/immutable/Conc/takeWhileIO.cjs.map +1 -1
- package/_cjs/data/Exit/foreachIO.cjs +5 -6
- package/_cjs/data/Exit/foreachIO.cjs.map +1 -1
- package/_cjs/internal/BackgroundScheduler.cjs +1 -2
- package/_cjs/internal/BackgroundScheduler.cjs.map +1 -1
- package/_cjs/internal/HashedPair.cjs +6 -7
- package/_cjs/internal/HashedPair.cjs.map +1 -1
- package/_cjs/internal/Hub.cjs +6 -7
- package/_cjs/internal/Hub.cjs.map +1 -1
- package/_cjs/internal/IsFatal.cjs +1 -6
- package/_cjs/internal/IsFatal.cjs.map +1 -1
- package/_cjs/internal/MutableQueue.cjs +4 -5
- package/_cjs/internal/MutableQueue.cjs.map +1 -1
- package/_cjs/internal/Scheduler.cjs +3 -4
- package/_cjs/internal/Scheduler.cjs.map +1 -1
- package/_cjs/internal/StackTraceBuilder.cjs +4 -5
- package/_cjs/internal/StackTraceBuilder.cjs.map +1 -1
- package/_cjs/{chunk.cjs → rolldown-runtime.cjs} +2 -3
- package/_mjs/Cached/api.mjs +1 -2
- package/_mjs/Cached/api.mjs.map +1 -1
- package/_mjs/Cached/definition.mjs +1 -2
- package/_mjs/Cached/definition.mjs.map +1 -1
- package/_mjs/Cached/internal.mjs +1 -2
- package/_mjs/Cached/internal.mjs.map +1 -1
- package/_mjs/CancellerState.mjs +1 -2
- package/_mjs/CancellerState.mjs.map +1 -1
- package/_mjs/Channel/ChildExecutorDecision/api.mjs +1 -2
- package/_mjs/Channel/ChildExecutorDecision/api.mjs.map +1 -1
- package/_mjs/Channel/ChildExecutorDecision/definition.mjs +1 -2
- package/_mjs/Channel/ChildExecutorDecision/definition.mjs.map +1 -1
- package/_mjs/Channel/UpstreamPullRequest/api.mjs +1 -2
- package/_mjs/Channel/UpstreamPullRequest/api.mjs.map +1 -1
- package/_mjs/Channel/UpstreamPullRequest/definition.mjs +1 -2
- package/_mjs/Channel/UpstreamPullRequest/definition.mjs.map +1 -1
- package/_mjs/Channel/UpstreamPullStrategy/definition.mjs +1 -2
- package/_mjs/Channel/UpstreamPullStrategy/definition.mjs.map +1 -1
- package/_mjs/Channel/UpstreamPullStrategy.mjs +1 -2
- package/_mjs/Channel/api/interruptWhen.mjs +1 -2
- package/_mjs/Channel/api/interruptWhen.mjs.map +1 -1
- package/_mjs/Channel/api/mapOutConcurrentIO.mjs +1 -2
- package/_mjs/Channel/api/mapOutConcurrentIO.mjs.map +1 -1
- package/_mjs/Channel/api/mergeAll.mjs +1 -2
- package/_mjs/Channel/api/mergeAll.mjs.map +1 -1
- package/_mjs/Channel/api/mergeAllUnboundedWith.mjs +1 -2
- package/_mjs/Channel/api/mergeAllUnboundedWith.mjs.map +1 -1
- package/_mjs/Channel/api/mergeAllWith.mjs +1 -2
- package/_mjs/Channel/api/mergeAllWith.mjs.map +1 -1
- package/_mjs/Channel/api/mergeMap.mjs +1 -2
- package/_mjs/Channel/api/mergeMap.mjs.map +1 -1
- package/_mjs/Channel/api/mergeWith.mjs +1 -2
- package/_mjs/Channel/api/mergeWith.mjs.map +1 -1
- package/_mjs/Channel/api/run.mjs +2 -4
- package/_mjs/Channel/api/run.mjs.map +1 -1
- package/_mjs/Channel/api/runCollect.mjs +1 -2
- package/_mjs/Channel/api/runCollect.mjs.map +1 -1
- package/_mjs/Channel/api/runDrain.mjs +1 -2
- package/_mjs/Channel/api/runDrain.mjs.map +1 -1
- package/_mjs/Channel/api/runScoped.mjs +1 -2
- package/_mjs/Channel/api/runScoped.mjs.map +1 -1
- package/_mjs/Channel/api/toPull.mjs +1 -2
- package/_mjs/Channel/api/toPull.mjs.map +1 -1
- package/_mjs/Channel/api/zipConcurrent.mjs +1 -2
- package/_mjs/Channel/api/zipConcurrent.mjs.map +1 -1
- package/_mjs/Channel/api.mjs +1 -2
- package/_mjs/Channel/api.mjs.map +1 -1
- package/_mjs/Channel/core-api.mjs +1 -2
- package/_mjs/Channel/core-api.mjs.map +1 -1
- package/_mjs/Channel/definition.mjs +1 -2
- package/_mjs/Channel/definition.mjs.map +1 -1
- package/_mjs/Channel/internal/ChannelExecutor.mjs +21 -17
- package/_mjs/Channel/internal/ChannelExecutor.mjs.map +1 -1
- package/_mjs/Channel/internal/ChannelState.mjs +1 -2
- package/_mjs/Channel/internal/ChannelState.mjs.map +1 -1
- package/_mjs/Channel/internal/MergeDecision.mjs +1 -2
- package/_mjs/Channel/internal/MergeDecision.mjs.map +1 -1
- package/_mjs/Channel/internal/MergeState.mjs +1 -2
- package/_mjs/Channel/internal/MergeState.mjs.map +1 -1
- package/_mjs/Channel/internal/SingleProducerAsyncInput.mjs +1 -2
- package/_mjs/Channel/internal/SingleProducerAsyncInput.mjs.map +1 -1
- package/_mjs/Clock/api.mjs +1 -1
- package/_mjs/Clock/api.mjs.map +1 -1
- package/_mjs/Clock/definition.mjs +1 -2
- package/_mjs/Clock/definition.mjs.map +1 -1
- package/_mjs/Clock/live.mjs +1 -2
- package/_mjs/Clock/live.mjs.map +1 -1
- package/_mjs/Console/api.mjs +2 -4
- package/_mjs/Console/api.mjs.map +1 -1
- package/_mjs/Console/definition.mjs +1 -2
- package/_mjs/Console/definition.mjs.map +1 -1
- package/_mjs/Console/live.mjs +1 -2
- package/_mjs/Console/live.mjs.map +1 -1
- package/_mjs/CountdownLatch.mjs +1 -2
- package/_mjs/CountdownLatch.mjs.map +1 -1
- package/_mjs/Differ/api.mjs +1 -2
- package/_mjs/Differ/api.mjs.map +1 -1
- package/_mjs/Differ/definition.mjs +1 -2
- package/_mjs/Differ/definition.mjs.map +1 -1
- package/_mjs/Fiber/FiberMessage.mjs +1 -2
- package/_mjs/Fiber/FiberMessage.mjs.map +1 -1
- package/_mjs/Fiber/FiberRuntime.mjs +23 -36
- package/_mjs/Fiber/FiberRuntime.mjs.map +1 -1
- package/_mjs/Fiber/api/await.mjs +1 -2
- package/_mjs/Fiber/api/await.mjs.map +1 -1
- package/_mjs/Fiber/api/awaitAll.mjs +1 -2
- package/_mjs/Fiber/api/awaitAll.mjs.map +1 -1
- package/_mjs/Fiber/api/children.mjs +1 -2
- package/_mjs/Fiber/api/children.mjs.map +1 -1
- package/_mjs/Fiber/api/collectAll.mjs +1 -2
- package/_mjs/Fiber/api/collectAll.mjs.map +1 -1
- package/_mjs/Fiber/api/fromIO.mjs +1 -2
- package/_mjs/Fiber/api/fromIO.mjs.map +1 -1
- package/_mjs/Fiber/api/id.mjs +1 -2
- package/_mjs/Fiber/api/id.mjs.map +1 -1
- package/_mjs/Fiber/api/inheritRefs.mjs +1 -2
- package/_mjs/Fiber/api/inheritRefs.mjs.map +1 -1
- package/_mjs/Fiber/api/interrupt.mjs +1 -2
- package/_mjs/Fiber/api/interrupt.mjs.map +1 -1
- package/_mjs/Fiber/api/interruptAll.mjs +1 -2
- package/_mjs/Fiber/api/interruptAll.mjs.map +1 -1
- package/_mjs/Fiber/api/interruptAs.mjs +1 -2
- package/_mjs/Fiber/api/interruptAs.mjs.map +1 -1
- package/_mjs/Fiber/api/interruptFork.mjs +1 -2
- package/_mjs/Fiber/api/interruptFork.mjs.map +1 -1
- package/_mjs/Fiber/api/join.mjs +1 -2
- package/_mjs/Fiber/api/join.mjs.map +1 -1
- package/_mjs/Fiber/api/joinAll.mjs +1 -2
- package/_mjs/Fiber/api/joinAll.mjs.map +1 -1
- package/_mjs/Fiber/api/location.mjs +1 -2
- package/_mjs/Fiber/api/location.mjs.map +1 -1
- package/_mjs/Fiber/api/mapFiber.mjs +1 -2
- package/_mjs/Fiber/api/mapFiber.mjs.map +1 -1
- package/_mjs/Fiber/api/mapIO.mjs +1 -2
- package/_mjs/Fiber/api/mapIO.mjs.map +1 -1
- package/_mjs/Fiber/api/poll.mjs +1 -2
- package/_mjs/Fiber/api/poll.mjs.map +1 -1
- package/_mjs/Fiber/api/zipWith.mjs +1 -2
- package/_mjs/Fiber/api/zipWith.mjs.map +1 -1
- package/_mjs/Fiber/constructors.mjs +2 -4
- package/_mjs/Fiber/constructors.mjs.map +1 -1
- package/_mjs/Fiber/definition.mjs +2 -4
- package/_mjs/Fiber/definition.mjs.map +1 -1
- package/_mjs/FiberDescriptor.mjs +1 -2
- package/_mjs/FiberDescriptor.mjs.map +1 -1
- package/_mjs/FiberRef/api/locallyScoped.mjs +1 -2
- package/_mjs/FiberRef/api/locallyScoped.mjs.map +1 -1
- package/_mjs/FiberRef/api/locallyScopedWith.mjs +1 -2
- package/_mjs/FiberRef/api/locallyScopedWith.mjs.map +1 -1
- package/_mjs/FiberRef/api.mjs +1 -2
- package/_mjs/FiberRef/api.mjs.map +1 -1
- package/_mjs/FiberRef/constructors.mjs +1 -2
- package/_mjs/FiberRef/constructors.mjs.map +1 -1
- package/_mjs/FiberRef/definition.mjs +1 -2
- package/_mjs/FiberRef/definition.mjs.map +1 -1
- package/_mjs/FiberRef/operations.mjs +1 -2
- package/_mjs/FiberRef/operations.mjs.map +1 -1
- package/_mjs/FiberRef/unsafe.mjs +1 -2
- package/_mjs/FiberRef/unsafe.mjs.map +1 -1
- package/_mjs/FiberRefs/Patch.mjs +1 -4
- package/_mjs/FiberRefs/Patch.mjs.map +1 -1
- package/_mjs/FiberRefs/api.mjs +1 -2
- package/_mjs/FiberRefs/api.mjs.map +1 -1
- package/_mjs/FiberRefs/definition.mjs +1 -2
- package/_mjs/FiberRefs/definition.mjs.map +1 -1
- package/_mjs/FiberScope/constructors.mjs +1 -2
- package/_mjs/FiberScope/constructors.mjs.map +1 -1
- package/_mjs/FiberScope/definition.mjs +9 -8
- package/_mjs/FiberScope/definition.mjs.map +1 -1
- package/_mjs/FiberSet.mjs +1 -2
- package/_mjs/FiberSet.mjs.map +1 -1
- package/_mjs/FiberStatus/constructors.mjs +1 -2
- package/_mjs/FiberStatus/constructors.mjs.map +1 -1
- package/_mjs/FiberStatus/definition.mjs +1 -2
- package/_mjs/FiberStatus/definition.mjs.map +1 -1
- package/_mjs/Future/State.mjs +5 -5
- package/_mjs/Future/State.mjs.map +1 -1
- package/_mjs/Future/api.mjs +3 -8
- package/_mjs/Future/api.mjs.map +1 -1
- package/_mjs/Future/constructors.mjs +1 -2
- package/_mjs/Future/constructors.mjs.map +1 -1
- package/_mjs/Future/definition.mjs +1 -2
- package/_mjs/Future/definition.mjs.map +1 -1
- package/_mjs/Hub/api.mjs +1 -2
- package/_mjs/Hub/api.mjs.map +1 -1
- package/_mjs/Hub/definition.mjs +1 -2
- package/_mjs/Hub/definition.mjs.map +1 -1
- package/_mjs/Hub/internal.mjs +1 -2
- package/_mjs/Hub/internal.mjs.map +1 -1
- package/_mjs/IO/api/acquireRelease.mjs +1 -2
- package/_mjs/IO/api/acquireRelease.mjs.map +1 -1
- package/_mjs/IO/api/acquireReleaseExit.mjs +1 -2
- package/_mjs/IO/api/acquireReleaseExit.mjs.map +1 -1
- package/_mjs/IO/api/acquireReleaseInterruptible.mjs +1 -2
- package/_mjs/IO/api/acquireReleaseInterruptible.mjs.map +1 -1
- package/_mjs/IO/api/acquireReleaseInterruptibleExit.mjs +1 -2
- package/_mjs/IO/api/acquireReleaseInterruptibleExit.mjs.map +1 -1
- package/_mjs/IO/api/addFinalizer.mjs +1 -2
- package/_mjs/IO/api/addFinalizer.mjs.map +1 -1
- package/_mjs/IO/api/addFinalizerExit.mjs +1 -2
- package/_mjs/IO/api/addFinalizerExit.mjs.map +1 -1
- package/_mjs/IO/api/all.mjs +1 -2
- package/_mjs/IO/api/all.mjs.map +1 -1
- package/_mjs/IO/api/array.mjs +1 -2
- package/_mjs/IO/api/array.mjs.map +1 -1
- package/_mjs/IO/api/asyncIO.mjs +1 -2
- package/_mjs/IO/api/asyncIO.mjs.map +1 -1
- package/_mjs/IO/api/asyncInterrupt.mjs +1 -2
- package/_mjs/IO/api/asyncInterrupt.mjs.map +1 -1
- package/_mjs/IO/api/asyncIterable.mjs +74 -0
- package/_mjs/IO/api/asyncIterable.mjs.map +1 -0
- package/_mjs/IO/api/awaitAllChildren.mjs +2 -4
- package/_mjs/IO/api/awaitAllChildren.mjs.map +1 -1
- package/_mjs/IO/api/blocking.mjs +1 -2
- package/_mjs/IO/api/blocking.mjs.map +1 -1
- package/_mjs/IO/api/bracket.mjs +1 -2
- package/_mjs/IO/api/bracket.mjs.map +1 -1
- package/_mjs/IO/api/bracketExit.mjs +1 -2
- package/_mjs/IO/api/bracketExit.mjs.map +1 -1
- package/_mjs/IO/api/cachedInvalidate.mjs +1 -2
- package/_mjs/IO/api/cachedInvalidate.mjs.map +1 -1
- package/_mjs/IO/api/clockWith.mjs +2 -4
- package/_mjs/IO/api/clockWith.mjs.map +1 -1
- package/_mjs/IO/api/concurrency.mjs +1 -2
- package/_mjs/IO/api/concurrency.mjs.map +1 -1
- package/_mjs/IO/api/concurrentFinalizers.mjs +1 -2
- package/_mjs/IO/api/concurrentFinalizers.mjs.map +1 -1
- package/_mjs/IO/api/consoleWith.mjs +2 -4
- package/_mjs/IO/api/consoleWith.mjs.map +1 -1
- package/_mjs/IO/api/daemonChildren.mjs +1 -2
- package/_mjs/IO/api/daemonChildren.mjs.map +1 -1
- package/_mjs/IO/api/delay.mjs +1 -2
- package/_mjs/IO/api/delay.mjs.map +1 -1
- package/_mjs/IO/api/descriptor.mjs +1 -2
- package/_mjs/IO/api/descriptor.mjs.map +1 -1
- package/_mjs/IO/api/diffFiberRefs.mjs +1 -2
- package/_mjs/IO/api/diffFiberRefs.mjs.map +1 -1
- package/_mjs/IO/api/disconnect.mjs +1 -2
- package/_mjs/IO/api/disconnect.mjs.map +1 -1
- package/_mjs/IO/api/ensuringChildren.mjs +1 -2
- package/_mjs/IO/api/ensuringChildren.mjs.map +1 -1
- package/_mjs/IO/api/environment.mjs +1 -2
- package/_mjs/IO/api/environment.mjs.map +1 -1
- package/_mjs/IO/api/foreachConcurrent.mjs +1 -2
- package/_mjs/IO/api/foreachConcurrent.mjs.map +1 -1
- package/_mjs/IO/api/foreachExec.mjs +1 -2
- package/_mjs/IO/api/foreachExec.mjs.map +1 -1
- package/_mjs/IO/api/fork.mjs +2 -4
- package/_mjs/IO/api/fork.mjs.map +1 -1
- package/_mjs/IO/api/forkAll.mjs +1 -2
- package/_mjs/IO/api/forkAll.mjs.map +1 -1
- package/_mjs/IO/api/forkDaemon.mjs +1 -2
- package/_mjs/IO/api/forkDaemon.mjs.map +1 -1
- package/_mjs/IO/api/forkIn.mjs +1 -2
- package/_mjs/IO/api/forkIn.mjs.map +1 -1
- package/_mjs/IO/api/forkScoped.mjs +1 -2
- package/_mjs/IO/api/forkScoped.mjs.map +1 -1
- package/_mjs/IO/api/fulfill.mjs +1 -2
- package/_mjs/IO/api/fulfill.mjs.map +1 -1
- package/_mjs/IO/api/interrupt.mjs +1 -2
- package/_mjs/IO/api/interrupt.mjs.map +1 -1
- package/_mjs/IO/api/memoize.mjs +1 -2
- package/_mjs/IO/api/memoize.mjs.map +1 -1
- package/_mjs/IO/api/onTermination.mjs +1 -2
- package/_mjs/IO/api/onTermination.mjs.map +1 -1
- package/_mjs/IO/api/once.mjs +1 -2
- package/_mjs/IO/api/once.mjs.map +1 -1
- package/_mjs/IO/api/patchFiberRefs.mjs +2 -4
- package/_mjs/IO/api/patchFiberRefs.mjs.map +1 -1
- package/_mjs/IO/api/provideLayer.mjs +1 -2
- package/_mjs/IO/api/provideLayer.mjs.map +1 -1
- package/_mjs/IO/api/provideScope.mjs +2 -4
- package/_mjs/IO/api/provideScope.mjs.map +1 -1
- package/_mjs/IO/api/provideSomeLayer.mjs +1 -2
- package/_mjs/IO/api/provideSomeLayer.mjs.map +1 -1
- package/_mjs/IO/api/provideSomeRuntime.mjs +1 -2
- package/_mjs/IO/api/provideSomeRuntime.mjs.map +1 -1
- package/_mjs/IO/api/race.mjs +1 -2
- package/_mjs/IO/api/race.mjs.map +1 -1
- package/_mjs/IO/api/raceFirst.mjs +1 -2
- package/_mjs/IO/api/raceFirst.mjs.map +1 -1
- package/_mjs/IO/api/raceWith.mjs +1 -2
- package/_mjs/IO/api/raceWith.mjs.map +1 -1
- package/_mjs/IO/api/randomWith.mjs +2 -4
- package/_mjs/IO/api/randomWith.mjs.map +1 -1
- package/_mjs/IO/api/repeat.mjs +1 -2
- package/_mjs/IO/api/repeat.mjs.map +1 -1
- package/_mjs/IO/api/retry.mjs +1 -2
- package/_mjs/IO/api/retry.mjs.map +1 -1
- package/_mjs/IO/api/schedule.mjs +1 -2
- package/_mjs/IO/api/schedule.mjs.map +1 -1
- package/_mjs/IO/api/scope.mjs +1 -1
- package/_mjs/IO/api/scope.mjs.map +1 -1
- package/_mjs/IO/api/scopeWith.mjs +1 -2
- package/_mjs/IO/api/scopeWith.mjs.map +1 -1
- package/_mjs/IO/api/scoped.mjs +1 -2
- package/_mjs/IO/api/scoped.mjs.map +1 -1
- package/_mjs/IO/api/sleep.mjs +1 -2
- package/_mjs/IO/api/sleep.mjs.map +1 -1
- package/_mjs/IO/api/stateful.mjs +1 -2
- package/_mjs/IO/api/stateful.mjs.map +1 -1
- package/_mjs/IO/api/supervised.mjs +1 -2
- package/_mjs/IO/api/supervised.mjs.map +1 -1
- package/_mjs/IO/api/timeout.mjs +1 -2
- package/_mjs/IO/api/timeout.mjs.map +1 -1
- package/_mjs/IO/api/transplant.mjs +1 -2
- package/_mjs/IO/api/transplant.mjs.map +1 -1
- package/_mjs/IO/api/whenFiberRef.mjs +1 -2
- package/_mjs/IO/api/whenFiberRef.mjs.map +1 -1
- package/_mjs/IO/api/whenRef.mjs +1 -2
- package/_mjs/IO/api/whenRef.mjs.map +1 -1
- package/_mjs/IO/api/withChildren.mjs +1 -2
- package/_mjs/IO/api/withChildren.mjs.map +1 -1
- package/_mjs/IO/api/withEarlyRelease.mjs +1 -2
- package/_mjs/IO/api/withEarlyRelease.mjs.map +1 -1
- package/_mjs/IO/api/withFinalizer.mjs +1 -2
- package/_mjs/IO/api/withFinalizer.mjs.map +1 -1
- package/_mjs/IO/api/withFinalizerExit.mjs +1 -2
- package/_mjs/IO/api/withFinalizerExit.mjs.map +1 -1
- package/_mjs/IO/api/zipConcurrent.mjs +1 -2
- package/_mjs/IO/api/zipConcurrent.mjs.map +1 -1
- package/_mjs/IO/api.mjs +5 -4
- package/_mjs/IO/api.mjs.map +1 -1
- package/_mjs/IO/definition.mjs +1 -2
- package/_mjs/IO/definition.mjs.map +1 -1
- package/_mjs/IO/runtime.mjs +5 -4
- package/_mjs/IO/runtime.mjs.map +1 -1
- package/_mjs/IO.mjs +2 -1
- package/_mjs/IOEnv/definition.mjs +1 -2
- package/_mjs/IOEnv/definition.mjs.map +1 -1
- package/_mjs/IOEnv/live.mjs +1 -2
- package/_mjs/IOEnv/live.mjs.map +1 -1
- package/_mjs/IOEnv/services.mjs +1 -2
- package/_mjs/IOEnv/services.mjs.map +1 -1
- package/_mjs/InterruptStatus/constructors.mjs +1 -2
- package/_mjs/InterruptStatus/constructors.mjs.map +1 -1
- package/_mjs/InterruptStatus/definition.mjs +1 -2
- package/_mjs/InterruptStatus/definition.mjs.map +1 -1
- package/_mjs/Layer/MemoMap.mjs +1 -2
- package/_mjs/Layer/MemoMap.mjs.map +1 -1
- package/_mjs/Layer/api.mjs +1 -2
- package/_mjs/Layer/api.mjs.map +1 -1
- package/_mjs/Layer/definition.mjs +1 -2
- package/_mjs/Layer/definition.mjs.map +1 -1
- package/_mjs/LogLevel.mjs +1 -2
- package/_mjs/LogLevel.mjs.map +1 -1
- package/_mjs/LogSpan.mjs +1 -2
- package/_mjs/LogSpan.mjs.map +1 -1
- package/_mjs/Logger/api.mjs +1 -2
- package/_mjs/Logger/api.mjs.map +1 -1
- package/_mjs/Logger/constructors.mjs +1 -2
- package/_mjs/Logger/constructors.mjs.map +1 -1
- package/_mjs/Logger/definition.mjs +1 -2
- package/_mjs/Logger/definition.mjs.map +1 -1
- package/_mjs/MVar/api.mjs +1 -2
- package/_mjs/MVar/api.mjs.map +1 -1
- package/_mjs/MVar/definition.mjs +1 -2
- package/_mjs/MVar/definition.mjs.map +1 -1
- package/_mjs/Push/FlattenStrategy.mjs +1 -2
- package/_mjs/Push/FlattenStrategy.mjs.map +1 -1
- package/_mjs/Push/IndexedBuffer.mjs +1 -2
- package/_mjs/Push/IndexedBuffer.mjs.map +1 -1
- package/_mjs/Push/MergeStrategy.mjs +1 -2
- package/_mjs/Push/MergeStrategy.mjs.map +1 -1
- package/_mjs/Push/Operator/IOLoopOperator.mjs +1 -2
- package/_mjs/Push/Operator/IOLoopOperator.mjs.map +1 -1
- package/_mjs/Push/Operator/IOOperator.mjs +1 -2
- package/_mjs/Push/Operator/IOOperator.mjs.map +1 -1
- package/_mjs/Push/Operator/LoopOperator.mjs +1 -2
- package/_mjs/Push/Operator/LoopOperator.mjs.map +1 -1
- package/_mjs/Push/Operator/SyncOperator.mjs +1 -2
- package/_mjs/Push/Operator/SyncOperator.mjs.map +1 -1
- package/_mjs/Push/Producer/IOProducer.mjs +1 -2
- package/_mjs/Push/Producer/IOProducer.mjs.map +1 -1
- package/_mjs/Push/Producer/SyncProducer.mjs +1 -2
- package/_mjs/Push/Producer/SyncProducer.mjs.map +1 -1
- package/_mjs/Push/Sink.mjs +1 -2
- package/_mjs/Push/Sink.mjs.map +1 -1
- package/_mjs/Push/api.mjs +1 -2
- package/_mjs/Push/api.mjs.map +1 -1
- package/_mjs/Push/definition.mjs +1 -2
- package/_mjs/Push/definition.mjs.map +1 -1
- package/_mjs/Push/internal.mjs +1 -2
- package/_mjs/Push/internal.mjs.map +1 -1
- package/_mjs/Queue/api/dimapIO.mjs +1 -2
- package/_mjs/Queue/api/dimapIO.mjs.map +1 -1
- package/_mjs/Queue/api/filterInputIO.mjs +5 -6
- package/_mjs/Queue/api/filterInputIO.mjs.map +1 -1
- package/_mjs/Queue/api/filterOutputIO.mjs +8 -9
- package/_mjs/Queue/api/filterOutputIO.mjs.map +1 -1
- package/_mjs/Queue/api/operations.mjs +1 -2
- package/_mjs/Queue/api/operations.mjs.map +1 -1
- package/_mjs/Queue/api/poll.mjs +1 -2
- package/_mjs/Queue/api/poll.mjs.map +1 -1
- package/_mjs/Queue/api/takeBetween.mjs +1 -2
- package/_mjs/Queue/api/takeBetween.mjs.map +1 -1
- package/_mjs/Queue/api/takeN.mjs +1 -2
- package/_mjs/Queue/api/takeN.mjs.map +1 -1
- package/_mjs/Queue/api/zipWithIO.mjs +1 -2
- package/_mjs/Queue/api/zipWithIO.mjs.map +1 -1
- package/_mjs/Queue/constructors.mjs +1 -2
- package/_mjs/Queue/constructors.mjs.map +1 -1
- package/_mjs/Queue/definition.mjs +1 -2
- package/_mjs/Queue/definition.mjs.map +1 -1
- package/_mjs/Queue/internal.mjs +1 -2
- package/_mjs/Queue/internal.mjs.map +1 -1
- package/_mjs/Queue/strategy.mjs +1 -2
- package/_mjs/Queue/strategy.mjs.map +1 -1
- package/_mjs/Random/api.mjs +1 -2
- package/_mjs/Random/api.mjs.map +1 -1
- package/_mjs/Random/definition.mjs +1 -2
- package/_mjs/Random/definition.mjs.map +1 -1
- package/_mjs/Random/live.mjs +1 -2
- package/_mjs/Random/live.mjs.map +1 -1
- package/_mjs/Ref/Atomic.mjs +1 -2
- package/_mjs/Ref/Atomic.mjs.map +1 -1
- package/_mjs/Ref/Derived.mjs +1 -2
- package/_mjs/Ref/Derived.mjs.map +1 -1
- package/_mjs/Ref/DerivedAll.mjs +1 -2
- package/_mjs/Ref/DerivedAll.mjs.map +1 -1
- package/_mjs/Ref/Synchronized/api.mjs +1 -2
- package/_mjs/Ref/Synchronized/api.mjs.map +1 -1
- package/_mjs/Ref/Synchronized/constructors.mjs +3 -3
- package/_mjs/Ref/Synchronized/constructors.mjs.map +1 -1
- package/_mjs/Ref/Synchronized/definition.mjs +1 -2
- package/_mjs/Ref/Synchronized/definition.mjs.map +1 -1
- package/_mjs/Ref/api/collect.mjs +1 -2
- package/_mjs/Ref/api/collect.mjs.map +1 -1
- package/_mjs/Ref/api/dimap.mjs +1 -2
- package/_mjs/Ref/api/dimap.mjs.map +1 -1
- package/_mjs/Ref/api/filter.mjs +1 -2
- package/_mjs/Ref/api/filter.mjs.map +1 -1
- package/_mjs/Ref/api/get.mjs +1 -2
- package/_mjs/Ref/api/get.mjs.map +1 -1
- package/_mjs/Ref/api/match.mjs +1 -2
- package/_mjs/Ref/api/match.mjs.map +1 -1
- package/_mjs/Ref/api/matchAll.mjs +1 -2
- package/_mjs/Ref/api/matchAll.mjs.map +1 -1
- package/_mjs/Ref/api/modify.mjs +1 -2
- package/_mjs/Ref/api/modify.mjs.map +1 -1
- package/_mjs/Ref/api/set.mjs +1 -2
- package/_mjs/Ref/api/set.mjs.map +1 -1
- package/_mjs/Ref/api.mjs +2 -4
- package/_mjs/Ref/api.mjs.map +1 -1
- package/_mjs/Ref/constructors.mjs +1 -2
- package/_mjs/Ref/constructors.mjs.map +1 -1
- package/_mjs/Ref/definition.mjs +1 -2
- package/_mjs/Ref/definition.mjs.map +1 -1
- package/_mjs/Reloadable/api.mjs +1 -2
- package/_mjs/Reloadable/api.mjs.map +1 -1
- package/_mjs/Reloadable/constructors.mjs +3 -3
- package/_mjs/Reloadable/constructors.mjs.map +1 -1
- package/_mjs/Reloadable/definition.mjs +1 -2
- package/_mjs/Reloadable/definition.mjs.map +1 -1
- package/_mjs/RuntimeFlags/Patch.mjs +1 -2
- package/_mjs/RuntimeFlags/Patch.mjs.map +1 -1
- package/_mjs/RuntimeFlags/RuntimeFlags.mjs +1 -2
- package/_mjs/RuntimeFlags/RuntimeFlags.mjs.map +1 -1
- package/_mjs/STM/api/atomically.mjs +1 -2
- package/_mjs/STM/api/atomically.mjs.map +1 -1
- package/_mjs/STM/api/core-api.mjs +1 -2
- package/_mjs/STM/api/core-api.mjs.map +1 -1
- package/_mjs/STM/api/core-constructors.mjs +1 -2
- package/_mjs/STM/api/core-constructors.mjs.map +1 -1
- package/_mjs/STM/api.mjs +1 -2
- package/_mjs/STM/api.mjs.map +1 -1
- package/_mjs/STM/definition.mjs +1 -2
- package/_mjs/STM/definition.mjs.map +1 -1
- package/_mjs/STM/driver.mjs +1 -2
- package/_mjs/STM/driver.mjs.map +1 -1
- package/_mjs/STM/internal/CommitState.mjs +1 -2
- package/_mjs/STM/internal/CommitState.mjs.map +1 -1
- package/_mjs/STM/internal/Entry.mjs +1 -2
- package/_mjs/STM/internal/Entry.mjs.map +1 -1
- package/_mjs/STM/internal/Journal.mjs +11 -12
- package/_mjs/STM/internal/Journal.mjs.map +1 -1
- package/_mjs/STM/internal/TryCommit.mjs +1 -2
- package/_mjs/STM/internal/TryCommit.mjs.map +1 -1
- package/_mjs/STM/internal/Versioned.mjs +1 -2
- package/_mjs/STM/internal/Versioned.mjs.map +1 -1
- package/_mjs/Schedule/Decision.mjs +1 -2
- package/_mjs/Schedule/Decision.mjs.map +1 -1
- package/_mjs/Schedule/Driver.mjs +1 -2
- package/_mjs/Schedule/Driver.mjs.map +1 -1
- package/_mjs/Schedule/api/driver.mjs +1 -2
- package/_mjs/Schedule/api/driver.mjs.map +1 -1
- package/_mjs/Schedule/api.mjs +1 -2
- package/_mjs/Schedule/api.mjs.map +1 -1
- package/_mjs/Schedule/definition.mjs +1 -2
- package/_mjs/Schedule/definition.mjs.map +1 -1
- package/_mjs/Scope/Finalizer/definition.mjs +1 -2
- package/_mjs/Scope/Finalizer/definition.mjs.map +1 -1
- package/_mjs/Scope/Finalizer.mjs +1 -2
- package/_mjs/Scope/ReleaseMap/api/releaseAll.mjs +1 -2
- package/_mjs/Scope/ReleaseMap/api/releaseAll.mjs.map +1 -1
- package/_mjs/Scope/ReleaseMap/api.mjs +1 -2
- package/_mjs/Scope/ReleaseMap/api.mjs.map +1 -1
- package/_mjs/Scope/ReleaseMap/constructors.mjs +1 -2
- package/_mjs/Scope/ReleaseMap/constructors.mjs.map +1 -1
- package/_mjs/Scope/ReleaseMap/definition.mjs +1 -2
- package/_mjs/Scope/ReleaseMap/definition.mjs.map +1 -1
- package/_mjs/Scope/api.mjs +1 -2
- package/_mjs/Scope/api.mjs.map +1 -1
- package/_mjs/Scope/definition.mjs +1 -2
- package/_mjs/Scope/definition.mjs.map +1 -1
- package/_mjs/ScopedRef/api.mjs +1 -2
- package/_mjs/ScopedRef/api.mjs.map +1 -1
- package/_mjs/ScopedRef/definition.mjs +1 -2
- package/_mjs/ScopedRef/definition.mjs.map +1 -1
- package/_mjs/Semaphore/Reservation.mjs +1 -2
- package/_mjs/Semaphore/Reservation.mjs.map +1 -1
- package/_mjs/Semaphore/constructors.mjs +1 -2
- package/_mjs/Semaphore/constructors.mjs.map +1 -1
- package/_mjs/Semaphore/definition.mjs +1 -2
- package/_mjs/Semaphore/definition.mjs.map +1 -1
- package/_mjs/Sink/api.mjs +1 -2
- package/_mjs/Sink/api.mjs.map +1 -1
- package/_mjs/Sink/definition.mjs +1 -2
- package/_mjs/Sink/definition.mjs.map +1 -1
- package/_mjs/State/api.mjs +1 -2
- package/_mjs/State/api.mjs.map +1 -1
- package/_mjs/State/definition.mjs +1 -2
- package/_mjs/State/definition.mjs.map +1 -1
- package/_mjs/State/internal.mjs +1 -2
- package/_mjs/State/internal.mjs.map +1 -1
- package/_mjs/Stream/api/zipAllWith.mjs +1 -2
- package/_mjs/Stream/api/zipAllWith.mjs.map +1 -1
- package/_mjs/Stream/api/zipWith.mjs +1 -2
- package/_mjs/Stream/api/zipWith.mjs.map +1 -1
- package/_mjs/Stream/api/zipWithChunks.mjs +1 -2
- package/_mjs/Stream/api/zipWithChunks.mjs.map +1 -1
- package/_mjs/Stream/api.mjs +3 -3
- package/_mjs/Stream/api.mjs.map +1 -1
- package/_mjs/Stream/definition.mjs +1 -2
- package/_mjs/Stream/definition.mjs.map +1 -1
- package/_mjs/Stream/internal/DebounceState.mjs +1 -2
- package/_mjs/Stream/internal/DebounceState.mjs.map +1 -1
- package/_mjs/Stream/internal/Handoff.mjs +1 -2
- package/_mjs/Stream/internal/Handoff.mjs.map +1 -1
- package/_mjs/Stream/internal/Pull.mjs +1 -2
- package/_mjs/Stream/internal/Pull.mjs.map +1 -1
- package/_mjs/Stream/internal/SinkEndReason.mjs +1 -2
- package/_mjs/Stream/internal/SinkEndReason.mjs.map +1 -1
- package/_mjs/Stream/internal/Take.mjs +1 -2
- package/_mjs/Stream/internal/Take.mjs.map +1 -1
- package/_mjs/Stream/internal/util.mjs +1 -2
- package/_mjs/Stream/internal/util.mjs.map +1 -1
- package/_mjs/Subject/Atomic.mjs +1 -2
- package/_mjs/Subject/Atomic.mjs.map +1 -1
- package/_mjs/Subject/DeferredRef.mjs +1 -2
- package/_mjs/Subject/DeferredRef.mjs.map +1 -1
- package/_mjs/Subject/Hold.mjs +1 -2
- package/_mjs/Subject/Hold.mjs.map +1 -1
- package/_mjs/Subject/RefSubject/Atomic.mjs +19 -24
- package/_mjs/Subject/RefSubject/Atomic.mjs.map +1 -1
- package/_mjs/Subject/RefSubject/Derived.mjs +1 -2
- package/_mjs/Subject/RefSubject/Derived.mjs.map +1 -1
- package/_mjs/Subject/RefSubject/RefSubject.mjs +1 -2
- package/_mjs/Subject/RefSubject/RefSubject.mjs.map +1 -1
- package/_mjs/Subject/RefSubject/constructors.mjs +1 -2
- package/_mjs/Subject/RefSubject/constructors.mjs.map +1 -1
- package/_mjs/Subject/api.mjs +2 -4
- package/_mjs/Subject/api.mjs.map +1 -1
- package/_mjs/Subject/definition.mjs +1 -2
- package/_mjs/Subject/definition.mjs.map +1 -1
- package/_mjs/SubscriptionRef.mjs +1 -2
- package/_mjs/SubscriptionRef.mjs.map +1 -1
- package/_mjs/Supervisor/api.mjs +1 -2
- package/_mjs/Supervisor/api.mjs.map +1 -1
- package/_mjs/Supervisor/constructors.mjs +1 -2
- package/_mjs/Supervisor/constructors.mjs.map +1 -1
- package/_mjs/Supervisor/definition.mjs +2 -4
- package/_mjs/Supervisor/definition.mjs.map +1 -1
- package/_mjs/SupervisorPatch.mjs +1 -2
- package/_mjs/SupervisorPatch.mjs.map +1 -1
- package/_mjs/TExit/constructors.mjs +1 -2
- package/_mjs/TExit/constructors.mjs.map +1 -1
- package/_mjs/TExit/definition.mjs +1 -2
- package/_mjs/TExit/definition.mjs.map +1 -1
- package/_mjs/TFuture/api.mjs +1 -2
- package/_mjs/TFuture/api.mjs.map +1 -1
- package/_mjs/TFuture/constructors.mjs +1 -2
- package/_mjs/TFuture/constructors.mjs.map +1 -1
- package/_mjs/TFuture/definition.mjs +1 -2
- package/_mjs/TFuture/definition.mjs.map +1 -1
- package/_mjs/TReentrantLock/api.mjs +1 -2
- package/_mjs/TReentrantLock/api.mjs.map +1 -1
- package/_mjs/TReentrantLock/definition.mjs +1 -2
- package/_mjs/TReentrantLock/definition.mjs.map +1 -1
- package/_mjs/TRef/api.mjs +1 -2
- package/_mjs/TRef/api.mjs.map +1 -1
- package/_mjs/TRef/constructors.mjs +11 -5
- package/_mjs/TRef/constructors.mjs.map +1 -1
- package/_mjs/TRef/definition.mjs +1 -2
- package/_mjs/TRef/definition.mjs.map +1 -1
- package/_mjs/TSemaphore/api.mjs +1 -2
- package/_mjs/TSemaphore/api.mjs.map +1 -1
- package/_mjs/TSemaphore/constructors.mjs +1 -2
- package/_mjs/TSemaphore/constructors.mjs.map +1 -1
- package/_mjs/TSemaphore/definition.mjs +1 -2
- package/_mjs/TSemaphore/definition.mjs.map +1 -1
- package/_mjs/TxnId.mjs +1 -2
- package/_mjs/TxnId.mjs.map +1 -1
- package/_mjs/collection/immutable/Conc/dropUntilIO.mjs +1 -2
- package/_mjs/collection/immutable/Conc/dropUntilIO.mjs.map +1 -1
- package/_mjs/collection/immutable/Conc/dropWhileIO.mjs +1 -2
- package/_mjs/collection/immutable/Conc/dropWhileIO.mjs.map +1 -1
- package/_mjs/collection/immutable/Conc/filterIO.mjs +1 -2
- package/_mjs/collection/immutable/Conc/filterIO.mjs.map +1 -1
- package/_mjs/collection/immutable/Conc/findIO.mjs +1 -2
- package/_mjs/collection/immutable/Conc/findIO.mjs.map +1 -1
- package/_mjs/collection/immutable/Conc/mapIO.mjs +1 -2
- package/_mjs/collection/immutable/Conc/mapIO.mjs.map +1 -1
- package/_mjs/collection/immutable/Conc/takeWhileIO.mjs +1 -2
- package/_mjs/collection/immutable/Conc/takeWhileIO.mjs.map +1 -1
- package/_mjs/data/Exit/foreachIO.mjs +1 -2
- package/_mjs/data/Exit/foreachIO.mjs.map +1 -1
- package/_mjs/internal/BackgroundScheduler.mjs +1 -2
- package/_mjs/internal/BackgroundScheduler.mjs.map +1 -1
- package/_mjs/internal/HashedPair.mjs +1 -2
- package/_mjs/internal/HashedPair.mjs.map +1 -1
- package/_mjs/internal/Hub.mjs +1 -2
- package/_mjs/internal/Hub.mjs.map +1 -1
- package/_mjs/internal/IsFatal.mjs +1 -6
- package/_mjs/internal/IsFatal.mjs.map +1 -1
- package/_mjs/internal/MutableQueue.mjs +1 -2
- package/_mjs/internal/MutableQueue.mjs.map +1 -1
- package/_mjs/internal/Scheduler.mjs +1 -2
- package/_mjs/internal/Scheduler.mjs.map +1 -1
- package/_mjs/internal/StackTraceBuilder.mjs +1 -2
- package/_mjs/internal/StackTraceBuilder.mjs.map +1 -1
- package/_src/IO/api/asyncIterable.ts +103 -0
- package/_src/IO.ts +1 -0
- package/_src/Queue/api/filterInputIO.ts +8 -3
- package/_src/Queue/api/filterOutputIO.ts +8 -3
- package/_src/Scope/Finalizer/definition.ts +6 -7
- package/_src/Scope/ReleaseMap/definition.ts +6 -7
- package/package.json +2 -2
package/_cjs/Random/api.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"api.cjs","names":["tsplus_module_1"],"sources":["../../esm/Random/api.js"],"sourcesContent":["const fileName_1 = \"(@fncts/io) src/Random/api.ts\";\nimport * as tsplus_module_1 from \"@fncts/io/IO/api/randomWith\";\n/**\n * @tsplus static fncts.io.RandomOps nextDouble\n */\nexport const nextDouble = tsplus_module_1.randomWith((random) => random.nextDouble, fileName_1 + \":6:40\");\n/**\n * @tsplus static fncts.io.RandomOps nextBoolean\n */\nexport const nextBoolean = tsplus_module_1.randomWith((random) => random.nextBoolean, fileName_1 + \":11:41\");\n/**\n * @tsplus static fncts.io.RandomOps nextInt\n */\nexport const nextInt = tsplus_module_1.randomWith((random) => random.nextInt, fileName_1 + \":16:37\");\n/**\n * @tsplus static fncts.io.RandomOps nextRange\n */\nexport function nextRange(low, high, __tsplusTrace) {\n return tsplus_module_1.randomWith((random) => random.nextRange(low, high, __tsplusTrace), __tsplusTrace);\n}\n/**\n * @tsplus static fncts.io.RandomOps nextIntBetween\n */\nexport function nextIntBetween(low, high, __tsplusTrace) {\n return tsplus_module_1.randomWith((random) => random.nextIntBetween(low, high, __tsplusTrace), __tsplusTrace);\n}\n/**\n * @tsplus static fncts.io.RandomOps nextBigIntBetween\n */\nexport function nextBigIntBetween(low, high, __tsplusTrace) {\n return tsplus_module_1.randomWith((random) => random.nextBigIntBetween(low, high, __tsplusTrace), __tsplusTrace);\n}\n/**\n * @tsplus static fncts.io.RandomOps nextArrayIntBetween\n */\nexport function nextArrayIntBetween(low, high, __tsplusTrace) {\n return tsplus_module_1.randomWith((random) => random.nextArrayIntBetween(low, high, __tsplusTrace), __tsplusTrace);\n}\n/**\n * @tsplus static fncts.io.RandomOps setSeed\n */\nexport function setSeed(seed, __tsplusTrace) {\n return tsplus_module_1.randomWith((random) => random.setSeed(seed, __tsplusTrace), __tsplusTrace);\n}\n//# sourceMappingURL=api.js.map"],"mappings":";;;;;AAAA,MAAM,aAAa;;;;AAKnB,MAAa,aAAaA,4BAAgB,YAAY,WAAW,OAAO,YAAY,aAAa,
|
|
1
|
+
{"version":3,"file":"api.cjs","names":["tsplus_module_1"],"sources":["../../esm/Random/api.js"],"sourcesContent":["const fileName_1 = \"(@fncts/io) src/Random/api.ts\";\nimport * as tsplus_module_1 from \"@fncts/io/IO/api/randomWith\";\n/**\n * @tsplus static fncts.io.RandomOps nextDouble\n */\nexport const nextDouble = tsplus_module_1.randomWith((random) => random.nextDouble, fileName_1 + \":6:40\");\n/**\n * @tsplus static fncts.io.RandomOps nextBoolean\n */\nexport const nextBoolean = tsplus_module_1.randomWith((random) => random.nextBoolean, fileName_1 + \":11:41\");\n/**\n * @tsplus static fncts.io.RandomOps nextInt\n */\nexport const nextInt = tsplus_module_1.randomWith((random) => random.nextInt, fileName_1 + \":16:37\");\n/**\n * @tsplus static fncts.io.RandomOps nextRange\n */\nexport function nextRange(low, high, __tsplusTrace) {\n return tsplus_module_1.randomWith((random) => random.nextRange(low, high, __tsplusTrace), __tsplusTrace);\n}\n/**\n * @tsplus static fncts.io.RandomOps nextIntBetween\n */\nexport function nextIntBetween(low, high, __tsplusTrace) {\n return tsplus_module_1.randomWith((random) => random.nextIntBetween(low, high, __tsplusTrace), __tsplusTrace);\n}\n/**\n * @tsplus static fncts.io.RandomOps nextBigIntBetween\n */\nexport function nextBigIntBetween(low, high, __tsplusTrace) {\n return tsplus_module_1.randomWith((random) => random.nextBigIntBetween(low, high, __tsplusTrace), __tsplusTrace);\n}\n/**\n * @tsplus static fncts.io.RandomOps nextArrayIntBetween\n */\nexport function nextArrayIntBetween(low, high, __tsplusTrace) {\n return tsplus_module_1.randomWith((random) => random.nextArrayIntBetween(low, high, __tsplusTrace), __tsplusTrace);\n}\n/**\n * @tsplus static fncts.io.RandomOps setSeed\n */\nexport function setSeed(seed, __tsplusTrace) {\n return tsplus_module_1.randomWith((random) => random.setSeed(seed, __tsplusTrace), __tsplusTrace);\n}\n//# sourceMappingURL=api.js.map"],"mappings":";;;;;AAAA,MAAM,aAAa;;;;AAKnB,MAAa,aAAaA,4BAAgB,YAAY,WAAW,OAAO,YAAY,aAAa,OAAO;;;;AAIxG,MAAa,cAAcA,4BAAgB,YAAY,WAAW,OAAO,aAAa,aAAa,QAAQ;;;;AAI3G,MAAa,UAAUA,4BAAgB,YAAY,WAAW,OAAO,SAAS,aAAa,QAAQ;;;;AAInG,SAAgB,UAAU,KAAK,MAAM,eAAe;CAChD,OAAOA,4BAAgB,YAAY,WAAW,OAAO,UAAU,KAAK,MAAM,aAAa,GAAG,aAAa;AAC3G;;;;AAIA,SAAgB,eAAe,KAAK,MAAM,eAAe;CACrD,OAAOA,4BAAgB,YAAY,WAAW,OAAO,eAAe,KAAK,MAAM,aAAa,GAAG,aAAa;AAChH;;;;AAIA,SAAgB,kBAAkB,KAAK,MAAM,eAAe;CACxD,OAAOA,4BAAgB,YAAY,WAAW,OAAO,kBAAkB,KAAK,MAAM,aAAa,GAAG,aAAa;AACnH;;;;AAIA,SAAgB,oBAAoB,KAAK,MAAM,eAAe;CAC1D,OAAOA,4BAAgB,YAAY,WAAW,OAAO,oBAAoB,KAAK,MAAM,aAAa,GAAG,aAAa;AACrH;;;;AAIA,SAAgB,QAAQ,MAAM,eAAe;CACzC,OAAOA,4BAAgB,YAAY,WAAW,OAAO,QAAQ,MAAM,aAAa,GAAG,aAAa;AACpG"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
const
|
|
2
|
+
const require_rolldown_runtime = require("../rolldown-runtime.cjs");
|
|
3
3
|
let _fncts_base_data_Tag_constructors = require("@fncts/base/data/Tag/constructors");
|
|
4
|
-
_fncts_base_data_Tag_constructors =
|
|
5
|
-
|
|
4
|
+
_fncts_base_data_Tag_constructors = require_rolldown_runtime.__toESM(_fncts_base_data_Tag_constructors, 1);
|
|
5
|
+
// build/esm/Random/definition.js
|
|
6
6
|
/**
|
|
7
7
|
* @tsplus static fncts.io.RandomOps Tag
|
|
8
8
|
* @tsplus implicit
|
|
@@ -13,7 +13,6 @@ const RandomTag = _fncts_base_data_Tag_constructors.makeTag("fncts.io.Random");
|
|
|
13
13
|
* @tsplus companion fncts.io.RandomOps
|
|
14
14
|
*/
|
|
15
15
|
var Random = class {};
|
|
16
|
-
//#endregion
|
|
17
16
|
exports.Random = Random;
|
|
18
17
|
exports.RandomTag = RandomTag;
|
|
19
18
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"definition.cjs","names":["tsplus_module_1"],"sources":["../../esm/Random/definition.js"],"sourcesContent":["import * as tsplus_module_1 from \"@fncts/base/data/Tag/constructors\";\n/**\n * @tsplus static fncts.io.RandomOps Tag\n * @tsplus implicit\n */\nexport const RandomTag = tsplus_module_1.makeTag(\"fncts.io.Random\");\n/**\n * @tsplus type fncts.io.Random\n * @tsplus companion fncts.io.RandomOps\n */\nexport class Random {\n}\n//# sourceMappingURL=definition.js.map"],"mappings":";;;;;;;;;AAKA,MAAa,YAAYA,kCAAgB,QAAQ,
|
|
1
|
+
{"version":3,"file":"definition.cjs","names":["tsplus_module_1"],"sources":["../../esm/Random/definition.js"],"sourcesContent":["import * as tsplus_module_1 from \"@fncts/base/data/Tag/constructors\";\n/**\n * @tsplus static fncts.io.RandomOps Tag\n * @tsplus implicit\n */\nexport const RandomTag = tsplus_module_1.makeTag(\"fncts.io.Random\");\n/**\n * @tsplus type fncts.io.Random\n * @tsplus companion fncts.io.RandomOps\n */\nexport class Random {\n}\n//# sourceMappingURL=definition.js.map"],"mappings":";;;;;;;;;AAKA,MAAa,YAAYA,kCAAgB,QAAQ,iBAAiB;;;;;AAKlE,IAAa,SAAb,MAAoB,CACpB"}
|
package/_cjs/Random/live.cjs
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
const
|
|
2
|
+
const require_rolldown_runtime = require("../rolldown-runtime.cjs");
|
|
3
3
|
let _fncts_io_IO_api = require("@fncts/io/IO/api");
|
|
4
|
-
_fncts_io_IO_api =
|
|
4
|
+
_fncts_io_IO_api = require_rolldown_runtime.__toESM(_fncts_io_IO_api, 1);
|
|
5
5
|
let _fncts_base_util_rand = require("@fncts/base/util/rand");
|
|
6
|
-
|
|
6
|
+
// build/esm/Random/live.js
|
|
7
7
|
const fileName_1 = "(@fncts/io) src/Random/live.ts";
|
|
8
8
|
var LiveRandom = class {
|
|
9
9
|
prng;
|
|
@@ -35,7 +35,6 @@ var LiveRandom = class {
|
|
|
35
35
|
* @tsplus static fncts.io.RandomOps Live
|
|
36
36
|
*/
|
|
37
37
|
const live = new LiveRandom(Math.random() * 4294967296 >>> 0);
|
|
38
|
-
//#endregion
|
|
39
38
|
exports.LiveRandom = LiveRandom;
|
|
40
39
|
exports.live = live;
|
|
41
40
|
|
package/_cjs/Random/live.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"live.cjs","names":["MutableRandom","MersenneTwister","tsplus_module_1"],"sources":["../../esm/Random/live.js"],"sourcesContent":["const fileName_1 = \"(@fncts/io) src/Random/live.ts\";\nimport * as tsplus_module_1 from \"@fncts/io/IO/api\";\nimport { MersenneTwister, MutableRandom } from \"@fncts/base/util/rand\";\nexport class LiveRandom {\n prng;\n constructor(seed) {\n this.prng = new MutableRandom(new MersenneTwister(seed));\n }\n setSeed(seed) {\n return tsplus_module_1.succeed(() => {\n this.prng.setSeed(seed);\n }, fileName_1 + \":12:22\");\n }\n nextDouble = tsplus_module_1.succeed(() => this.prng.nextDouble(), fileName_1 + \":16:27\");\n nextInt = tsplus_module_1.succeed(() => this.prng.nextInt(), fileName_1 + \":17:27\");\n nextBoolean = tsplus_module_1.flatMap((n) => tsplus_module_1.succeedNow(n > 0.5, fileName_1 + \":18:61\"), fileName_1 + \":18:40\")(this.nextDouble);\n nextRange(low, high, __tsplusTrace) {\n return tsplus_module_1.flatMap((n) => tsplus_module_1.succeedNow((high - low) * n + low, fileName_1 + \":20:56\"), fileName_1 + \":20:35\")(this.nextDouble);\n }\n nextIntBetween(low, high, __tsplusTrace) {\n return tsplus_module_1.succeed(() => this.prng.nextInt(low, high), fileName_1 + \":23:22\");\n }\n nextBigIntBetween(low, high, __tsplusTrace) {\n return tsplus_module_1.succeed(() => this.prng.nextBigInt(low, high), fileName_1 + \":26:22\");\n }\n nextArrayIntBetween(low, high, __tsplusTrace) {\n return tsplus_module_1.succeed(() => this.prng.nextArrayInt(low, high), fileName_1 + \":29:22\");\n }\n}\n/**\n * @tsplus static fncts.io.RandomOps Live\n */\nexport const live = new LiveRandom((Math.random() * 4294967296) >>> 0);\n//# sourceMappingURL=live.js.map"],"mappings":";;;;;;AAAA,MAAM,aAAa;AAGnB,IAAa,aAAb,MAAwB;CACpB;CACA,YAAY,MAAM;
|
|
1
|
+
{"version":3,"file":"live.cjs","names":["MutableRandom","MersenneTwister","tsplus_module_1"],"sources":["../../esm/Random/live.js"],"sourcesContent":["const fileName_1 = \"(@fncts/io) src/Random/live.ts\";\nimport * as tsplus_module_1 from \"@fncts/io/IO/api\";\nimport { MersenneTwister, MutableRandom } from \"@fncts/base/util/rand\";\nexport class LiveRandom {\n prng;\n constructor(seed) {\n this.prng = new MutableRandom(new MersenneTwister(seed));\n }\n setSeed(seed) {\n return tsplus_module_1.succeed(() => {\n this.prng.setSeed(seed);\n }, fileName_1 + \":12:22\");\n }\n nextDouble = tsplus_module_1.succeed(() => this.prng.nextDouble(), fileName_1 + \":16:27\");\n nextInt = tsplus_module_1.succeed(() => this.prng.nextInt(), fileName_1 + \":17:27\");\n nextBoolean = tsplus_module_1.flatMap((n) => tsplus_module_1.succeedNow(n > 0.5, fileName_1 + \":18:61\"), fileName_1 + \":18:40\")(this.nextDouble);\n nextRange(low, high, __tsplusTrace) {\n return tsplus_module_1.flatMap((n) => tsplus_module_1.succeedNow((high - low) * n + low, fileName_1 + \":20:56\"), fileName_1 + \":20:35\")(this.nextDouble);\n }\n nextIntBetween(low, high, __tsplusTrace) {\n return tsplus_module_1.succeed(() => this.prng.nextInt(low, high), fileName_1 + \":23:22\");\n }\n nextBigIntBetween(low, high, __tsplusTrace) {\n return tsplus_module_1.succeed(() => this.prng.nextBigInt(low, high), fileName_1 + \":26:22\");\n }\n nextArrayIntBetween(low, high, __tsplusTrace) {\n return tsplus_module_1.succeed(() => this.prng.nextArrayInt(low, high), fileName_1 + \":29:22\");\n }\n}\n/**\n * @tsplus static fncts.io.RandomOps Live\n */\nexport const live = new LiveRandom((Math.random() * 4294967296) >>> 0);\n//# sourceMappingURL=live.js.map"],"mappings":";;;;;;AAAA,MAAM,aAAa;AAGnB,IAAa,aAAb,MAAwB;CACpB;CACA,YAAY,MAAM;EACd,KAAK,OAAO,IAAIA,sBAAAA,cAAc,IAAIC,sBAAAA,gBAAgB,IAAI,CAAC;CAC3D;CACA,QAAQ,MAAM;EACV,OAAOC,iBAAgB,cAAc;GACjC,KAAK,KAAK,QAAQ,IAAI;EAC1B,GAAG,aAAa,QAAQ;CAC5B;CACA,aAAaA,iBAAgB,cAAc,KAAK,KAAK,WAAW,GAAG,aAAa,QAAQ;CACxF,UAAUA,iBAAgB,cAAc,KAAK,KAAK,QAAQ,GAAG,aAAa,QAAQ;CAClF,cAAcA,iBAAgB,SAAS,MAAMA,iBAAgB,WAAW,IAAI,IAAK,aAAa,QAAQ,GAAG,aAAa,QAAQ,CAAC,CAAC,KAAK,UAAU;CAC/I,UAAU,KAAK,MAAM,eAAe;EAChC,OAAOA,iBAAgB,SAAS,MAAMA,iBAAgB,YAAY,OAAO,OAAO,IAAI,KAAK,aAAa,QAAQ,GAAG,aAAa,QAAQ,CAAC,CAAC,KAAK,UAAU;CAC3J;CACA,eAAe,KAAK,MAAM,eAAe;EACrC,OAAOA,iBAAgB,cAAc,KAAK,KAAK,QAAQ,KAAK,IAAI,GAAG,aAAa,QAAQ;CAC5F;CACA,kBAAkB,KAAK,MAAM,eAAe;EACxC,OAAOA,iBAAgB,cAAc,KAAK,KAAK,WAAW,KAAK,IAAI,GAAG,aAAa,QAAQ;CAC/F;CACA,oBAAoB,KAAK,MAAM,eAAe;EAC1C,OAAOA,iBAAgB,cAAc,KAAK,KAAK,aAAa,KAAK,IAAI,GAAG,aAAa,QAAQ;CACjG;AACJ;;;;AAIA,MAAa,OAAO,IAAI,WAAY,KAAK,OAAO,IAAI,eAAgB,CAAC"}
|
package/_cjs/Ref/Atomic.cjs
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
const
|
|
2
|
+
const require_rolldown_runtime = require("../rolldown-runtime.cjs");
|
|
3
3
|
const require_Ref_definition = require("./definition.cjs");
|
|
4
4
|
const require_Ref_DerivedAll = require("./DerivedAll.cjs");
|
|
5
5
|
const require_Ref_Derived = require("./Derived.cjs");
|
|
6
6
|
let _fncts_io_IO_api = require("@fncts/io/IO/api");
|
|
7
|
-
_fncts_io_IO_api =
|
|
8
|
-
|
|
7
|
+
_fncts_io_IO_api = require_rolldown_runtime.__toESM(_fncts_io_IO_api, 1);
|
|
8
|
+
// build/esm/Ref/Atomic.js
|
|
9
9
|
const fileName_1 = "(@fncts/io) src/Ref/Atomic.ts";
|
|
10
10
|
const AtomicTypeId = Symbol.for("fncts.io.Ref.Atomic");
|
|
11
11
|
/**
|
|
@@ -50,7 +50,6 @@ var Atomic = class extends require_Ref_definition.RefInternal {
|
|
|
50
50
|
}, fileName_1 + ":63:22");
|
|
51
51
|
}
|
|
52
52
|
};
|
|
53
|
-
//#endregion
|
|
54
53
|
exports.Atomic = Atomic;
|
|
55
54
|
exports.AtomicTypeId = AtomicTypeId;
|
|
56
55
|
|
package/_cjs/Ref/Atomic.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Atomic.cjs","names":["RefInternal","Derived","DerivedAll","tsplus_module_1"],"sources":["../../esm/Ref/Atomic.js"],"sourcesContent":["const fileName_1 = \"(@fncts/io) src/Ref/Atomic.ts\";\nimport * as tsplus_module_1 from \"@fncts/io/IO/api\";\nimport { RefInternal } from \"./definition.js\";\nimport { Derived } from \"./Derived.js\";\nimport { DerivedAll } from \"./DerivedAll.js\";\nexport const AtomicTypeId = Symbol.for(\"fncts.io.Ref.Atomic\");\n/**\n * @tsplus type fncts.io.Ref.Atomic\n */\nexport class Atomic extends RefInternal {\n value;\n [AtomicTypeId] = AtomicTypeId;\n constructor(value) {\n super();\n this.value = value;\n this.match = this.match.bind(this);\n this.matchAll = this.matchAll.bind(this);\n this.set = this.set.bind(this);\n }\n match(_ea, _eb, ca, bd) {\n return new Derived((f) => f(this, bd, ca));\n }\n matchAll(_ea, _eb, _ec, ca, bd) {\n return new DerivedAll((f) => f(this, bd, ca));\n }\n get unsafeGet() {\n return this.value.get;\n }\n unsafeSet(a) {\n this.value.set(a);\n }\n get get() {\n return tsplus_module_1.succeed(() => this.value.get, fileName_1 + \":53:22\");\n }\n set(a) {\n return tsplus_module_1.succeed(() => {\n this.value.set(a);\n }, fileName_1 + \":57:22\");\n }\n modify(f, __tsplusTrace) {\n return tsplus_module_1.succeed(() => {\n const v = this.unsafeGet;\n const o = f(v);\n this.unsafeSet(o[1]);\n return o[0];\n }, fileName_1 + \":63:22\");\n }\n}\n//# sourceMappingURL=Atomic.js.map"],"mappings":";;;;;;;;AAAA,MAAM,aAAa;AAKnB,MAAa,eAAe,OAAO,IAAI,
|
|
1
|
+
{"version":3,"file":"Atomic.cjs","names":["RefInternal","Derived","DerivedAll","tsplus_module_1"],"sources":["../../esm/Ref/Atomic.js"],"sourcesContent":["const fileName_1 = \"(@fncts/io) src/Ref/Atomic.ts\";\nimport * as tsplus_module_1 from \"@fncts/io/IO/api\";\nimport { RefInternal } from \"./definition.js\";\nimport { Derived } from \"./Derived.js\";\nimport { DerivedAll } from \"./DerivedAll.js\";\nexport const AtomicTypeId = Symbol.for(\"fncts.io.Ref.Atomic\");\n/**\n * @tsplus type fncts.io.Ref.Atomic\n */\nexport class Atomic extends RefInternal {\n value;\n [AtomicTypeId] = AtomicTypeId;\n constructor(value) {\n super();\n this.value = value;\n this.match = this.match.bind(this);\n this.matchAll = this.matchAll.bind(this);\n this.set = this.set.bind(this);\n }\n match(_ea, _eb, ca, bd) {\n return new Derived((f) => f(this, bd, ca));\n }\n matchAll(_ea, _eb, _ec, ca, bd) {\n return new DerivedAll((f) => f(this, bd, ca));\n }\n get unsafeGet() {\n return this.value.get;\n }\n unsafeSet(a) {\n this.value.set(a);\n }\n get get() {\n return tsplus_module_1.succeed(() => this.value.get, fileName_1 + \":53:22\");\n }\n set(a) {\n return tsplus_module_1.succeed(() => {\n this.value.set(a);\n }, fileName_1 + \":57:22\");\n }\n modify(f, __tsplusTrace) {\n return tsplus_module_1.succeed(() => {\n const v = this.unsafeGet;\n const o = f(v);\n this.unsafeSet(o[1]);\n return o[0];\n }, fileName_1 + \":63:22\");\n }\n}\n//# sourceMappingURL=Atomic.js.map"],"mappings":";;;;;;;;AAAA,MAAM,aAAa;AAKnB,MAAa,eAAe,OAAO,IAAI,qBAAqB;;;;AAI5D,IAAa,SAAb,cAA4BA,uBAAAA,YAAY;CACpC;CACA,CAAC,gBAAgB;CACjB,YAAY,OAAO;EACf,MAAM;EACN,KAAK,QAAQ;EACb,KAAK,QAAQ,KAAK,MAAM,KAAK,IAAI;EACjC,KAAK,WAAW,KAAK,SAAS,KAAK,IAAI;EACvC,KAAK,MAAM,KAAK,IAAI,KAAK,IAAI;CACjC;CACA,MAAM,KAAK,KAAK,IAAI,IAAI;EACpB,OAAO,IAAIC,oBAAAA,SAAS,MAAM,EAAE,MAAM,IAAI,EAAE,CAAC;CAC7C;CACA,SAAS,KAAK,KAAK,KAAK,IAAI,IAAI;EAC5B,OAAO,IAAIC,uBAAAA,YAAY,MAAM,EAAE,MAAM,IAAI,EAAE,CAAC;CAChD;CACA,IAAI,YAAY;EACZ,OAAO,KAAK,MAAM;CACtB;CACA,UAAU,GAAG;EACT,KAAK,MAAM,IAAI,CAAC;CACpB;CACA,IAAI,MAAM;EACN,OAAOC,iBAAgB,cAAc,KAAK,MAAM,KAAK,aAAa,QAAQ;CAC9E;CACA,IAAI,GAAG;EACH,OAAOA,iBAAgB,cAAc;GACjC,KAAK,MAAM,IAAI,CAAC;EACpB,GAAG,aAAa,QAAQ;CAC5B;CACA,OAAO,GAAG,eAAe;EACrB,OAAOA,iBAAgB,cAAc;GACjC,MAAM,IAAI,KAAK;GACf,MAAM,IAAI,EAAE,CAAC;GACb,KAAK,UAAU,EAAE,EAAE;GACnB,OAAO,EAAE;EACb,GAAG,aAAa,QAAQ;CAC5B;AACJ"}
|
package/_cjs/Ref/Derived.cjs
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
const
|
|
2
|
+
const require_rolldown_runtime = require("../rolldown-runtime.cjs");
|
|
3
3
|
const require_Ref_definition = require("./definition.cjs");
|
|
4
4
|
const require_Ref_DerivedAll = require("./DerivedAll.cjs");
|
|
5
5
|
let _fncts_io_IO_api = require("@fncts/io/IO/api");
|
|
6
|
-
_fncts_io_IO_api =
|
|
6
|
+
_fncts_io_IO_api = require_rolldown_runtime.__toESM(_fncts_io_IO_api, 1);
|
|
7
7
|
let _fncts_base_data_Either_constructors = require("@fncts/base/data/Either/constructors");
|
|
8
|
-
_fncts_base_data_Either_constructors =
|
|
8
|
+
_fncts_base_data_Either_constructors = require_rolldown_runtime.__toESM(_fncts_base_data_Either_constructors, 1);
|
|
9
9
|
let _fncts_base_data_Either_destructors = require("@fncts/base/data/Either/destructors");
|
|
10
|
-
_fncts_base_data_Either_destructors =
|
|
10
|
+
_fncts_base_data_Either_destructors = require_rolldown_runtime.__toESM(_fncts_base_data_Either_destructors, 1);
|
|
11
11
|
let _fncts_base_data_Either_api = require("@fncts/base/data/Either/api");
|
|
12
|
-
_fncts_base_data_Either_api =
|
|
12
|
+
_fncts_base_data_Either_api = require_rolldown_runtime.__toESM(_fncts_base_data_Either_api, 1);
|
|
13
13
|
let _fncts_base_data_function = require("@fncts/base/data/function");
|
|
14
|
-
|
|
14
|
+
// build/esm/Ref/Derived.js
|
|
15
15
|
const fileName_1 = "(@fncts/io) src/Ref/Derived.ts";
|
|
16
16
|
const DerivedTypeId = Symbol.for("fncts.io.Ref.Derived");
|
|
17
17
|
var Derived = class Derived extends require_Ref_definition.RefInternal {
|
|
@@ -43,7 +43,6 @@ var Derived = class Derived extends require_Ref_definition.RefInternal {
|
|
|
43
43
|
})(getEither(s)), fileName_1 + ":81:21"), fileName_1 + ":92:10"));
|
|
44
44
|
}
|
|
45
45
|
};
|
|
46
|
-
//#endregion
|
|
47
46
|
exports.Derived = Derived;
|
|
48
47
|
exports.DerivedTypeId = DerivedTypeId;
|
|
49
48
|
|
package/_cjs/Ref/Derived.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Derived.cjs","names":["RefInternal","tsplus_module_2","tsplus_module_1","tsplus_module_3","DerivedAll","tsplus_module_4"],"sources":["../../esm/Ref/Derived.js"],"sourcesContent":["const fileName_1 = \"(@fncts/io) src/Ref/Derived.ts\";\nimport * as tsplus_module_1 from \"@fncts/base/data/Either/constructors\";\nimport * as tsplus_module_2 from \"@fncts/base/data/Either/destructors\";\nimport * as tsplus_module_3 from \"@fncts/base/data/Either/api\";\nimport * as tsplus_module_4 from \"@fncts/io/IO/api\";\nimport { tuple } from \"@fncts/base/data/function\";\nimport { RefInternal } from \"./definition.js\";\nimport { DerivedAll } from \"./DerivedAll.js\";\nexport const DerivedTypeId = Symbol.for(\"fncts.io.Ref.Derived\");\nexport class Derived extends RefInternal {\n use;\n [DerivedTypeId] = DerivedTypeId;\n constructor(use) {\n super();\n this.use = use;\n this.match = this.match.bind(this);\n this.matchAll = this.matchAll.bind(this);\n this.set = this.set.bind(this);\n }\n match(ea, eb, ca, bd) {\n return this.use((value, getEither, setEither) => new Derived((f) => f(value, (s) => tsplus_module_2.match((e) => tsplus_module_1.left(eb(e), fileName_1 + \":38:57\"), bd)(getEither(s)), (c) => tsplus_module_3.flatMap((a) => tsplus_module_2.match((e) => tsplus_module_1.left(ea(e), fileName_1 + \":39:78\"), tsplus_module_1.right)(setEither(a)))(ca(c)))));\n }\n matchAll(ea, eb, ec, ca, bd) {\n return this.use((value, getEither, setEither) => new DerivedAll((f) => f(value, (s) => tsplus_module_2.match((e) => tsplus_module_1.left(eb(e), fileName_1 + \":57:57\"), bd)(getEither(s)), (c) => (s) => tsplus_module_3.flatMap((a) => tsplus_module_2.match((e) => tsplus_module_1.left(ea(e), fileName_1 + \":64:70\"), tsplus_module_1.right)(setEither(a)))(tsplus_module_2.match((eb) => tsplus_module_1.left(ec(eb), fileName_1 + \":61:38\"), (b) => ca(c)(b))(getEither(s))))));\n }\n get get() {\n return this.use((value, getEither) => tsplus_module_4.flatMap((s) => tsplus_module_2.match(tsplus_module_4.failNow, tsplus_module_4.succeedNow)(getEither(s)), fileName_1 + \":71:60\")(value.get));\n }\n set(a) {\n return this.use((value, _, setEither) => tsplus_module_2.match(tsplus_module_4.failNow, (s) => value.set(s))(setEither(a)));\n }\n modify(f, __tsplusTrace) {\n return this.use((value, getEither, setEither) => tsplus_module_4.absolve(value.modify((s) => tsplus_module_2.match((e) => tuple(tsplus_module_1.left(e, fileName_1 + \":83:37\"), s), (a1) => {\n const [b, a2] = f(a1);\n return tsplus_module_2.match((e) => tuple(tsplus_module_1.left(e, fileName_1 + \":87:41\"), s), (s) => tuple(tsplus_module_1.right(b, fileName_1 + \":88:42\"), s))(setEither(a2));\n })(getEither(s)), fileName_1 + \":81:21\"), fileName_1 + \":92:10\"));\n }\n}\n//# sourceMappingURL=Derived.js.map"],"mappings":";;;;;;;;;;;;;;AAAA,MAAM,aAAa;AAQnB,MAAa,gBAAgB,OAAO,IAAI,
|
|
1
|
+
{"version":3,"file":"Derived.cjs","names":["RefInternal","tsplus_module_2","tsplus_module_1","tsplus_module_3","DerivedAll","tsplus_module_4","tuple"],"sources":["../../esm/Ref/Derived.js"],"sourcesContent":["const fileName_1 = \"(@fncts/io) src/Ref/Derived.ts\";\nimport * as tsplus_module_1 from \"@fncts/base/data/Either/constructors\";\nimport * as tsplus_module_2 from \"@fncts/base/data/Either/destructors\";\nimport * as tsplus_module_3 from \"@fncts/base/data/Either/api\";\nimport * as tsplus_module_4 from \"@fncts/io/IO/api\";\nimport { tuple } from \"@fncts/base/data/function\";\nimport { RefInternal } from \"./definition.js\";\nimport { DerivedAll } from \"./DerivedAll.js\";\nexport const DerivedTypeId = Symbol.for(\"fncts.io.Ref.Derived\");\nexport class Derived extends RefInternal {\n use;\n [DerivedTypeId] = DerivedTypeId;\n constructor(use) {\n super();\n this.use = use;\n this.match = this.match.bind(this);\n this.matchAll = this.matchAll.bind(this);\n this.set = this.set.bind(this);\n }\n match(ea, eb, ca, bd) {\n return this.use((value, getEither, setEither) => new Derived((f) => f(value, (s) => tsplus_module_2.match((e) => tsplus_module_1.left(eb(e), fileName_1 + \":38:57\"), bd)(getEither(s)), (c) => tsplus_module_3.flatMap((a) => tsplus_module_2.match((e) => tsplus_module_1.left(ea(e), fileName_1 + \":39:78\"), tsplus_module_1.right)(setEither(a)))(ca(c)))));\n }\n matchAll(ea, eb, ec, ca, bd) {\n return this.use((value, getEither, setEither) => new DerivedAll((f) => f(value, (s) => tsplus_module_2.match((e) => tsplus_module_1.left(eb(e), fileName_1 + \":57:57\"), bd)(getEither(s)), (c) => (s) => tsplus_module_3.flatMap((a) => tsplus_module_2.match((e) => tsplus_module_1.left(ea(e), fileName_1 + \":64:70\"), tsplus_module_1.right)(setEither(a)))(tsplus_module_2.match((eb) => tsplus_module_1.left(ec(eb), fileName_1 + \":61:38\"), (b) => ca(c)(b))(getEither(s))))));\n }\n get get() {\n return this.use((value, getEither) => tsplus_module_4.flatMap((s) => tsplus_module_2.match(tsplus_module_4.failNow, tsplus_module_4.succeedNow)(getEither(s)), fileName_1 + \":71:60\")(value.get));\n }\n set(a) {\n return this.use((value, _, setEither) => tsplus_module_2.match(tsplus_module_4.failNow, (s) => value.set(s))(setEither(a)));\n }\n modify(f, __tsplusTrace) {\n return this.use((value, getEither, setEither) => tsplus_module_4.absolve(value.modify((s) => tsplus_module_2.match((e) => tuple(tsplus_module_1.left(e, fileName_1 + \":83:37\"), s), (a1) => {\n const [b, a2] = f(a1);\n return tsplus_module_2.match((e) => tuple(tsplus_module_1.left(e, fileName_1 + \":87:41\"), s), (s) => tuple(tsplus_module_1.right(b, fileName_1 + \":88:42\"), s))(setEither(a2));\n })(getEither(s)), fileName_1 + \":81:21\"), fileName_1 + \":92:10\"));\n }\n}\n//# sourceMappingURL=Derived.js.map"],"mappings":";;;;;;;;;;;;;;AAAA,MAAM,aAAa;AAQnB,MAAa,gBAAgB,OAAO,IAAI,sBAAsB;AAC9D,IAAa,UAAb,MAAa,gBAAgBA,uBAAAA,YAAY;CACrC;CACA,CAAC,iBAAiB;CAClB,YAAY,KAAK;EACb,MAAM;EACN,KAAK,MAAM;EACX,KAAK,QAAQ,KAAK,MAAM,KAAK,IAAI;EACjC,KAAK,WAAW,KAAK,SAAS,KAAK,IAAI;EACvC,KAAK,MAAM,KAAK,IAAI,KAAK,IAAI;CACjC;CACA,MAAM,IAAI,IAAI,IAAI,IAAI;EAClB,OAAO,KAAK,KAAK,OAAO,WAAW,cAAc,IAAI,SAAS,MAAM,EAAE,QAAQ,MAAMC,oCAAgB,OAAO,MAAMC,qCAAgB,KAAK,GAAG,CAAC,GAAG,aAAa,QAAQ,GAAG,EAAE,CAAC,CAAC,UAAU,CAAC,CAAC,IAAI,MAAMC,4BAAgB,SAAS,MAAMF,oCAAgB,OAAO,MAAMC,qCAAgB,KAAK,GAAG,CAAC,GAAG,aAAa,QAAQ,GAAGA,qCAAgB,KAAK,CAAC,CAAC,UAAU,CAAC,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC;CACjW;CACA,SAAS,IAAI,IAAI,IAAI,IAAI,IAAI;EACzB,OAAO,KAAK,KAAK,OAAO,WAAW,cAAc,IAAIE,uBAAAA,YAAY,MAAM,EAAE,QAAQ,MAAMH,oCAAgB,OAAO,MAAMC,qCAAgB,KAAK,GAAG,CAAC,GAAG,aAAa,QAAQ,GAAG,EAAE,CAAC,CAAC,UAAU,CAAC,CAAC,IAAI,OAAO,MAAMC,4BAAgB,SAAS,MAAMF,oCAAgB,OAAO,MAAMC,qCAAgB,KAAK,GAAG,CAAC,GAAG,aAAa,QAAQ,GAAGA,qCAAgB,KAAK,CAAC,CAAC,UAAU,CAAC,CAAC,CAAC,CAAC,CAACD,oCAAgB,OAAO,OAAOC,qCAAgB,KAAK,GAAG,EAAE,GAAG,aAAa,QAAQ,IAAI,MAAM,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,UAAU,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;CACvd;CACA,IAAI,MAAM;EACN,OAAO,KAAK,KAAK,OAAO,cAAcG,iBAAgB,SAAS,MAAMJ,oCAAgB,MAAMI,iBAAgB,SAASA,iBAAgB,UAAU,CAAC,CAAC,UAAU,CAAC,CAAC,GAAG,aAAa,QAAQ,CAAC,CAAC,MAAM,GAAG,CAAC;CACpM;CACA,IAAI,GAAG;EACH,OAAO,KAAK,KAAK,OAAO,GAAG,cAAcJ,oCAAgB,MAAMI,iBAAgB,UAAU,MAAM,MAAM,IAAI,CAAC,CAAC,CAAC,CAAC,UAAU,CAAC,CAAC,CAAC;CAC9H;CACA,OAAO,GAAG,eAAe;EACrB,OAAO,KAAK,KAAK,OAAO,WAAW,cAAcA,iBAAgB,QAAQ,MAAM,QAAQ,MAAMJ,oCAAgB,OAAO,OAAA,GAAMK,0BAAAA,MAAAA,CAAMJ,qCAAgB,KAAK,GAAG,aAAa,QAAQ,GAAG,CAAC,IAAI,OAAO;GACxL,MAAM,CAAC,GAAG,MAAM,EAAE,EAAE;GACpB,OAAOD,oCAAgB,OAAO,OAAA,GAAMK,0BAAAA,MAAAA,CAAMJ,qCAAgB,KAAK,GAAG,aAAa,QAAQ,GAAG,CAAC,IAAI,OAAA,GAAMI,0BAAAA,MAAAA,CAAMJ,qCAAgB,MAAM,GAAG,aAAa,QAAQ,GAAG,CAAC,CAAC,CAAC,CAAC,UAAU,EAAE,CAAC;EACjL,CAAC,CAAC,CAAC,UAAU,CAAC,CAAC,GAAG,aAAa,QAAQ,GAAG,aAAa,QAAQ,CAAC;CACpE;AACJ"}
|
package/_cjs/Ref/DerivedAll.cjs
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
const
|
|
2
|
+
const require_rolldown_runtime = require("../rolldown-runtime.cjs");
|
|
3
3
|
const require_Ref_definition = require("./definition.cjs");
|
|
4
4
|
let _fncts_io_IO_api = require("@fncts/io/IO/api");
|
|
5
|
-
_fncts_io_IO_api =
|
|
5
|
+
_fncts_io_IO_api = require_rolldown_runtime.__toESM(_fncts_io_IO_api, 1);
|
|
6
6
|
let _fncts_base_data_Either_constructors = require("@fncts/base/data/Either/constructors");
|
|
7
|
-
_fncts_base_data_Either_constructors =
|
|
7
|
+
_fncts_base_data_Either_constructors = require_rolldown_runtime.__toESM(_fncts_base_data_Either_constructors, 1);
|
|
8
8
|
let _fncts_base_data_Either_destructors = require("@fncts/base/data/Either/destructors");
|
|
9
|
-
_fncts_base_data_Either_destructors =
|
|
9
|
+
_fncts_base_data_Either_destructors = require_rolldown_runtime.__toESM(_fncts_base_data_Either_destructors, 1);
|
|
10
10
|
let _fncts_base_data_Either_api = require("@fncts/base/data/Either/api");
|
|
11
|
-
_fncts_base_data_Either_api =
|
|
11
|
+
_fncts_base_data_Either_api = require_rolldown_runtime.__toESM(_fncts_base_data_Either_api, 1);
|
|
12
12
|
let _fncts_base_data_function = require("@fncts/base/data/function");
|
|
13
|
-
|
|
13
|
+
// build/esm/Ref/DerivedAll.js
|
|
14
14
|
const fileName_1 = "(@fncts/io) src/Ref/DerivedAll.ts";
|
|
15
15
|
const DerivedAllTypeId = Symbol.for("fncts.io.Ref.DerivedAll");
|
|
16
16
|
var DerivedAll = class DerivedAll extends require_Ref_definition.RefInternal {
|
|
@@ -42,7 +42,6 @@ var DerivedAll = class DerivedAll extends require_Ref_definition.RefInternal {
|
|
|
42
42
|
})(getEither(s)), fileName_1 + ":85:21"), fileName_1 + ":96:10"));
|
|
43
43
|
}
|
|
44
44
|
};
|
|
45
|
-
//#endregion
|
|
46
45
|
exports.DerivedAll = DerivedAll;
|
|
47
46
|
exports.DerivedAllTypeId = DerivedAllTypeId;
|
|
48
47
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DerivedAll.cjs","names":["RefInternal","tsplus_module_2","tsplus_module_1","tsplus_module_3","tsplus_module_4"],"sources":["../../esm/Ref/DerivedAll.js"],"sourcesContent":["const fileName_1 = \"(@fncts/io) src/Ref/DerivedAll.ts\";\nimport * as tsplus_module_1 from \"@fncts/base/data/Either/constructors\";\nimport * as tsplus_module_2 from \"@fncts/base/data/Either/destructors\";\nimport * as tsplus_module_3 from \"@fncts/base/data/Either/api\";\nimport * as tsplus_module_4 from \"@fncts/io/IO/api\";\nimport { tuple } from \"@fncts/base/data/function\";\nimport { RefInternal } from \"./definition.js\";\nexport const DerivedAllTypeId = Symbol.for(\"fncts.io.Ref.DerivedAll\");\nexport class DerivedAll extends RefInternal {\n use;\n [DerivedAllTypeId] = DerivedAllTypeId;\n constructor(use) {\n super();\n this.use = use;\n this.match = this.match.bind(this);\n this.matchAll = this.matchAll.bind(this);\n this.set = this.set.bind(this);\n }\n match(ea, eb, ca, bd) {\n return this.use((value, getEither, setEither) => new DerivedAll((f) => f(value, (s) => tsplus_module_2.match((e) => tsplus_module_1.left(eb(e), fileName_1 + \":37:57\"), bd)(getEither(s)), (c) => (s) => tsplus_module_3.flatMap((a) => tsplus_module_2.match((e) => tsplus_module_1.left(ea(e), fileName_1 + \":38:88\"), tsplus_module_1.right)(setEither(a)(s)))(ca(c)))));\n }\n matchAll(ea, eb, ec, ca, bd) {\n return this.use((value, getEither, setEither) => new DerivedAll((f) => f(value, (s) => tsplus_module_2.match((e) => tsplus_module_1.left(eb(e), fileName_1 + \":56:57\"), bd)(getEither(s)), (c) => (s) => tsplus_module_3.flatMap((a) => tsplus_module_2.match((e) => tsplus_module_1.left(ea(e), fileName_1 + \":60:73\"), tsplus_module_1.right)(setEither(a)(s)))(tsplus_module_2.match((e) => tsplus_module_1.left(ec(e), fileName_1 + \":59:42\"), ca(c))(getEither(s))))));\n }\n get get() {\n return this.use((value, getEither) => tsplus_module_4.flatMap((s) => tsplus_module_2.match(tsplus_module_4.failNow, tsplus_module_4.succeedNow)(getEither(s)), fileName_1 + \":67:60\")(value.get));\n }\n set(a) {\n return this.use((value, _, setEither) => tsplus_module_4.absolve(value.modify((s) => tsplus_module_2.match((e) => [tsplus_module_1.left(e, fileName_1 + \":75:32\"), s], (s) => [tsplus_module_1.right(undefined, fileName_1 + \":76:33\"), s])(setEither(a)(s)), fileName_1 + \":73:21\"), fileName_1 + \":78:10\"));\n }\n modify(f, __tsplusTrace) {\n return this.use((value, getEither, setEither) => tsplus_module_4.absolve(value.modify((s) => tsplus_module_2.match((e) => tuple(tsplus_module_1.left(e, fileName_1 + \":87:37\"), s), (a1) => {\n const [b, a2] = f(a1);\n return tsplus_module_2.match((e) => tuple(tsplus_module_1.left(e, fileName_1 + \":91:41\"), s), (s) => tuple(tsplus_module_1.right(b, fileName_1 + \":92:42\"), s))(setEither(a2)(s));\n })(getEither(s)), fileName_1 + \":85:21\"), fileName_1 + \":96:10\"));\n }\n}\n//# sourceMappingURL=DerivedAll.js.map"],"mappings":";;;;;;;;;;;;;AAAA,MAAM,aAAa;AAOnB,MAAa,mBAAmB,OAAO,IAAI,
|
|
1
|
+
{"version":3,"file":"DerivedAll.cjs","names":["RefInternal","tsplus_module_2","tsplus_module_1","tsplus_module_3","tsplus_module_4","tuple"],"sources":["../../esm/Ref/DerivedAll.js"],"sourcesContent":["const fileName_1 = \"(@fncts/io) src/Ref/DerivedAll.ts\";\nimport * as tsplus_module_1 from \"@fncts/base/data/Either/constructors\";\nimport * as tsplus_module_2 from \"@fncts/base/data/Either/destructors\";\nimport * as tsplus_module_3 from \"@fncts/base/data/Either/api\";\nimport * as tsplus_module_4 from \"@fncts/io/IO/api\";\nimport { tuple } from \"@fncts/base/data/function\";\nimport { RefInternal } from \"./definition.js\";\nexport const DerivedAllTypeId = Symbol.for(\"fncts.io.Ref.DerivedAll\");\nexport class DerivedAll extends RefInternal {\n use;\n [DerivedAllTypeId] = DerivedAllTypeId;\n constructor(use) {\n super();\n this.use = use;\n this.match = this.match.bind(this);\n this.matchAll = this.matchAll.bind(this);\n this.set = this.set.bind(this);\n }\n match(ea, eb, ca, bd) {\n return this.use((value, getEither, setEither) => new DerivedAll((f) => f(value, (s) => tsplus_module_2.match((e) => tsplus_module_1.left(eb(e), fileName_1 + \":37:57\"), bd)(getEither(s)), (c) => (s) => tsplus_module_3.flatMap((a) => tsplus_module_2.match((e) => tsplus_module_1.left(ea(e), fileName_1 + \":38:88\"), tsplus_module_1.right)(setEither(a)(s)))(ca(c)))));\n }\n matchAll(ea, eb, ec, ca, bd) {\n return this.use((value, getEither, setEither) => new DerivedAll((f) => f(value, (s) => tsplus_module_2.match((e) => tsplus_module_1.left(eb(e), fileName_1 + \":56:57\"), bd)(getEither(s)), (c) => (s) => tsplus_module_3.flatMap((a) => tsplus_module_2.match((e) => tsplus_module_1.left(ea(e), fileName_1 + \":60:73\"), tsplus_module_1.right)(setEither(a)(s)))(tsplus_module_2.match((e) => tsplus_module_1.left(ec(e), fileName_1 + \":59:42\"), ca(c))(getEither(s))))));\n }\n get get() {\n return this.use((value, getEither) => tsplus_module_4.flatMap((s) => tsplus_module_2.match(tsplus_module_4.failNow, tsplus_module_4.succeedNow)(getEither(s)), fileName_1 + \":67:60\")(value.get));\n }\n set(a) {\n return this.use((value, _, setEither) => tsplus_module_4.absolve(value.modify((s) => tsplus_module_2.match((e) => [tsplus_module_1.left(e, fileName_1 + \":75:32\"), s], (s) => [tsplus_module_1.right(undefined, fileName_1 + \":76:33\"), s])(setEither(a)(s)), fileName_1 + \":73:21\"), fileName_1 + \":78:10\"));\n }\n modify(f, __tsplusTrace) {\n return this.use((value, getEither, setEither) => tsplus_module_4.absolve(value.modify((s) => tsplus_module_2.match((e) => tuple(tsplus_module_1.left(e, fileName_1 + \":87:37\"), s), (a1) => {\n const [b, a2] = f(a1);\n return tsplus_module_2.match((e) => tuple(tsplus_module_1.left(e, fileName_1 + \":91:41\"), s), (s) => tuple(tsplus_module_1.right(b, fileName_1 + \":92:42\"), s))(setEither(a2)(s));\n })(getEither(s)), fileName_1 + \":85:21\"), fileName_1 + \":96:10\"));\n }\n}\n//# sourceMappingURL=DerivedAll.js.map"],"mappings":"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"}
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
const
|
|
2
|
+
const require_rolldown_runtime = require("../../rolldown-runtime.cjs");
|
|
3
3
|
require("./definition.cjs");
|
|
4
4
|
let _fncts_io_IO_api = require("@fncts/io/IO/api");
|
|
5
|
-
_fncts_io_IO_api =
|
|
5
|
+
_fncts_io_IO_api = require_rolldown_runtime.__toESM(_fncts_io_IO_api, 1);
|
|
6
6
|
let _fncts_base_data_Maybe_api = require("@fncts/base/data/Maybe/api");
|
|
7
|
-
_fncts_base_data_Maybe_api =
|
|
7
|
+
_fncts_base_data_Maybe_api = require_rolldown_runtime.__toESM(_fncts_base_data_Maybe_api, 1);
|
|
8
8
|
let _fncts_base_data_Maybe_constructors = require("@fncts/base/data/Maybe/constructors");
|
|
9
|
-
_fncts_base_data_Maybe_constructors =
|
|
9
|
+
_fncts_base_data_Maybe_constructors = require_rolldown_runtime.__toESM(_fncts_base_data_Maybe_constructors, 1);
|
|
10
10
|
let _fncts_base_data_function = require("@fncts/base/data/function");
|
|
11
|
-
|
|
11
|
+
// build/esm/Ref/Synchronized/api.js
|
|
12
12
|
const dimapIO = dimapIO_1;
|
|
13
13
|
const matchIO = matchIO_1;
|
|
14
14
|
const modifyIO = modifyIO_1;
|
|
@@ -168,7 +168,6 @@ function updateJustIO(f, __tsplusTrace) {
|
|
|
168
168
|
return modifyIO_1((a) => _fncts_io_IO_api.map((r) => [void 0, r], __tsplusTrace)(_fncts_base_data_Maybe_api.getOrElse(() => _fncts_io_IO_api.succeedNow(a, __tsplusTrace))(f(a))), __tsplusTrace)(ref);
|
|
169
169
|
};
|
|
170
170
|
}
|
|
171
|
-
//#endregion
|
|
172
171
|
exports.collectIO = collectIO;
|
|
173
172
|
exports.contramapIO = contramapIO;
|
|
174
173
|
exports.dimapIO = dimapIO;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"api.cjs","names":["identity","tsplus_module_1","tsplus_module_2","tsplus_module_3"],"sources":["../../../esm/Ref/Synchronized/api.js"],"sourcesContent":["import * as tsplus_module_1 from \"@fncts/base/data/Maybe/constructors\";\nimport * as tsplus_module_2 from \"@fncts/io/IO/api\";\nimport * as tsplus_module_3 from \"@fncts/base/data/Maybe/api\";\nexport const dimapIO = dimapIO_1;\nexport const matchIO = matchIO_1;\nexport const modifyIO = modifyIO_1;\nimport { identity, tuple } from \"@fncts/base/data/function\";\nimport { concreteSynchronized } from \"./definition.js\";\n/**\n * Maps and filters the `get` value of the `SRef` with the specified\n * effectual partial function, returning a `SRef` with a `get` value that\n * succeeds with the result of the partial function if it is defined or else\n * fails with `None`.\n *\n * @tsplus pipeable fncts.io.Ref.Synchronized collectIO\n */\nexport function collectIO(f, __tsplusTrace) {\n return (ref) => {\n return matchIO_1(identity, (eb) => tsplus_module_1.just(eb, __tsplusTrace), tsplus_module_2.succeedNow, (b) => tsplus_module_3.getOrElse(() => tsplus_module_2.failNow(tsplus_module_1.nothing(__tsplusTrace), __tsplusTrace))(tsplus_module_3.map((a) => tsplus_module_2.asJustError(a, __tsplusTrace))(f(b))), __tsplusTrace)(ref);\n };\n}\n/**\n * Transforms the `set` value of the `SRef` with the specified effectual\n * function.\n *\n * @tsplus pipeable fncts.io.Ref.Synchronized contramapIO\n */\nexport function contramapIO(f, __tsplusTrace) {\n return (ref) => {\n return dimapIO_1(f, tsplus_module_2.succeedNow, __tsplusTrace)(ref);\n };\n}\n/**\n * Transforms both the `set` and `get` values of the `Synchronized` with the\n * specified effectual functions.\n *\n * @tsplus pipeable fncts.io.Ref.Synchronized dimapIO\n */\nfunction dimapIO_1(f, g, __tsplusTrace) {\n return (ref) => {\n return matchIO_1((ea) => ea, (eb) => eb, f, g, __tsplusTrace)(ref);\n };\n}\n/**\n * Filters the `set` value of the `SRef` with the specified effectual\n * predicate, returning a `SRef` with a `set` value that succeeds if the\n * predicate is satisfied or else fails with `None`.\n *\n * @tsplus pipeable fncts.io.Ref.Synchronized filterInputIO\n */\nexport function filterInputIO(f, __tsplusTrace) {\n return (self) => {\n return matchIO_1((ea) => tsplus_module_1.just(ea, __tsplusTrace), identity, (a) => tsplus_module_2.ifIO(() => tsplus_module_2.failNow(tsplus_module_1.nothing(__tsplusTrace), __tsplusTrace), () => tsplus_module_2.succeedNow(a, __tsplusTrace), __tsplusTrace)(tsplus_module_2.asJustError(f(a), __tsplusTrace)), tsplus_module_2.succeedNow, __tsplusTrace)(self);\n };\n}\n/**\n * Filters the `get` value of the `SRef` with the specified effectual predicate,\n * returning a `SRef` with a `get` value that succeeds if the predicate is\n * satisfied or else fails with `None`.\n *\n * @tsplus pipeable fncts.io.Ref.Synchronized filterOutputIO\n */\nexport function filterOutputIO(f, __tsplusTrace) {\n return (ref) => {\n return matchIO_1(identity, (eb) => tsplus_module_1.just(eb, __tsplusTrace), tsplus_module_2.succeedNow, (b) => tsplus_module_2.ifIO(() => tsplus_module_2.succeedNow(b, __tsplusTrace), () => tsplus_module_2.failNow(tsplus_module_1.nothing(__tsplusTrace), __tsplusTrace), __tsplusTrace)(tsplus_module_2.asJustError(f(b), __tsplusTrace)), __tsplusTrace)(ref);\n };\n}\n/**\n * Atomically modifies the `Synchronized` with the specified function, returning the\n * value immediately before modification.\n *\n * @tsplus pipeable fncts.io.Ref.Synchronized getAndUpdateIO\n */\nexport function getAndUpdateIO(f, __tsplusTrace) {\n return (ref) => {\n return modifyIO_1((a) => tsplus_module_2.map((r) => [a, r], __tsplusTrace)(f(a)), __tsplusTrace)(ref);\n };\n}\n/**\n * Atomically modifies the `Synchronized` with the specified function, returning the\n * value immediately before modification.\n */\nexport function getAndUpdateJustIO(f, __tsplusTrace) {\n return (ref) => {\n return modifyIO_1((a) => tsplus_module_2.map((r) => [a, r], __tsplusTrace)(tsplus_module_3.getOrElse(() => tsplus_module_2.succeedNow(a, __tsplusTrace))(f(a))), __tsplusTrace)(ref);\n };\n}\n/**\n * @tsplus pipeable fncts.io.Ref.Synchronized matchIO\n */\nfunction matchIO_1(ea, eb, ca, bd, __tsplusTrace) {\n return (self) => {\n void 0;\n return self.matchIO(ea, eb, ca, bd, __tsplusTrace);\n };\n}\n/**\n * @tsplus pipeable fncts.io.Ref.Synchronized matchAllIO\n */\nexport function matchAllIO(ea, eb, ec, ca, bd, __tsplusTrace) {\n return (self) => {\n void 0;\n return self.matchAllIO(ea, eb, ec, ca, bd, __tsplusTrace);\n };\n}\n/**\n * @tsplus pipeable fncts.io.Ref.Synchronized modifyIO\n */\nfunction modifyIO_1(f, __tsplusTrace) {\n return (self) => {\n void 0;\n return self.modifyIO(f, __tsplusTrace);\n };\n}\n/**\n * Atomically modifies the `Synchronized` with the specified function, which computes\n * a return value for the modification if the function is defined in the current value\n * otherwise it returns a default value.\n * This is a more powerful version of `updateJust`.\n *\n * @tsplus pipeable fncts.io.Ref.Synchronized modifyJustIO\n */\nexport function modifyJustIO(def, f, __tsplusTrace) {\n return (ref) => {\n return modifyIO_1((a) => tsplus_module_3.getOrElse(() => tsplus_module_2.succeedNow(tuple(def, a), __tsplusTrace))(f(a)), __tsplusTrace)(ref);\n };\n}\n/**\n * Atomically modifies the `SRef` with the specified function.\n *\n * @tsplus pipeable fncts.io.Ref.Synchronized updateAndGetIO\n */\nexport function updateAndGetIO(f, __tsplusTrace) {\n return (ref) => {\n return modifyIO_1((a) => tsplus_module_2.map((r) => [r, r], __tsplusTrace)(f(a)), __tsplusTrace)(ref);\n };\n}\n/**\n * Atomically modifies the `Synchronized` with the specified function.\n *\n * @tsplus pipeable fncts.io.Ref.Synchronized updateIO\n */\nexport function updateIO(f, __tsplusTrace) {\n return (ref) => {\n return modifyIO_1((a) => tsplus_module_2.map((r) => [undefined, r], __tsplusTrace)(f(a)), __tsplusTrace)(ref);\n };\n}\n/**\n * Atomically modifies the `SRef` with the specified function.\n *\n * @tsplus pipeable fncts.io.Ref.Synchronized updateJustAndGetIO\n */\nexport function updateJustAndGetIO(f, __tsplusTrace) {\n return (ref) => {\n return modifyIO_1((a) => tsplus_module_2.map((r) => [r, r], __tsplusTrace)(tsplus_module_3.getOrElse(() => tsplus_module_2.succeedNow(a, __tsplusTrace))(f(a))), __tsplusTrace)(ref);\n };\n}\n/**\n * Atomically modifies the `SRef` with the specified function.\n *\n * @tsplus pipeable fncts.io.Ref.Synchronized updateJustIO\n */\nexport function updateJustIO(f, __tsplusTrace) {\n return (ref) => {\n return modifyIO_1((a) => tsplus_module_2.map((r) => [undefined, r], __tsplusTrace)(tsplus_module_3.getOrElse(() => tsplus_module_2.succeedNow(a, __tsplusTrace))(f(a))), __tsplusTrace)(ref);\n };\n}\n//# sourceMappingURL=api.js.map"],"mappings":"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"}
|
|
1
|
+
{"version":3,"file":"api.cjs","names":["identity","tsplus_module_1","tsplus_module_2","tsplus_module_3","tuple"],"sources":["../../../esm/Ref/Synchronized/api.js"],"sourcesContent":["import * as tsplus_module_1 from \"@fncts/base/data/Maybe/constructors\";\nimport * as tsplus_module_2 from \"@fncts/io/IO/api\";\nimport * as tsplus_module_3 from \"@fncts/base/data/Maybe/api\";\nexport const dimapIO = dimapIO_1;\nexport const matchIO = matchIO_1;\nexport const modifyIO = modifyIO_1;\nimport { identity, tuple } from \"@fncts/base/data/function\";\nimport { concreteSynchronized } from \"./definition.js\";\n/**\n * Maps and filters the `get` value of the `SRef` with the specified\n * effectual partial function, returning a `SRef` with a `get` value that\n * succeeds with the result of the partial function if it is defined or else\n * fails with `None`.\n *\n * @tsplus pipeable fncts.io.Ref.Synchronized collectIO\n */\nexport function collectIO(f, __tsplusTrace) {\n return (ref) => {\n return matchIO_1(identity, (eb) => tsplus_module_1.just(eb, __tsplusTrace), tsplus_module_2.succeedNow, (b) => tsplus_module_3.getOrElse(() => tsplus_module_2.failNow(tsplus_module_1.nothing(__tsplusTrace), __tsplusTrace))(tsplus_module_3.map((a) => tsplus_module_2.asJustError(a, __tsplusTrace))(f(b))), __tsplusTrace)(ref);\n };\n}\n/**\n * Transforms the `set` value of the `SRef` with the specified effectual\n * function.\n *\n * @tsplus pipeable fncts.io.Ref.Synchronized contramapIO\n */\nexport function contramapIO(f, __tsplusTrace) {\n return (ref) => {\n return dimapIO_1(f, tsplus_module_2.succeedNow, __tsplusTrace)(ref);\n };\n}\n/**\n * Transforms both the `set` and `get` values of the `Synchronized` with the\n * specified effectual functions.\n *\n * @tsplus pipeable fncts.io.Ref.Synchronized dimapIO\n */\nfunction dimapIO_1(f, g, __tsplusTrace) {\n return (ref) => {\n return matchIO_1((ea) => ea, (eb) => eb, f, g, __tsplusTrace)(ref);\n };\n}\n/**\n * Filters the `set` value of the `SRef` with the specified effectual\n * predicate, returning a `SRef` with a `set` value that succeeds if the\n * predicate is satisfied or else fails with `None`.\n *\n * @tsplus pipeable fncts.io.Ref.Synchronized filterInputIO\n */\nexport function filterInputIO(f, __tsplusTrace) {\n return (self) => {\n return matchIO_1((ea) => tsplus_module_1.just(ea, __tsplusTrace), identity, (a) => tsplus_module_2.ifIO(() => tsplus_module_2.failNow(tsplus_module_1.nothing(__tsplusTrace), __tsplusTrace), () => tsplus_module_2.succeedNow(a, __tsplusTrace), __tsplusTrace)(tsplus_module_2.asJustError(f(a), __tsplusTrace)), tsplus_module_2.succeedNow, __tsplusTrace)(self);\n };\n}\n/**\n * Filters the `get` value of the `SRef` with the specified effectual predicate,\n * returning a `SRef` with a `get` value that succeeds if the predicate is\n * satisfied or else fails with `None`.\n *\n * @tsplus pipeable fncts.io.Ref.Synchronized filterOutputIO\n */\nexport function filterOutputIO(f, __tsplusTrace) {\n return (ref) => {\n return matchIO_1(identity, (eb) => tsplus_module_1.just(eb, __tsplusTrace), tsplus_module_2.succeedNow, (b) => tsplus_module_2.ifIO(() => tsplus_module_2.succeedNow(b, __tsplusTrace), () => tsplus_module_2.failNow(tsplus_module_1.nothing(__tsplusTrace), __tsplusTrace), __tsplusTrace)(tsplus_module_2.asJustError(f(b), __tsplusTrace)), __tsplusTrace)(ref);\n };\n}\n/**\n * Atomically modifies the `Synchronized` with the specified function, returning the\n * value immediately before modification.\n *\n * @tsplus pipeable fncts.io.Ref.Synchronized getAndUpdateIO\n */\nexport function getAndUpdateIO(f, __tsplusTrace) {\n return (ref) => {\n return modifyIO_1((a) => tsplus_module_2.map((r) => [a, r], __tsplusTrace)(f(a)), __tsplusTrace)(ref);\n };\n}\n/**\n * Atomically modifies the `Synchronized` with the specified function, returning the\n * value immediately before modification.\n */\nexport function getAndUpdateJustIO(f, __tsplusTrace) {\n return (ref) => {\n return modifyIO_1((a) => tsplus_module_2.map((r) => [a, r], __tsplusTrace)(tsplus_module_3.getOrElse(() => tsplus_module_2.succeedNow(a, __tsplusTrace))(f(a))), __tsplusTrace)(ref);\n };\n}\n/**\n * @tsplus pipeable fncts.io.Ref.Synchronized matchIO\n */\nfunction matchIO_1(ea, eb, ca, bd, __tsplusTrace) {\n return (self) => {\n void 0;\n return self.matchIO(ea, eb, ca, bd, __tsplusTrace);\n };\n}\n/**\n * @tsplus pipeable fncts.io.Ref.Synchronized matchAllIO\n */\nexport function matchAllIO(ea, eb, ec, ca, bd, __tsplusTrace) {\n return (self) => {\n void 0;\n return self.matchAllIO(ea, eb, ec, ca, bd, __tsplusTrace);\n };\n}\n/**\n * @tsplus pipeable fncts.io.Ref.Synchronized modifyIO\n */\nfunction modifyIO_1(f, __tsplusTrace) {\n return (self) => {\n void 0;\n return self.modifyIO(f, __tsplusTrace);\n };\n}\n/**\n * Atomically modifies the `Synchronized` with the specified function, which computes\n * a return value for the modification if the function is defined in the current value\n * otherwise it returns a default value.\n * This is a more powerful version of `updateJust`.\n *\n * @tsplus pipeable fncts.io.Ref.Synchronized modifyJustIO\n */\nexport function modifyJustIO(def, f, __tsplusTrace) {\n return (ref) => {\n return modifyIO_1((a) => tsplus_module_3.getOrElse(() => tsplus_module_2.succeedNow(tuple(def, a), __tsplusTrace))(f(a)), __tsplusTrace)(ref);\n };\n}\n/**\n * Atomically modifies the `SRef` with the specified function.\n *\n * @tsplus pipeable fncts.io.Ref.Synchronized updateAndGetIO\n */\nexport function updateAndGetIO(f, __tsplusTrace) {\n return (ref) => {\n return modifyIO_1((a) => tsplus_module_2.map((r) => [r, r], __tsplusTrace)(f(a)), __tsplusTrace)(ref);\n };\n}\n/**\n * Atomically modifies the `Synchronized` with the specified function.\n *\n * @tsplus pipeable fncts.io.Ref.Synchronized updateIO\n */\nexport function updateIO(f, __tsplusTrace) {\n return (ref) => {\n return modifyIO_1((a) => tsplus_module_2.map((r) => [undefined, r], __tsplusTrace)(f(a)), __tsplusTrace)(ref);\n };\n}\n/**\n * Atomically modifies the `SRef` with the specified function.\n *\n * @tsplus pipeable fncts.io.Ref.Synchronized updateJustAndGetIO\n */\nexport function updateJustAndGetIO(f, __tsplusTrace) {\n return (ref) => {\n return modifyIO_1((a) => tsplus_module_2.map((r) => [r, r], __tsplusTrace)(tsplus_module_3.getOrElse(() => tsplus_module_2.succeedNow(a, __tsplusTrace))(f(a))), __tsplusTrace)(ref);\n };\n}\n/**\n * Atomically modifies the `SRef` with the specified function.\n *\n * @tsplus pipeable fncts.io.Ref.Synchronized updateJustIO\n */\nexport function updateJustIO(f, __tsplusTrace) {\n return (ref) => {\n return modifyIO_1((a) => tsplus_module_2.map((r) => [undefined, r], __tsplusTrace)(tsplus_module_3.getOrElse(() => tsplus_module_2.succeedNow(a, __tsplusTrace))(f(a))), __tsplusTrace)(ref);\n };\n}\n//# sourceMappingURL=api.js.map"],"mappings":"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"}
|
|
@@ -1,23 +1,24 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
const
|
|
2
|
+
const require_rolldown_runtime = require("../../rolldown-runtime.cjs");
|
|
3
3
|
const require_Ref_Synchronized_definition = require("./definition.cjs");
|
|
4
4
|
let _fncts_io_IO_api = require("@fncts/io/IO/api");
|
|
5
|
-
_fncts_io_IO_api =
|
|
5
|
+
_fncts_io_IO_api = require_rolldown_runtime.__toESM(_fncts_io_IO_api, 1);
|
|
6
6
|
let _fncts_io_Ref_api_get = require("@fncts/io/Ref/api/get");
|
|
7
|
-
_fncts_io_Ref_api_get =
|
|
7
|
+
_fncts_io_Ref_api_get = require_rolldown_runtime.__toESM(_fncts_io_Ref_api_get, 1);
|
|
8
8
|
let _fncts_io_Ref_api_set = require("@fncts/io/Ref/api/set");
|
|
9
|
-
_fncts_io_Ref_api_set =
|
|
9
|
+
_fncts_io_Ref_api_set = require_rolldown_runtime.__toESM(_fncts_io_Ref_api_set, 1);
|
|
10
10
|
let _fncts_io_Ref_constructors = require("@fncts/io/Ref/constructors");
|
|
11
|
-
_fncts_io_Ref_constructors =
|
|
11
|
+
_fncts_io_Ref_constructors = require_rolldown_runtime.__toESM(_fncts_io_Ref_constructors, 1);
|
|
12
12
|
let _fncts_io_Semaphore_constructors = require("@fncts/io/Semaphore/constructors");
|
|
13
|
-
_fncts_io_Semaphore_constructors =
|
|
14
|
-
|
|
13
|
+
_fncts_io_Semaphore_constructors = require_rolldown_runtime.__toESM(_fncts_io_Semaphore_constructors, 1);
|
|
14
|
+
// build/esm/Ref/Synchronized/constructors.js
|
|
15
15
|
/**
|
|
16
16
|
* @tsplus static fncts.io.Ref.SynchronizedOps unsafeMake
|
|
17
17
|
*/
|
|
18
18
|
function unsafeMakeSynchronized(a, __tsplusTrace) {
|
|
19
19
|
const ref = _fncts_io_Ref_constructors.unsafeMake(a, __tsplusTrace);
|
|
20
|
-
|
|
20
|
+
const semaphore = _fncts_io_Semaphore_constructors.unsafeMakeSemaphore(1);
|
|
21
|
+
return new require_Ref_Synchronized_definition.PSynchronizedInternal(semaphore, ref.get, (a) => ref.set(a));
|
|
21
22
|
}
|
|
22
23
|
/**
|
|
23
24
|
* @tsplus static fncts.io.Ref.SynchronizedOps make
|
|
@@ -25,7 +26,6 @@ function unsafeMakeSynchronized(a, __tsplusTrace) {
|
|
|
25
26
|
function makeSynchronized(a, __tsplusTrace) {
|
|
26
27
|
return _fncts_io_IO_api.flatMap((ref) => _fncts_io_IO_api.map((semaphore) => new require_Ref_Synchronized_definition.PSynchronizedInternal(semaphore, _fncts_io_Ref_api_get.get(ref, __tsplusTrace), (a) => _fncts_io_Ref_api_set.set(a, __tsplusTrace)(ref)), __tsplusTrace)(_fncts_io_Semaphore_constructors.makeSemaphore(1, __tsplusTrace)), __tsplusTrace)(_fncts_io_Ref_constructors.make(a, __tsplusTrace));
|
|
27
28
|
}
|
|
28
|
-
//#endregion
|
|
29
29
|
exports.makeSynchronized = makeSynchronized;
|
|
30
30
|
exports.unsafeMakeSynchronized = unsafeMakeSynchronized;
|
|
31
31
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"constructors.cjs","names":["tsplus_module_1","
|
|
1
|
+
{"version":3,"file":"constructors.cjs","names":["tsplus_module_1","tsplus_module_2","PSynchronizedInternal","tsplus_module_5","tsplus_module_3","tsplus_module_4"],"sources":["../../../esm/Ref/Synchronized/constructors.js"],"sourcesContent":["import * as tsplus_module_1 from \"@fncts/io/Ref/constructors\";\nimport * as tsplus_module_2 from \"@fncts/io/Semaphore/constructors\";\nimport * as tsplus_module_3 from \"@fncts/io/Ref/api/get\";\nimport * as tsplus_module_4 from \"@fncts/io/Ref/api/set\";\nimport * as tsplus_module_5 from \"@fncts/io/IO/api\";\nimport { PSynchronizedInternal } from \"./definition.js\";\n/**\n * @tsplus static fncts.io.Ref.SynchronizedOps unsafeMake\n */\nexport function unsafeMakeSynchronized(a, __tsplusTrace) {\n const ref = tsplus_module_1.unsafeMake(a, __tsplusTrace);\n const semaphore = tsplus_module_2.unsafeMakeSemaphore(1);\n return new PSynchronizedInternal(semaphore, ref.get, (a) => ref.set(a));\n}\n/**\n * @tsplus static fncts.io.Ref.SynchronizedOps make\n */\nexport function makeSynchronized(a, __tsplusTrace) {\n return tsplus_module_5.flatMap(ref => tsplus_module_5.map(semaphore => new PSynchronizedInternal(semaphore, tsplus_module_3.get(ref, __tsplusTrace), (a) => tsplus_module_4.set(a, __tsplusTrace)(ref)), __tsplusTrace)(tsplus_module_2.makeSemaphore(1, __tsplusTrace)), __tsplusTrace)(tsplus_module_1.make(a, __tsplusTrace));\n}\n//# sourceMappingURL=constructors.js.map"],"mappings":";;;;;;;;;;;;;;;;;AASA,SAAgB,uBAAuB,GAAG,eAAe;CACrD,MAAM,MAAMA,2BAAgB,WAAW,GAAG,aAAa;CACvD,MAAM,YAAYC,iCAAgB,oBAAoB,CAAC;CACvD,OAAO,IAAIC,oCAAAA,sBAAsB,WAAW,IAAI,MAAM,MAAM,IAAI,IAAI,CAAC,CAAC;AAC1E;;;;AAIA,SAAgB,iBAAiB,GAAG,eAAe;CAC/C,OAAOC,iBAAgB,SAAQ,QAAOA,iBAAgB,KAAI,cAAa,IAAID,oCAAAA,sBAAsB,WAAWE,sBAAgB,IAAI,KAAK,aAAa,IAAI,MAAMC,sBAAgB,IAAI,GAAG,aAAa,CAAC,CAAC,GAAG,CAAC,GAAG,aAAa,CAAC,CAACJ,iCAAgB,cAAc,GAAG,aAAa,CAAC,GAAG,aAAa,CAAC,CAACD,2BAAgB,KAAK,GAAG,aAAa,CAAC;AACnU"}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
const
|
|
2
|
+
const require_rolldown_runtime = require("../../rolldown-runtime.cjs");
|
|
3
3
|
const require_Ref_definition = require("../definition.cjs");
|
|
4
4
|
let _fncts_io_IO_api = require("@fncts/io/IO/api");
|
|
5
|
-
_fncts_io_IO_api =
|
|
6
|
-
|
|
5
|
+
_fncts_io_IO_api = require_rolldown_runtime.__toESM(_fncts_io_IO_api, 1);
|
|
6
|
+
// build/esm/Ref/Synchronized/definition.js
|
|
7
7
|
const fileName_1 = "(@fncts/io) src/Ref/Synchronized/definition.ts";
|
|
8
8
|
const SynchronizedTypeId = Symbol.for("fncts.io.Ref.Synchronized");
|
|
9
9
|
/**
|
|
@@ -56,7 +56,6 @@ var PSynchronizedInternal = class PSynchronizedInternal extends require_Ref_defi
|
|
|
56
56
|
* @tsplus macro remove
|
|
57
57
|
*/
|
|
58
58
|
function concreteSynchronized(self) {}
|
|
59
|
-
//#endregion
|
|
60
59
|
exports.PSynchronizedInternal = PSynchronizedInternal;
|
|
61
60
|
exports.Synchronized = Synchronized;
|
|
62
61
|
exports.SynchronizedTypeId = SynchronizedTypeId;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"definition.cjs","names":["RefInternal","tsplus_module_1"],"sources":["../../../esm/Ref/Synchronized/definition.js"],"sourcesContent":["const fileName_1 = \"(@fncts/io) src/Ref/Synchronized/definition.ts\";\nimport * as tsplus_module_1 from \"@fncts/io/IO/api\";\nimport { RefInternal } from \"../definition.js\";\nexport const SynchronizedTypeId = Symbol.for(\"fncts.io.Ref.Synchronized\");\n/**\n * @tsplus static fncts.io.RefOps Synchronized\n */\nexport const Synchronized = {};\n/**\n * @tsplus type fncts.io.Ref.Synchronized\n */\nexport class PSynchronizedInternal extends RefInternal {\n semaphore;\n unsafeGet;\n unsafeSet;\n [SynchronizedTypeId] = SynchronizedTypeId;\n constructor(semaphore, unsafeGet, unsafeSet) {\n super();\n this.semaphore = semaphore;\n this.unsafeGet = unsafeGet;\n this.unsafeSet = unsafeSet;\n }\n get get() {\n return this.withPermit(this.unsafeGet, fileName_1 + \":85:27\");\n }\n set(a, __tsplusTrace) {\n return this.withPermit(this.unsafeSet(a), fileName_1 + \":89:27\");\n }\n modify(f, __tsplusTrace) {\n return this.modifyIO((a) => tsplus_module_1.succeedNow(f(a), fileName_1 + \":93:46\"), fileName_1 + \":93:25\");\n }\n modifyIO(f, __tsplusTrace) {\n return this.withPermit(tsplus_module_1.flatMap(([c, a]) => tsplus_module_1.as(() => c, fileName_1 + \":100:94\")(this.unsafeSet(a)), fileName_1 + \":100:61\")(tsplus_module_1.flatMap(f, fileName_1 + \":100:50\")(this.unsafeGet)), fileName_1 + \":100:27\");\n }\n matchAllIO(mapSetError, mapGetError, mapSetGetError, mapSet, mapGet, __tsplusTrace) {\n return new PSynchronizedInternal(this.semaphore, tsplus_module_1.matchIO((e) => tsplus_module_1.failNow(mapGetError(e), fileName_1 + \":113:41\"), mapGet, fileName_1 + \":113:23\")(this.get), (c) => tsplus_module_1.matchIO((e) => tsplus_module_1.failNow(mapSetGetError(e), fileName_1 + \":116:28\"), (b) => tsplus_module_1.flatMap((a) => tsplus_module_1.mapError(mapSetError, fileName_1 + \":117:72\")(this.unsafeSet(a)), fileName_1 + \":117:38\")(mapSet(c)(b)), fileName_1 + \":115:25\")(this.get));\n }\n matchIO(mapSetError, mapGetError, mapSet, mapGet, __tsplusTrace) {\n return new PSynchronizedInternal(this.semaphore, tsplus_module_1.matchIO((e) => tsplus_module_1.failNow(mapGetError(e), fileName_1 + \":131:47\"), mapGet, fileName_1 + \":131:29\")(this.unsafeGet), (c) => tsplus_module_1.flatMap((a) => tsplus_module_1.mapError(mapSetError, fileName_1 + \":132:65\")(this.unsafeSet(a)), fileName_1 + \":132:31\")(mapSet(c)));\n }\n match(mapSetError, mapGetError, mapSet, mapGet, __tsplusTrace) {\n return this.matchIO(mapSetError, mapGetError, (c) => tsplus_module_1.fromEitherNow(mapSet(c), fileName_1 + \":146:30\"), (b) => tsplus_module_1.fromEitherNow(mapGet(b), fileName_1 + \":147:30\"), fileName_1 + \":143:24\");\n }\n matchAll(mapSetError, mapGetError, mapSetGetError, mapSet, mapGet, __tsplusTrace) {\n return this.matchAllIO(mapSetError, mapGetError, mapSetGetError, (c) => (b) => tsplus_module_1.fromEitherNow(mapSet(c)(b), fileName_1 + \":163:37\"), (b) => tsplus_module_1.fromEitherNow(mapGet(b), fileName_1 + \":164:30\"), fileName_1 + \":159:27\");\n }\n withPermit(io, __tsplusTrace) {\n return this.semaphore.withPermit(io);\n }\n}\n/**\n * @tsplus macro remove\n */\nexport function concreteSynchronized(self) {\n //\n}\n//# sourceMappingURL=definition.js.map"],"mappings":";;;;;;AAAA,MAAM,aAAa;AAGnB,MAAa,qBAAqB,OAAO,IAAI,
|
|
1
|
+
{"version":3,"file":"definition.cjs","names":["RefInternal","tsplus_module_1"],"sources":["../../../esm/Ref/Synchronized/definition.js"],"sourcesContent":["const fileName_1 = \"(@fncts/io) src/Ref/Synchronized/definition.ts\";\nimport * as tsplus_module_1 from \"@fncts/io/IO/api\";\nimport { RefInternal } from \"../definition.js\";\nexport const SynchronizedTypeId = Symbol.for(\"fncts.io.Ref.Synchronized\");\n/**\n * @tsplus static fncts.io.RefOps Synchronized\n */\nexport const Synchronized = {};\n/**\n * @tsplus type fncts.io.Ref.Synchronized\n */\nexport class PSynchronizedInternal extends RefInternal {\n semaphore;\n unsafeGet;\n unsafeSet;\n [SynchronizedTypeId] = SynchronizedTypeId;\n constructor(semaphore, unsafeGet, unsafeSet) {\n super();\n this.semaphore = semaphore;\n this.unsafeGet = unsafeGet;\n this.unsafeSet = unsafeSet;\n }\n get get() {\n return this.withPermit(this.unsafeGet, fileName_1 + \":85:27\");\n }\n set(a, __tsplusTrace) {\n return this.withPermit(this.unsafeSet(a), fileName_1 + \":89:27\");\n }\n modify(f, __tsplusTrace) {\n return this.modifyIO((a) => tsplus_module_1.succeedNow(f(a), fileName_1 + \":93:46\"), fileName_1 + \":93:25\");\n }\n modifyIO(f, __tsplusTrace) {\n return this.withPermit(tsplus_module_1.flatMap(([c, a]) => tsplus_module_1.as(() => c, fileName_1 + \":100:94\")(this.unsafeSet(a)), fileName_1 + \":100:61\")(tsplus_module_1.flatMap(f, fileName_1 + \":100:50\")(this.unsafeGet)), fileName_1 + \":100:27\");\n }\n matchAllIO(mapSetError, mapGetError, mapSetGetError, mapSet, mapGet, __tsplusTrace) {\n return new PSynchronizedInternal(this.semaphore, tsplus_module_1.matchIO((e) => tsplus_module_1.failNow(mapGetError(e), fileName_1 + \":113:41\"), mapGet, fileName_1 + \":113:23\")(this.get), (c) => tsplus_module_1.matchIO((e) => tsplus_module_1.failNow(mapSetGetError(e), fileName_1 + \":116:28\"), (b) => tsplus_module_1.flatMap((a) => tsplus_module_1.mapError(mapSetError, fileName_1 + \":117:72\")(this.unsafeSet(a)), fileName_1 + \":117:38\")(mapSet(c)(b)), fileName_1 + \":115:25\")(this.get));\n }\n matchIO(mapSetError, mapGetError, mapSet, mapGet, __tsplusTrace) {\n return new PSynchronizedInternal(this.semaphore, tsplus_module_1.matchIO((e) => tsplus_module_1.failNow(mapGetError(e), fileName_1 + \":131:47\"), mapGet, fileName_1 + \":131:29\")(this.unsafeGet), (c) => tsplus_module_1.flatMap((a) => tsplus_module_1.mapError(mapSetError, fileName_1 + \":132:65\")(this.unsafeSet(a)), fileName_1 + \":132:31\")(mapSet(c)));\n }\n match(mapSetError, mapGetError, mapSet, mapGet, __tsplusTrace) {\n return this.matchIO(mapSetError, mapGetError, (c) => tsplus_module_1.fromEitherNow(mapSet(c), fileName_1 + \":146:30\"), (b) => tsplus_module_1.fromEitherNow(mapGet(b), fileName_1 + \":147:30\"), fileName_1 + \":143:24\");\n }\n matchAll(mapSetError, mapGetError, mapSetGetError, mapSet, mapGet, __tsplusTrace) {\n return this.matchAllIO(mapSetError, mapGetError, mapSetGetError, (c) => (b) => tsplus_module_1.fromEitherNow(mapSet(c)(b), fileName_1 + \":163:37\"), (b) => tsplus_module_1.fromEitherNow(mapGet(b), fileName_1 + \":164:30\"), fileName_1 + \":159:27\");\n }\n withPermit(io, __tsplusTrace) {\n return this.semaphore.withPermit(io);\n }\n}\n/**\n * @tsplus macro remove\n */\nexport function concreteSynchronized(self) {\n //\n}\n//# sourceMappingURL=definition.js.map"],"mappings":";;;;;;AAAA,MAAM,aAAa;AAGnB,MAAa,qBAAqB,OAAO,IAAI,2BAA2B;;;;AAIxE,MAAa,eAAe,CAAC;;;;AAI7B,IAAa,wBAAb,MAAa,8BAA8BA,uBAAAA,YAAY;CACnD;CACA;CACA;CACA,CAAC,sBAAsB;CACvB,YAAY,WAAW,WAAW,WAAW;EACzC,MAAM;EACN,KAAK,YAAY;EACjB,KAAK,YAAY;EACjB,KAAK,YAAY;CACrB;CACA,IAAI,MAAM;EACN,OAAO,KAAK,WAAW,KAAK,WAAW,aAAa,QAAQ;CAChE;CACA,IAAI,GAAG,eAAe;EAClB,OAAO,KAAK,WAAW,KAAK,UAAU,CAAC,GAAG,aAAa,QAAQ;CACnE;CACA,OAAO,GAAG,eAAe;EACrB,OAAO,KAAK,UAAU,MAAMC,iBAAgB,WAAW,EAAE,CAAC,GAAG,aAAa,QAAQ,GAAG,aAAa,QAAQ;CAC9G;CACA,SAAS,GAAG,eAAe;EACvB,OAAO,KAAK,WAAWA,iBAAgB,SAAS,CAAC,GAAG,OAAOA,iBAAgB,SAAS,GAAG,aAAa,SAAS,CAAC,CAAC,KAAK,UAAU,CAAC,CAAC,GAAG,aAAa,SAAS,CAAC,CAACA,iBAAgB,QAAQ,GAAG,aAAa,SAAS,CAAC,CAAC,KAAK,SAAS,CAAC,GAAG,aAAa,SAAS;CAC1P;CACA,WAAW,aAAa,aAAa,gBAAgB,QAAQ,QAAQ,eAAe;EAChF,OAAO,IAAI,sBAAsB,KAAK,WAAWA,iBAAgB,SAAS,MAAMA,iBAAgB,QAAQ,YAAY,CAAC,GAAG,aAAa,SAAS,GAAG,QAAQ,aAAa,SAAS,CAAC,CAAC,KAAK,GAAG,IAAI,MAAMA,iBAAgB,SAAS,MAAMA,iBAAgB,QAAQ,eAAe,CAAC,GAAG,aAAa,SAAS,IAAI,MAAMA,iBAAgB,SAAS,MAAMA,iBAAgB,SAAS,aAAa,aAAa,SAAS,CAAC,CAAC,KAAK,UAAU,CAAC,CAAC,GAAG,aAAa,SAAS,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC,GAAG,aAAa,SAAS,CAAC,CAAC,KAAK,GAAG,CAAC;CAC1e;CACA,QAAQ,aAAa,aAAa,QAAQ,QAAQ,eAAe;EAC7D,OAAO,IAAI,sBAAsB,KAAK,WAAWA,iBAAgB,SAAS,MAAMA,iBAAgB,QAAQ,YAAY,CAAC,GAAG,aAAa,SAAS,GAAG,QAAQ,aAAa,SAAS,CAAC,CAAC,KAAK,SAAS,IAAI,MAAMA,iBAAgB,SAAS,MAAMA,iBAAgB,SAAS,aAAa,aAAa,SAAS,CAAC,CAAC,KAAK,UAAU,CAAC,CAAC,GAAG,aAAa,SAAS,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC;CAChW;CACA,MAAM,aAAa,aAAa,QAAQ,QAAQ,eAAe;EAC3D,OAAO,KAAK,QAAQ,aAAa,cAAc,MAAMA,iBAAgB,cAAc,OAAO,CAAC,GAAG,aAAa,SAAS,IAAI,MAAMA,iBAAgB,cAAc,OAAO,CAAC,GAAG,aAAa,SAAS,GAAG,aAAa,SAAS;CAC1N;CACA,SAAS,aAAa,aAAa,gBAAgB,QAAQ,QAAQ,eAAe;EAC9E,OAAO,KAAK,WAAW,aAAa,aAAa,iBAAiB,OAAO,MAAMA,iBAAgB,cAAc,OAAO,CAAC,CAAC,CAAC,CAAC,GAAG,aAAa,SAAS,IAAI,MAAMA,iBAAgB,cAAc,OAAO,CAAC,GAAG,aAAa,SAAS,GAAG,aAAa,SAAS;CACvP;CACA,WAAW,IAAI,eAAe;EAC1B,OAAO,KAAK,UAAU,WAAW,EAAE;CACvC;AACJ;;;;AAIA,SAAgB,qBAAqB,MAAM,CAE3C"}
|
package/_cjs/Ref/api/collect.cjs
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
const
|
|
2
|
+
const require_rolldown_runtime = require("../../rolldown-runtime.cjs");
|
|
3
3
|
let _fncts_base_data_Either_constructors = require("@fncts/base/data/Either/constructors");
|
|
4
|
-
_fncts_base_data_Either_constructors =
|
|
4
|
+
_fncts_base_data_Either_constructors = require_rolldown_runtime.__toESM(_fncts_base_data_Either_constructors, 1);
|
|
5
5
|
let _fncts_base_data_Maybe_constructors = require("@fncts/base/data/Maybe/constructors");
|
|
6
|
-
_fncts_base_data_Maybe_constructors =
|
|
6
|
+
_fncts_base_data_Maybe_constructors = require_rolldown_runtime.__toESM(_fncts_base_data_Maybe_constructors, 1);
|
|
7
7
|
let _fncts_base_data_function = require("@fncts/base/data/function");
|
|
8
8
|
let _fncts_io_Ref_api_match = require("@fncts/io/Ref/api/match");
|
|
9
|
-
_fncts_io_Ref_api_match =
|
|
10
|
-
|
|
9
|
+
_fncts_io_Ref_api_match = require_rolldown_runtime.__toESM(_fncts_io_Ref_api_match, 1);
|
|
10
|
+
// build/esm/Ref/api/collect.js
|
|
11
11
|
/**
|
|
12
12
|
* Maps and filters the `get` value of the `Ref` with the specified partial
|
|
13
13
|
* function, returning a `Ref` with a `get` value that succeeds with the
|
|
@@ -21,7 +21,6 @@ function collect(pf, __tsplusTrace) {
|
|
|
21
21
|
return _fncts_io_Ref_api_match.match(_fncts_base_data_function.identity, _fncts_base_data_Maybe_constructors.just, _fncts_base_data_Either_constructors.right, (b) => _fncts_base_data_Either_constructors.fromMaybe(() => _fncts_base_data_Maybe_constructors.nothing(__tsplusTrace))(pf(b)))(ref);
|
|
22
22
|
};
|
|
23
23
|
}
|
|
24
|
-
//#endregion
|
|
25
24
|
exports.collect = collect;
|
|
26
25
|
|
|
27
26
|
//# sourceMappingURL=collect.cjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"collect.cjs","names":["tsplus_module_3","identity","tsplus_module_1","tsplus_module_2"],"sources":["../../../esm/Ref/api/collect.js"],"sourcesContent":["import * as tsplus_module_1 from \"@fncts/base/data/Maybe/constructors\";\nimport * as tsplus_module_2 from \"@fncts/base/data/Either/constructors\";\nimport * as tsplus_module_3 from \"@fncts/io/Ref/api/match\";\nimport { identity } from \"@fncts/base/data/function\";\n/**\n * Maps and filters the `get` value of the `Ref` with the specified partial\n * function, returning a `Ref` with a `get` value that succeeds with the\n * result of the partial function if it is defined or else fails with `None`.\n *\n * @tsplus pipeable fncts.io.Ref collect\n * @tsplus pipeable fncts.io.Ref.Synchronized collect\n */\nexport function collect(pf, __tsplusTrace) {\n return (ref) => {\n return tsplus_module_3.match(identity, tsplus_module_1.just, tsplus_module_2.right, (b) => tsplus_module_2.fromMaybe(() => tsplus_module_1.nothing(__tsplusTrace))(pf(b)))(ref);\n };\n}\n//# sourceMappingURL=collect.js.map"],"mappings":";;;;;;;;;;;;;;;;;;AAYA,SAAgB,QAAQ,IAAI,eAAe;
|
|
1
|
+
{"version":3,"file":"collect.cjs","names":["tsplus_module_3","identity","tsplus_module_1","tsplus_module_2"],"sources":["../../../esm/Ref/api/collect.js"],"sourcesContent":["import * as tsplus_module_1 from \"@fncts/base/data/Maybe/constructors\";\nimport * as tsplus_module_2 from \"@fncts/base/data/Either/constructors\";\nimport * as tsplus_module_3 from \"@fncts/io/Ref/api/match\";\nimport { identity } from \"@fncts/base/data/function\";\n/**\n * Maps and filters the `get` value of the `Ref` with the specified partial\n * function, returning a `Ref` with a `get` value that succeeds with the\n * result of the partial function if it is defined or else fails with `None`.\n *\n * @tsplus pipeable fncts.io.Ref collect\n * @tsplus pipeable fncts.io.Ref.Synchronized collect\n */\nexport function collect(pf, __tsplusTrace) {\n return (ref) => {\n return tsplus_module_3.match(identity, tsplus_module_1.just, tsplus_module_2.right, (b) => tsplus_module_2.fromMaybe(() => tsplus_module_1.nothing(__tsplusTrace))(pf(b)))(ref);\n };\n}\n//# sourceMappingURL=collect.js.map"],"mappings":";;;;;;;;;;;;;;;;;;AAYA,SAAgB,QAAQ,IAAI,eAAe;CACvC,QAAQ,QAAQ;EACZ,OAAOA,wBAAgB,MAAMC,0BAAAA,UAAUC,oCAAgB,MAAMC,qCAAgB,QAAQ,MAAMA,qCAAgB,gBAAgBD,oCAAgB,QAAQ,aAAa,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,GAAG;CAClL;AACJ"}
|
package/_cjs/Ref/api/dimap.cjs
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
const
|
|
2
|
+
const require_rolldown_runtime = require("../../rolldown-runtime.cjs");
|
|
3
3
|
let _fncts_base_data_Either_constructors = require("@fncts/base/data/Either/constructors");
|
|
4
|
-
_fncts_base_data_Either_constructors =
|
|
4
|
+
_fncts_base_data_Either_constructors = require_rolldown_runtime.__toESM(_fncts_base_data_Either_constructors, 1);
|
|
5
5
|
let _fncts_io_Ref_api_match = require("@fncts/io/Ref/api/match");
|
|
6
|
-
_fncts_io_Ref_api_match =
|
|
7
|
-
|
|
6
|
+
_fncts_io_Ref_api_match = require_rolldown_runtime.__toESM(_fncts_io_Ref_api_match, 1);
|
|
7
|
+
// build/esm/Ref/api/dimap.js
|
|
8
8
|
const contramapEither = contramapEither_1;
|
|
9
9
|
const dimapEither = dimapEither_1;
|
|
10
10
|
const mapEither = mapEither_1;
|
|
@@ -90,7 +90,6 @@ function map(f, __tsplusTrace) {
|
|
|
90
90
|
return mapEither_1((b) => _fncts_base_data_Either_constructors.right(f(b), __tsplusTrace), __tsplusTrace)(ref);
|
|
91
91
|
};
|
|
92
92
|
}
|
|
93
|
-
//#endregion
|
|
94
93
|
exports.contramap = contramap;
|
|
95
94
|
exports.contramapEither = contramapEither;
|
|
96
95
|
exports.dimap = dimap;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dimap.cjs","names":["tsplus_module_1","tsplus_module_2"],"sources":["../../../esm/Ref/api/dimap.js"],"sourcesContent":["import * as tsplus_module_1 from \"@fncts/base/data/Either/constructors\";\nimport * as tsplus_module_2 from \"@fncts/io/Ref/api/match\";\nexport const contramapEither = contramapEither_1;\nexport const dimapEither = dimapEither_1;\nexport const mapEither = mapEither_1;\n/**\n * Transforms the `set` value of the `Ref` with the specified function.\n *\n * @tsplus pipeable fncts.io.Ref contramap\n * @tsplus pipeable fncts.io.Ref.Synchronized contramap\n */\nexport function contramap(f, __tsplusTrace) {\n return (self) => {\n return contramapEither_1((c) => tsplus_module_1.right(f(c), __tsplusTrace), __tsplusTrace)(self);\n };\n}\n/**\n * Transforms the `set` value of the `Ref` with the specified fallible\n * function.\n *\n * @tsplus pipeable fncts.io.Ref contramapEither\n * @tsplus pipeable fncts.io.Ref.Synchronized contramapEither\n */\nfunction contramapEither_1(f, __tsplusTrace) {\n return (self) => {\n return dimapEither_1(f, tsplus_module_1.right, __tsplusTrace)(self);\n };\n}\n/**\n * Transforms both the `set` and `get` values of the `Ref` with the\n * specified functions.\n *\n * @tsplus pipeable fncts.io.Ref dimap\n * @tsplus pipeable fncts.io.Ref.Synchronized dimap\n */\nexport function dimap(f, g, __tsplusTrace) {\n return (self) => {\n return dimapEither_1((c) => tsplus_module_1.right(f(c), __tsplusTrace), (b) => tsplus_module_1.right(g(b), __tsplusTrace), __tsplusTrace)(self);\n };\n}\n/**\n * Transforms both the `set` and `get` values of the `Ref` with the\n * specified fallible functions.\n *\n * @tsplus pipeable fncts.io.Ref dimapEither\n * @tsplus pipeable fncts.io.Ref.Synchronized dimapEither\n */\nfunction dimapEither_1(f, g, __tsplusTrace) {\n return (ref) => {\n return tsplus_module_2.match((ea) => ea, (eb) => eb, f, g)(ref);\n };\n}\n/**\n * Transforms both the `set` and `get` errors of the `Ref` with the\n * specified functions.\n *\n * @tsplus pipeable fncts.io.Ref dimapError\n * @tsplus pipeable fncts.io.Ref.Synchronized dimapError\n */\nexport function dimapError(f, g, __tsplusTrace) {\n return (ref) => {\n return tsplus_module_2.match(f, g, tsplus_module_1.right, tsplus_module_1.right)(ref);\n };\n}\n/**\n * Transforms the `get` value of the `Ref` with the specified fallible\n * function.\n *\n * @tsplus pipeable fncts.io.Ref mapEither\n * @tsplus pipeable fncts.io.Ref.Synchronized mapEither\n */\nfunction mapEither_1(f, __tsplusTrace) {\n return (ref) => {\n return dimapEither_1(tsplus_module_1.right, f, __tsplusTrace)(ref);\n };\n}\n/**\n * Transforms the `get` value of the `Ref` with the specified function.\n *\n * @tsplus pipeable fncts.io.Ref map\n * @tsplus pipeable fncts.io.Ref.Synchronized map\n */\nexport function map(f, __tsplusTrace) {\n return (ref) => {\n return mapEither_1((b) => tsplus_module_1.right(f(b), __tsplusTrace), __tsplusTrace)(ref);\n };\n}\n//# sourceMappingURL=dimap.js.map"],"mappings":";;;;;;;AAEA,MAAa,kBAAkB;AAC/B,MAAa,cAAc;AAC3B,MAAa,YAAY;;;;;;;AAOzB,SAAgB,UAAU,GAAG,eAAe;
|
|
1
|
+
{"version":3,"file":"dimap.cjs","names":["tsplus_module_1","tsplus_module_2"],"sources":["../../../esm/Ref/api/dimap.js"],"sourcesContent":["import * as tsplus_module_1 from \"@fncts/base/data/Either/constructors\";\nimport * as tsplus_module_2 from \"@fncts/io/Ref/api/match\";\nexport const contramapEither = contramapEither_1;\nexport const dimapEither = dimapEither_1;\nexport const mapEither = mapEither_1;\n/**\n * Transforms the `set` value of the `Ref` with the specified function.\n *\n * @tsplus pipeable fncts.io.Ref contramap\n * @tsplus pipeable fncts.io.Ref.Synchronized contramap\n */\nexport function contramap(f, __tsplusTrace) {\n return (self) => {\n return contramapEither_1((c) => tsplus_module_1.right(f(c), __tsplusTrace), __tsplusTrace)(self);\n };\n}\n/**\n * Transforms the `set` value of the `Ref` with the specified fallible\n * function.\n *\n * @tsplus pipeable fncts.io.Ref contramapEither\n * @tsplus pipeable fncts.io.Ref.Synchronized contramapEither\n */\nfunction contramapEither_1(f, __tsplusTrace) {\n return (self) => {\n return dimapEither_1(f, tsplus_module_1.right, __tsplusTrace)(self);\n };\n}\n/**\n * Transforms both the `set` and `get` values of the `Ref` with the\n * specified functions.\n *\n * @tsplus pipeable fncts.io.Ref dimap\n * @tsplus pipeable fncts.io.Ref.Synchronized dimap\n */\nexport function dimap(f, g, __tsplusTrace) {\n return (self) => {\n return dimapEither_1((c) => tsplus_module_1.right(f(c), __tsplusTrace), (b) => tsplus_module_1.right(g(b), __tsplusTrace), __tsplusTrace)(self);\n };\n}\n/**\n * Transforms both the `set` and `get` values of the `Ref` with the\n * specified fallible functions.\n *\n * @tsplus pipeable fncts.io.Ref dimapEither\n * @tsplus pipeable fncts.io.Ref.Synchronized dimapEither\n */\nfunction dimapEither_1(f, g, __tsplusTrace) {\n return (ref) => {\n return tsplus_module_2.match((ea) => ea, (eb) => eb, f, g)(ref);\n };\n}\n/**\n * Transforms both the `set` and `get` errors of the `Ref` with the\n * specified functions.\n *\n * @tsplus pipeable fncts.io.Ref dimapError\n * @tsplus pipeable fncts.io.Ref.Synchronized dimapError\n */\nexport function dimapError(f, g, __tsplusTrace) {\n return (ref) => {\n return tsplus_module_2.match(f, g, tsplus_module_1.right, tsplus_module_1.right)(ref);\n };\n}\n/**\n * Transforms the `get` value of the `Ref` with the specified fallible\n * function.\n *\n * @tsplus pipeable fncts.io.Ref mapEither\n * @tsplus pipeable fncts.io.Ref.Synchronized mapEither\n */\nfunction mapEither_1(f, __tsplusTrace) {\n return (ref) => {\n return dimapEither_1(tsplus_module_1.right, f, __tsplusTrace)(ref);\n };\n}\n/**\n * Transforms the `get` value of the `Ref` with the specified function.\n *\n * @tsplus pipeable fncts.io.Ref map\n * @tsplus pipeable fncts.io.Ref.Synchronized map\n */\nexport function map(f, __tsplusTrace) {\n return (ref) => {\n return mapEither_1((b) => tsplus_module_1.right(f(b), __tsplusTrace), __tsplusTrace)(ref);\n };\n}\n//# sourceMappingURL=dimap.js.map"],"mappings":";;;;;;;AAEA,MAAa,kBAAkB;AAC/B,MAAa,cAAc;AAC3B,MAAa,YAAY;;;;;;;AAOzB,SAAgB,UAAU,GAAG,eAAe;CACxC,QAAQ,SAAS;EACb,OAAO,mBAAmB,MAAMA,qCAAgB,MAAM,EAAE,CAAC,GAAG,aAAa,GAAG,aAAa,CAAC,CAAC,IAAI;CACnG;AACJ;;;;;;;;AAQA,SAAS,kBAAkB,GAAG,eAAe;CACzC,QAAQ,SAAS;EACb,OAAO,cAAc,GAAGA,qCAAgB,OAAO,aAAa,CAAC,CAAC,IAAI;CACtE;AACJ;;;;;;;;AAQA,SAAgB,MAAM,GAAG,GAAG,eAAe;CACvC,QAAQ,SAAS;EACb,OAAO,eAAe,MAAMA,qCAAgB,MAAM,EAAE,CAAC,GAAG,aAAa,IAAI,MAAMA,qCAAgB,MAAM,EAAE,CAAC,GAAG,aAAa,GAAG,aAAa,CAAC,CAAC,IAAI;CAClJ;AACJ;;;;;;;;AAQA,SAAS,cAAc,GAAG,GAAG,eAAe;CACxC,QAAQ,QAAQ;EACZ,OAAOC,wBAAgB,OAAO,OAAO,KAAK,OAAO,IAAI,GAAG,CAAC,CAAC,CAAC,GAAG;CAClE;AACJ;;;;;;;;AAQA,SAAgB,WAAW,GAAG,GAAG,eAAe;CAC5C,QAAQ,QAAQ;EACZ,OAAOA,wBAAgB,MAAM,GAAG,GAAGD,qCAAgB,OAAOA,qCAAgB,KAAK,CAAC,CAAC,GAAG;CACxF;AACJ;;;;;;;;AAQA,SAAS,YAAY,GAAG,eAAe;CACnC,QAAQ,QAAQ;EACZ,OAAO,cAAcA,qCAAgB,OAAO,GAAG,aAAa,CAAC,CAAC,GAAG;CACrE;AACJ;;;;;;;AAOA,SAAgB,IAAI,GAAG,eAAe;CAClC,QAAQ,QAAQ;EACZ,OAAO,aAAa,MAAMA,qCAAgB,MAAM,EAAE,CAAC,GAAG,aAAa,GAAG,aAAa,CAAC,CAAC,GAAG;CAC5F;AACJ"}
|
package/_cjs/Ref/api/filter.cjs
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
const
|
|
2
|
+
const require_rolldown_runtime = require("../../rolldown-runtime.cjs");
|
|
3
3
|
let _fncts_base_data_Either_constructors = require("@fncts/base/data/Either/constructors");
|
|
4
|
-
_fncts_base_data_Either_constructors =
|
|
4
|
+
_fncts_base_data_Either_constructors = require_rolldown_runtime.__toESM(_fncts_base_data_Either_constructors, 1);
|
|
5
5
|
let _fncts_base_data_Maybe_constructors = require("@fncts/base/data/Maybe/constructors");
|
|
6
|
-
_fncts_base_data_Maybe_constructors =
|
|
6
|
+
_fncts_base_data_Maybe_constructors = require_rolldown_runtime.__toESM(_fncts_base_data_Maybe_constructors, 1);
|
|
7
7
|
let _fncts_base_data_function = require("@fncts/base/data/function");
|
|
8
8
|
let _fncts_io_Ref_api_match = require("@fncts/io/Ref/api/match");
|
|
9
|
-
_fncts_io_Ref_api_match =
|
|
10
|
-
|
|
9
|
+
_fncts_io_Ref_api_match = require_rolldown_runtime.__toESM(_fncts_io_Ref_api_match, 1);
|
|
10
|
+
// build/esm/Ref/api/filter.js
|
|
11
11
|
/**
|
|
12
12
|
* Filters the `set` value of the `Ref` with the specified predicate,
|
|
13
13
|
* returning a `Ref` with a `set` value that succeeds if the predicate is
|
|
@@ -34,7 +34,6 @@ function filterOutput(p, __tsplusTrace) {
|
|
|
34
34
|
return _fncts_io_Ref_api_match.match(_fncts_base_data_function.identity, _fncts_base_data_Maybe_constructors.just, _fncts_base_data_Either_constructors.right, (b) => p(b) ? _fncts_base_data_Either_constructors.right(b, __tsplusTrace) : _fncts_base_data_Either_constructors.left(_fncts_base_data_Maybe_constructors.nothing(__tsplusTrace), __tsplusTrace))(self);
|
|
35
35
|
};
|
|
36
36
|
}
|
|
37
|
-
//#endregion
|
|
38
37
|
exports.filterInput = filterInput;
|
|
39
38
|
exports.filterOutput = filterOutput;
|
|
40
39
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"filter.cjs","names":["tsplus_module_3","tsplus_module_1","identity","tsplus_module_2"],"sources":["../../../esm/Ref/api/filter.js"],"sourcesContent":["import * as tsplus_module_1 from \"@fncts/base/data/Maybe/constructors\";\nimport * as tsplus_module_2 from \"@fncts/base/data/Either/constructors\";\nimport * as tsplus_module_3 from \"@fncts/io/Ref/api/match\";\nimport { identity } from \"@fncts/base/data/function\";\n/**\n * Filters the `set` value of the `Ref` with the specified predicate,\n * returning a `Ref` with a `set` value that succeeds if the predicate is\n * satisfied or else fails with `None`.\n *\n * @tsplus pipeable fncts.io.Ref filterInput\n * @tsplus pipeable fncts.io.Ref.Synchronized filterInput\n */\nexport function filterInput(p, __tsplusTrace) {\n return (self) => {\n return tsplus_module_3.match(tsplus_module_1.just, identity, (a) => (p(a) ? tsplus_module_2.right(a, __tsplusTrace) : tsplus_module_2.left(tsplus_module_1.nothing(__tsplusTrace), __tsplusTrace)), tsplus_module_2.right)(self);\n };\n}\n/**\n * Filters the `get` value of the `Ref` with the specified predicate,\n * returning a `Ref` with a `get` value that succeeds if the predicate is\n * satisfied or else fails with `None`.\n *\n * @tsplus pipeable fncts.io.Ref filterOutput\n * @tsplus pipeable fncts.io.Ref.Synchronized filterOutput\n */\nexport function filterOutput(p, __tsplusTrace) {\n return (self) => {\n return tsplus_module_3.match(identity, tsplus_module_1.just, tsplus_module_2.right, (b) => (p(b) ? tsplus_module_2.right(b, __tsplusTrace) : tsplus_module_2.left(tsplus_module_1.nothing(__tsplusTrace), __tsplusTrace)))(self);\n };\n}\n//# sourceMappingURL=filter.js.map"],"mappings":";;;;;;;;;;;;;;;;;;AAYA,SAAgB,YAAY,GAAG,eAAe;
|
|
1
|
+
{"version":3,"file":"filter.cjs","names":["tsplus_module_3","tsplus_module_1","identity","tsplus_module_2"],"sources":["../../../esm/Ref/api/filter.js"],"sourcesContent":["import * as tsplus_module_1 from \"@fncts/base/data/Maybe/constructors\";\nimport * as tsplus_module_2 from \"@fncts/base/data/Either/constructors\";\nimport * as tsplus_module_3 from \"@fncts/io/Ref/api/match\";\nimport { identity } from \"@fncts/base/data/function\";\n/**\n * Filters the `set` value of the `Ref` with the specified predicate,\n * returning a `Ref` with a `set` value that succeeds if the predicate is\n * satisfied or else fails with `None`.\n *\n * @tsplus pipeable fncts.io.Ref filterInput\n * @tsplus pipeable fncts.io.Ref.Synchronized filterInput\n */\nexport function filterInput(p, __tsplusTrace) {\n return (self) => {\n return tsplus_module_3.match(tsplus_module_1.just, identity, (a) => (p(a) ? tsplus_module_2.right(a, __tsplusTrace) : tsplus_module_2.left(tsplus_module_1.nothing(__tsplusTrace), __tsplusTrace)), tsplus_module_2.right)(self);\n };\n}\n/**\n * Filters the `get` value of the `Ref` with the specified predicate,\n * returning a `Ref` with a `get` value that succeeds if the predicate is\n * satisfied or else fails with `None`.\n *\n * @tsplus pipeable fncts.io.Ref filterOutput\n * @tsplus pipeable fncts.io.Ref.Synchronized filterOutput\n */\nexport function filterOutput(p, __tsplusTrace) {\n return (self) => {\n return tsplus_module_3.match(identity, tsplus_module_1.just, tsplus_module_2.right, (b) => (p(b) ? tsplus_module_2.right(b, __tsplusTrace) : tsplus_module_2.left(tsplus_module_1.nothing(__tsplusTrace), __tsplusTrace)))(self);\n };\n}\n//# sourceMappingURL=filter.js.map"],"mappings":";;;;;;;;;;;;;;;;;;AAYA,SAAgB,YAAY,GAAG,eAAe;CAC1C,QAAQ,SAAS;EACb,OAAOA,wBAAgB,MAAMC,oCAAgB,MAAMC,0BAAAA,WAAW,MAAO,EAAE,CAAC,IAAIC,qCAAgB,MAAM,GAAG,aAAa,IAAIA,qCAAgB,KAAKF,oCAAgB,QAAQ,aAAa,GAAG,aAAa,GAAIE,qCAAgB,KAAK,CAAC,CAAC,IAAI;CACnO;AACJ;;;;;;;;;AASA,SAAgB,aAAa,GAAG,eAAe;CAC3C,QAAQ,SAAS;EACb,OAAOH,wBAAgB,MAAME,0BAAAA,UAAUD,oCAAgB,MAAME,qCAAgB,QAAQ,MAAO,EAAE,CAAC,IAAIA,qCAAgB,MAAM,GAAG,aAAa,IAAIA,qCAAgB,KAAKF,oCAAgB,QAAQ,aAAa,GAAG,aAAa,CAAE,CAAC,CAAC,IAAI;CACnO;AACJ"}
|