@fncts/base 0.0.21 → 0.0.23
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/_cjs/collection/Iterable/api/traverseConc.cjs +0 -11
- package/_cjs/collection/Iterable/api/traverseConc.cjs.map +1 -1
- package/_cjs/collection/Iterable/api.cjs +35 -198
- package/_cjs/collection/Iterable/api.cjs.map +1 -1
- package/_cjs/collection/Iterable/constructors.cjs +0 -18
- package/_cjs/collection/Iterable/constructors.cjs.map +1 -1
- package/_cjs/collection/Iterable/definition.cjs.map +1 -1
- package/_cjs/collection/Iterable.cjs +0 -6
- package/_cjs/collection/Iterable.cjs.map +1 -1
- package/_cjs/collection/compat/Array/api.cjs +2 -15
- package/_cjs/collection/compat/Array/api.cjs.map +1 -1
- package/_cjs/collection/compat/Array/definition.cjs.map +1 -1
- package/_cjs/collection/compat/Array.cjs +0 -17
- package/_cjs/collection/compat/Array.cjs.map +1 -1
- package/_cjs/collection/compat/ArrayLike/api.cjs +3 -12
- package/_cjs/collection/compat/ArrayLike/api.cjs.map +1 -1
- package/_cjs/collection/immutable/Conc/api/empty.cjs +0 -2
- package/_cjs/collection/immutable/Conc/api/empty.cjs.map +1 -1
- package/_cjs/collection/immutable/Conc/api/makeBy.cjs +0 -8
- package/_cjs/collection/immutable/Conc/api/makeBy.cjs.map +1 -1
- package/_cjs/collection/immutable/Conc/api/replicate.cjs +0 -4
- package/_cjs/collection/immutable/Conc/api/replicate.cjs.map +1 -1
- package/_cjs/collection/immutable/Conc/api.cjs +34 -373
- package/_cjs/collection/immutable/Conc/api.cjs.map +1 -1
- package/_cjs/collection/immutable/Conc/constructors.cjs +0 -14
- package/_cjs/collection/immutable/Conc/constructors.cjs.map +1 -1
- package/_cjs/collection/immutable/Conc/definition.cjs +33 -231
- package/_cjs/collection/immutable/Conc/definition.cjs.map +1 -1
- package/_cjs/collection/immutable/Conc.cjs +0 -25
- package/_cjs/collection/immutable/Conc.cjs.map +1 -1
- package/_cjs/collection/immutable/Dictionary/api.cjs +0 -26
- package/_cjs/collection/immutable/Dictionary/api.cjs.map +1 -1
- package/_cjs/collection/immutable/Dictionary/definition.cjs +0 -4
- package/_cjs/collection/immutable/Dictionary/definition.cjs.map +1 -1
- package/_cjs/collection/immutable/Dictionary.cjs +28 -0
- package/_cjs/collection/immutable/Dictionary.cjs.map +1 -0
- package/_cjs/collection/immutable/HashMap/api.cjs +107 -261
- package/_cjs/collection/immutable/HashMap/api.cjs.map +1 -1
- package/_cjs/collection/immutable/HashMap/definition.cjs +24 -44
- package/_cjs/collection/immutable/HashMap/definition.cjs.map +1 -1
- package/_cjs/collection/immutable/HashMap/internal.cjs +3 -88
- package/_cjs/collection/immutable/HashMap/internal.cjs.map +1 -1
- package/_cjs/collection/immutable/HashMap.cjs +0 -4
- package/_cjs/collection/immutable/HashMap.cjs.map +1 -1
- package/_cjs/collection/immutable/HashSet/api.cjs +97 -191
- package/_cjs/collection/immutable/HashSet/api.cjs.map +1 -1
- package/_cjs/collection/immutable/HashSet/definition.cjs +22 -93
- package/_cjs/collection/immutable/HashSet/definition.cjs.map +1 -1
- package/_cjs/collection/immutable/HashSet.cjs +0 -4
- package/_cjs/collection/immutable/HashSet.cjs.map +1 -1
- package/_cjs/collection/immutable/ImmutableArray/api/chunksOf.cjs +0 -5
- package/_cjs/collection/immutable/ImmutableArray/api/chunksOf.cjs.map +1 -1
- package/_cjs/collection/immutable/ImmutableArray/api/slice.cjs +0 -4
- package/_cjs/collection/immutable/ImmutableArray/api/slice.cjs.map +1 -1
- package/_cjs/collection/immutable/ImmutableArray/api/splitAt.cjs +0 -4
- package/_cjs/collection/immutable/ImmutableArray/api/splitAt.cjs.map +1 -1
- package/_cjs/collection/immutable/ImmutableArray/api/splitWhere.cjs +0 -7
- package/_cjs/collection/immutable/ImmutableArray/api/splitWhere.cjs.map +1 -1
- package/_cjs/collection/immutable/ImmutableArray/api.cjs +24 -417
- package/_cjs/collection/immutable/ImmutableArray/api.cjs.map +1 -1
- package/_cjs/collection/immutable/ImmutableArray/constructors.cjs +0 -18
- package/_cjs/collection/immutable/ImmutableArray/constructors.cjs.map +1 -1
- package/_cjs/collection/immutable/ImmutableArray/definition.cjs +11 -25
- package/_cjs/collection/immutable/ImmutableArray/definition.cjs.map +1 -1
- package/_cjs/collection/immutable/ImmutableArray/instances.cjs +16 -30
- package/_cjs/collection/immutable/ImmutableArray/instances.cjs.map +1 -1
- package/_cjs/collection/immutable/ImmutableArray.cjs +0 -29
- package/_cjs/collection/immutable/ImmutableArray.cjs.map +1 -1
- package/_cjs/collection/immutable/ImmutableNonEmptyArray/api.cjs +17 -167
- package/_cjs/collection/immutable/ImmutableNonEmptyArray/api.cjs.map +1 -1
- package/_cjs/collection/immutable/ImmutableNonEmptyArray/constructors.cjs +0 -24
- package/_cjs/collection/immutable/ImmutableNonEmptyArray/constructors.cjs.map +1 -1
- package/_cjs/collection/immutable/ImmutableNonEmptyArray/definition.cjs +0 -9
- package/_cjs/collection/immutable/ImmutableNonEmptyArray/definition.cjs.map +1 -1
- package/_cjs/collection/immutable/ImmutableNonEmptyArray/destructors.cjs +0 -17
- package/_cjs/collection/immutable/ImmutableNonEmptyArray/destructors.cjs.map +1 -1
- package/_cjs/collection/immutable/ImmutableNonEmptyArray/instances.cjs +12 -21
- package/_cjs/collection/immutable/ImmutableNonEmptyArray/instances.cjs.map +1 -1
- package/_cjs/collection/immutable/ImmutableNonEmptyArray.cjs +0 -23
- package/_cjs/collection/immutable/ImmutableNonEmptyArray.cjs.map +1 -1
- package/_cjs/collection/immutable/List/api/foldLeft.cjs +0 -6
- package/_cjs/collection/immutable/List/api/foldLeft.cjs.map +1 -1
- package/_cjs/collection/immutable/List/api/unsafeTail.cjs +0 -6
- package/_cjs/collection/immutable/List/api/unsafeTail.cjs.map +1 -1
- package/_cjs/collection/immutable/List/api.cjs +17 -112
- package/_cjs/collection/immutable/List/api.cjs.map +1 -1
- package/_cjs/collection/immutable/List/constructors.cjs +1 -19
- package/_cjs/collection/immutable/List/constructors.cjs.map +1 -1
- package/_cjs/collection/immutable/List/definition.cjs +2 -25
- package/_cjs/collection/immutable/List/definition.cjs.map +1 -1
- package/_cjs/collection/immutable/List.cjs +0 -10
- package/_cjs/collection/immutable/List.cjs.map +1 -1
- package/_cjs/collection/immutable/Queue/api.cjs +43 -90
- package/_cjs/collection/immutable/Queue/api.cjs.map +1 -1
- package/_cjs/collection/immutable/Queue/constructors.cjs +0 -8
- package/_cjs/collection/immutable/Queue/constructors.cjs.map +1 -1
- package/_cjs/collection/immutable/Queue/definition.cjs +2 -12
- package/_cjs/collection/immutable/Queue/definition.cjs.map +1 -1
- package/_cjs/collection/immutable/Queue/guards.cjs +2 -6
- package/_cjs/collection/immutable/Queue/guards.cjs.map +1 -1
- package/_cjs/collection/immutable/Queue.cjs +0 -8
- package/_cjs/collection/immutable/Queue.cjs.map +1 -1
- package/_cjs/collection/immutable/RoseTree/api.cjs +26 -82
- package/_cjs/collection/immutable/RoseTree/api.cjs.map +1 -1
- package/_cjs/collection/immutable/RoseTree/definition.cjs +11 -23
- package/_cjs/collection/immutable/RoseTree/definition.cjs.map +1 -1
- package/_cjs/collection/immutable/RoseTree.cjs +0 -4
- package/_cjs/collection/immutable/RoseTree.cjs.map +1 -1
- package/_cjs/collection/immutable/SortedMap/api.cjs +132 -269
- package/_cjs/collection/immutable/SortedMap/api.cjs.map +1 -1
- package/_cjs/collection/immutable/SortedMap/definition.cjs +6 -7
- package/_cjs/collection/immutable/SortedMap/definition.cjs.map +1 -1
- package/_cjs/collection/immutable/SortedMap/internal.cjs +55 -226
- package/_cjs/collection/immutable/SortedMap/internal.cjs.map +1 -1
- package/_cjs/collection/immutable/SortedMap/iterator.cjs +16 -107
- package/_cjs/collection/immutable/SortedMap/iterator.cjs.map +1 -1
- package/_cjs/collection/immutable/SortedMap/node.cjs +0 -3
- package/_cjs/collection/immutable/SortedMap/node.cjs.map +1 -1
- package/_cjs/collection/immutable/SortedMap.cjs +0 -10
- package/_cjs/collection/immutable/SortedMap.cjs.map +1 -1
- package/_cjs/collection/immutable/Vector/api.cjs +206 -455
- package/_cjs/collection/immutable/Vector/api.cjs.map +1 -1
- package/_cjs/collection/immutable/Vector/definition.cjs +16 -38
- package/_cjs/collection/immutable/Vector/definition.cjs.map +1 -1
- package/_cjs/collection/immutable/Vector/internal.cjs +42 -362
- package/_cjs/collection/immutable/Vector/internal.cjs.map +1 -1
- package/_cjs/collection/immutable/Vector.cjs +0 -4
- package/_cjs/collection/immutable/Vector.cjs.map +1 -1
- package/_cjs/collection/mutable/HashMap.cjs +7 -84
- package/_cjs/collection/mutable/HashMap.cjs.map +1 -1
- package/_cjs/collection/mutable/HashSet.cjs +6 -67
- package/_cjs/collection/mutable/HashSet.cjs.map +1 -1
- package/_cjs/collection/mutable/ListBuffer.cjs +1 -33
- package/_cjs/collection/mutable/ListBuffer.cjs.map +1 -1
- package/_cjs/collection/mutable/internal.cjs +0 -6
- package/_cjs/collection/mutable/internal.cjs.map +1 -1
- package/_cjs/collection/weak/IterableWeakMap.cjs +0 -26
- package/_cjs/collection/weak/IterableWeakMap.cjs.map +1 -1
- package/_cjs/collection/weak/IterableWeakSet.cjs +0 -22
- package/_cjs/collection/weak/IterableWeakSet.cjs.map +1 -1
- package/_cjs/control/Eval/api/sequenceArray.cjs +0 -5
- package/_cjs/control/Eval/api/sequenceArray.cjs.map +1 -1
- package/_cjs/control/Eval/api.cjs +2 -34
- package/_cjs/control/Eval/api.cjs.map +1 -1
- package/_cjs/control/Eval/constructors.cjs +0 -9
- package/_cjs/control/Eval/constructors.cjs.map +1 -1
- package/_cjs/control/Eval/definition.cjs +16 -28
- package/_cjs/control/Eval/definition.cjs.map +1 -1
- package/_cjs/control/Eval/instance.cjs +2 -9
- package/_cjs/control/Eval/instance.cjs.map +1 -1
- package/_cjs/control/Eval/run.cjs +4 -27
- package/_cjs/control/Eval/run.cjs.map +1 -1
- package/_cjs/control/Eval.cjs +0 -10
- package/_cjs/control/Eval.cjs.map +1 -1
- package/_cjs/control/LazyValue.cjs +0 -6
- package/_cjs/control/LazyValue.cjs.map +1 -1
- package/_cjs/control/Z/api.cjs +6 -140
- package/_cjs/control/Z/api.cjs.map +1 -1
- package/_cjs/control/Z/definition.cjs +29 -93
- package/_cjs/control/Z/definition.cjs.map +1 -1
- package/_cjs/control/Z/instances.cjs +0 -5
- package/_cjs/control/Z/instances.cjs.map +1 -1
- package/_cjs/control/Z/runtime.cjs +14 -107
- package/_cjs/control/Z/runtime.cjs.map +1 -1
- package/_cjs/control/Z.cjs +0 -8
- package/_cjs/control/Z.cjs.map +1 -1
- package/_cjs/data/Branded/definition.cjs +0 -5
- package/_cjs/data/Branded/definition.cjs.map +1 -1
- package/_cjs/data/Branded.cjs +0 -15
- package/_cjs/data/Branded.cjs.map +1 -1
- package/_cjs/data/CaseClass.cjs +14 -46
- package/_cjs/data/CaseClass.cjs.map +1 -1
- package/_cjs/data/Cause/api/fold.cjs +11 -57
- package/_cjs/data/Cause/api/fold.cjs.map +1 -1
- package/_cjs/data/Cause/api/isEmpty.cjs +6 -32
- package/_cjs/data/Cause/api/isEmpty.cjs.map +1 -1
- package/_cjs/data/Cause/api/linearize.cjs +6 -13
- package/_cjs/data/Cause/api/linearize.cjs.map +1 -1
- package/_cjs/data/Cause/api/prettyPrint.cjs +0 -13
- package/_cjs/data/Cause/api/prettyPrint.cjs.map +1 -1
- package/_cjs/data/Cause/api/unified.cjs +14 -54
- package/_cjs/data/Cause/api/unified.cjs.map +1 -1
- package/_cjs/data/Cause/api.cjs +96 -413
- package/_cjs/data/Cause/api.cjs.map +1 -1
- package/_cjs/data/Cause/definition.cjs +49 -284
- package/_cjs/data/Cause/definition.cjs.map +1 -1
- package/_cjs/data/Cause.cjs +0 -14
- package/_cjs/data/Cause.cjs.map +1 -1
- package/_cjs/data/Const/api.cjs +1 -5
- package/_cjs/data/Const/api.cjs.map +1 -1
- package/_cjs/data/Const/definition.cjs +0 -3
- package/_cjs/data/Const/definition.cjs.map +1 -1
- package/_cjs/data/Const/instances.cjs +4 -12
- package/_cjs/data/Const/instances.cjs.map +1 -1
- package/_cjs/data/Const.cjs +0 -6
- package/_cjs/data/Const.cjs.map +1 -1
- package/_cjs/data/Datum/api.cjs +25 -147
- package/_cjs/data/Datum/api.cjs.map +1 -1
- package/_cjs/data/Datum/definition.cjs +20 -59
- package/_cjs/data/Datum/definition.cjs.map +1 -1
- package/_cjs/data/Datum/instances.cjs +0 -9
- package/_cjs/data/Datum/instances.cjs.map +1 -1
- package/_cjs/data/DatumEither/api.cjs +37 -132
- package/_cjs/data/DatumEither/api.cjs.map +1 -1
- package/_cjs/data/DatumEither/definition.cjs.map +1 -1
- package/_cjs/data/DatumEither.cjs +28 -0
- package/_cjs/data/DatumEither.cjs.map +1 -0
- package/_cjs/data/DecodeError/definition.cjs +4 -83
- package/_cjs/data/DecodeError/definition.cjs.map +1 -1
- package/_cjs/data/DecodeError.cjs +0 -4
- package/_cjs/data/DecodeError.cjs.map +1 -1
- package/_cjs/data/Decoder/api.cjs +424 -71
- package/_cjs/data/Decoder/api.cjs.map +1 -1
- package/_cjs/data/Decoder/definition.cjs +4 -8
- package/_cjs/data/Decoder/definition.cjs.map +1 -1
- package/_cjs/data/Decoder.cjs +0 -4
- package/_cjs/data/Decoder.cjs.map +1 -1
- package/_cjs/data/Duration/api.cjs +6 -24
- package/_cjs/data/Duration/api.cjs.map +1 -1
- package/_cjs/data/Duration/definition.cjs +8 -21
- package/_cjs/data/Duration/definition.cjs.map +1 -1
- package/_cjs/data/Duration.cjs +0 -4
- package/_cjs/data/Duration.cjs.map +1 -1
- package/_cjs/data/Either/api/align.cjs +0 -5
- package/_cjs/data/Either/api/align.cjs.map +1 -1
- package/_cjs/data/Either/api/alignWith.cjs +1 -13
- package/_cjs/data/Either/api/alignWith.cjs.map +1 -1
- package/_cjs/data/Either/api.cjs +32 -160
- package/_cjs/data/Either/api.cjs.map +1 -1
- package/_cjs/data/Either/constructors.cjs +0 -19
- package/_cjs/data/Either/constructors.cjs.map +1 -1
- package/_cjs/data/Either/definition.cjs +11 -26
- package/_cjs/data/Either/definition.cjs.map +1 -1
- package/_cjs/data/Either/destructors.cjs +2 -9
- package/_cjs/data/Either/destructors.cjs.map +1 -1
- package/_cjs/data/Either/instances.cjs +14 -67
- package/_cjs/data/Either/instances.cjs.map +1 -1
- package/_cjs/data/Either.cjs +0 -10
- package/_cjs/data/Either.cjs.map +1 -1
- package/_cjs/data/EitherT/api.cjs +0 -24
- package/_cjs/data/EitherT/api.cjs.map +1 -1
- package/_cjs/data/EitherT/definition.cjs.map +1 -1
- package/_cjs/data/Encoder/api.cjs +226 -36
- package/_cjs/data/Encoder/api.cjs.map +1 -1
- package/_cjs/data/Encoder/definition.cjs +3 -5
- package/_cjs/data/Encoder/definition.cjs.map +1 -1
- package/_cjs/data/Encoder.cjs +0 -4
- package/_cjs/data/Encoder.cjs.map +1 -1
- package/_cjs/data/Environment/api.cjs +6 -46
- package/_cjs/data/Environment/api.cjs.map +1 -1
- package/_cjs/data/Environment/definition.cjs +14 -31
- package/_cjs/data/Environment/definition.cjs.map +1 -1
- package/_cjs/data/Environment.cjs +0 -4
- package/_cjs/data/Environment.cjs.map +1 -1
- package/_cjs/data/EnvironmentPatch.cjs +20 -82
- package/_cjs/data/EnvironmentPatch.cjs.map +1 -1
- package/_cjs/{typeclass → data}/Eq/definition.cjs +2 -4
- package/_cjs/data/Eq/definition.cjs.map +1 -0
- package/_cjs/{typeclass → data}/Eq/derivations.cjs +9 -18
- package/_cjs/data/Eq/derivations.cjs.map +1 -0
- package/_cjs/{typeclass → data}/Eq.cjs +0 -2
- package/_cjs/data/Eq.cjs.map +1 -0
- package/_cjs/{typeclass → data}/Equatable/api.cjs +2 -10
- package/_cjs/data/Equatable/api.cjs.map +1 -0
- package/_cjs/{typeclass → data}/Equatable/definition.cjs +0 -6
- package/_cjs/data/Equatable/definition.cjs.map +1 -0
- package/_cjs/{typeclass → data}/Equatable/fast-equals.cjs +1 -83
- package/_cjs/data/Equatable/fast-equals.cjs.map +1 -0
- package/_cjs/{typeclass → data}/Equatable.cjs +0 -6
- package/_cjs/data/Equatable.cjs.map +1 -0
- package/_cjs/data/ExecutionStrategy.cjs +0 -9
- package/_cjs/data/ExecutionStrategy.cjs.map +1 -1
- package/_cjs/data/Exit/api.cjs +43 -110
- package/_cjs/data/Exit/api.cjs.map +1 -1
- package/_cjs/data/Exit/constructors.cjs +0 -22
- package/_cjs/data/Exit/constructors.cjs.map +1 -1
- package/_cjs/data/Exit/definition.cjs +20 -57
- package/_cjs/data/Exit/definition.cjs.map +1 -1
- package/_cjs/data/Exit.cjs +0 -6
- package/_cjs/data/Exit.cjs.map +1 -1
- package/_cjs/data/FiberId/api.cjs +5 -21
- package/_cjs/data/FiberId/api.cjs.map +1 -1
- package/_cjs/data/FiberId/constructors.cjs +5 -19
- package/_cjs/data/FiberId/constructors.cjs.map +1 -1
- package/_cjs/data/FiberId/definition.cjs +16 -46
- package/_cjs/data/FiberId/definition.cjs.map +1 -1
- package/_cjs/data/FiberId.cjs +0 -6
- package/_cjs/data/FiberId.cjs.map +1 -1
- package/_cjs/data/Guard/api.cjs +419 -0
- package/_cjs/data/Guard/api.cjs.map +1 -0
- package/_cjs/{typeclass → data}/Guard/definition.cjs +7 -9
- package/_cjs/data/Guard/definition.cjs.map +1 -0
- package/_cjs/{typeclass → data}/Guard.cjs +0 -4
- package/_cjs/data/Guard.cjs.map +1 -0
- package/_cjs/{typeclass → data}/Hash.cjs +0 -2
- package/_cjs/data/Hash.cjs.map +1 -0
- package/_cjs/{typeclass → data}/HashEq.cjs +14 -25
- package/_cjs/data/HashEq.cjs.map +1 -0
- package/_cjs/{typeclass → data}/Hashable/definition.cjs +0 -6
- package/_cjs/data/Hashable/definition.cjs.map +1 -0
- package/_cjs/{typeclass → data}/Hashable/hash.cjs +3 -65
- package/_cjs/data/Hashable/hash.cjs.map +1 -0
- package/_cjs/{typeclass → data}/Hashable.cjs +0 -4
- package/_cjs/data/Hashable.cjs.map +1 -0
- package/_cjs/data/Identity/api.cjs +0 -17
- package/_cjs/data/Identity/api.cjs.map +1 -1
- package/_cjs/data/Identity/definition.cjs +0 -4
- package/_cjs/data/Identity/definition.cjs.map +1 -1
- package/_cjs/data/Identity/instances.cjs +4 -9
- package/_cjs/data/Identity/instances.cjs.map +1 -1
- package/_cjs/data/Identity.cjs +0 -6
- package/_cjs/data/Identity.cjs.map +1 -1
- package/_cjs/data/Interval.cjs +4 -35
- package/_cjs/data/Interval.cjs.map +1 -1
- package/_cjs/data/Intervals.cjs +10 -49
- package/_cjs/data/Intervals.cjs.map +1 -1
- package/_cjs/data/Maybe/api.cjs +19 -99
- package/_cjs/data/Maybe/api.cjs.map +1 -1
- package/_cjs/data/Maybe/constructors.cjs +0 -24
- package/_cjs/data/Maybe/constructors.cjs.map +1 -1
- package/_cjs/data/Maybe/definition.cjs +18 -55
- package/_cjs/data/Maybe/definition.cjs.map +1 -1
- package/_cjs/data/Maybe/destructors.cjs +1 -4
- package/_cjs/data/Maybe/destructors.cjs.map +1 -1
- package/_cjs/data/Maybe/instances.cjs +40 -34
- package/_cjs/data/Maybe/instances.cjs.map +1 -1
- package/_cjs/data/Maybe.cjs +0 -10
- package/_cjs/data/Maybe.cjs.map +1 -1
- package/_cjs/data/Newtype.cjs +0 -7
- package/_cjs/data/Newtype.cjs.map +1 -1
- package/_cjs/{typeclass → data}/Ord/api/contramap.cjs +2 -3
- package/_cjs/data/Ord/api/contramap.cjs.map +1 -0
- package/_cjs/{typeclass → data}/Ord/api/max.cjs +3 -4
- package/_cjs/data/Ord/api/max.cjs.map +1 -0
- package/_cjs/{typeclass → data}/Ord/api/min.cjs +3 -4
- package/_cjs/data/Ord/api/min.cjs.map +1 -0
- package/_cjs/{typeclass → data}/Ord/api.cjs +0 -6
- package/_cjs/data/Ord/api.cjs.map +1 -0
- package/_cjs/{typeclass → data}/Ord/definition.cjs +5 -12
- package/_cjs/data/Ord/definition.cjs.map +1 -0
- package/_cjs/{typeclass → data}/Ord/instances.cjs +13 -23
- package/_cjs/data/Ord/instances.cjs.map +1 -0
- package/_cjs/{typeclass → data}/Ord.cjs +0 -6
- package/_cjs/data/Ord.cjs.map +1 -0
- package/_cjs/{typeclass → data}/Ordering.cjs +0 -9
- package/_cjs/data/Ordering.cjs.map +1 -0
- package/_cjs/data/Predicate/api.cjs +0 -7
- package/_cjs/data/Predicate/api.cjs.map +1 -1
- package/_cjs/data/Predicate.cjs +0 -4
- package/_cjs/data/Predicate.cjs.map +1 -1
- package/_cjs/data/Refinement/api.cjs +0 -7
- package/_cjs/data/Refinement/api.cjs.map +1 -1
- package/_cjs/data/Refinement.cjs +0 -4
- package/_cjs/data/Refinement.cjs.map +1 -1
- package/_cjs/{typeclass → data}/Showable/definition.cjs +4 -11
- package/_cjs/data/Showable/definition.cjs.map +1 -0
- package/_cjs/{typeclass → data}/Showable/show.cjs +46 -199
- package/_cjs/data/Showable/show.cjs.map +1 -0
- package/_cjs/{typeclass → data}/Showable/styles.cjs +0 -6
- package/_cjs/data/Showable/styles.cjs.map +1 -0
- package/_cjs/{typeclass → data}/Showable/util.cjs +50 -112
- package/_cjs/data/Showable/util.cjs.map +1 -0
- package/_cjs/{typeclass → data}/Showable.cjs +0 -4
- package/_cjs/data/Showable.cjs.map +1 -0
- package/_cjs/data/Struct/api.cjs +7 -39
- package/_cjs/data/Struct/api.cjs.map +1 -1
- package/_cjs/data/Struct/definition.cjs +0 -4
- package/_cjs/data/Struct/definition.cjs.map +1 -1
- package/_cjs/data/Tag/constructors.cjs +1 -8
- package/_cjs/data/Tag/constructors.cjs.map +1 -1
- package/_cjs/data/Tag/definition.cjs +10 -22
- package/_cjs/data/Tag/definition.cjs.map +1 -1
- package/_cjs/data/Tag.cjs +0 -4
- package/_cjs/data/Tag.cjs.map +1 -1
- package/_cjs/data/These/api.cjs +42 -167
- package/_cjs/data/These/api.cjs.map +1 -1
- package/_cjs/data/These/constructors.cjs +0 -12
- package/_cjs/data/These/constructors.cjs.map +1 -1
- package/_cjs/data/These/definition.cjs +13 -33
- package/_cjs/data/These/definition.cjs.map +1 -1
- package/_cjs/data/These/destructors.cjs +6 -38
- package/_cjs/data/These/destructors.cjs.map +1 -1
- package/_cjs/data/These/instances.cjs +1 -15
- package/_cjs/data/These/instances.cjs.map +1 -1
- package/_cjs/data/These.cjs +0 -10
- package/_cjs/data/These.cjs.map +1 -1
- package/_cjs/data/Trace/api.cjs +0 -9
- package/_cjs/data/Trace/api.cjs.map +1 -1
- package/_cjs/data/Trace/constructors.cjs +0 -8
- package/_cjs/data/Trace/constructors.cjs.map +1 -1
- package/_cjs/data/Trace/definition.cjs +0 -3
- package/_cjs/data/Trace/definition.cjs.map +1 -1
- package/_cjs/data/Trace.cjs +0 -6
- package/_cjs/data/Trace.cjs.map +1 -1
- package/_cjs/data/TraceElement/definition.cjs +0 -11
- package/_cjs/data/TraceElement/definition.cjs.map +1 -1
- package/_cjs/data/TraceElement.cjs +0 -2
- package/_cjs/data/TraceElement.cjs.map +1 -1
- package/_cjs/data/Zipped.cjs +2 -13
- package/_cjs/data/Zipped.cjs.map +1 -1
- package/_cjs/data/bigint/instances.cjs +2 -7
- package/_cjs/data/bigint/instances.cjs.map +1 -1
- package/_cjs/data/bigint.cjs +0 -4
- package/_cjs/data/bigint.cjs.map +1 -1
- package/_cjs/data/boolean/instances.cjs +2 -7
- package/_cjs/data/boolean/instances.cjs.map +1 -1
- package/_cjs/data/boolean.cjs +0 -4
- package/_cjs/data/boolean.cjs.map +1 -1
- package/_cjs/data/exceptions/ArrayIndexOutOfBoundsError.cjs +0 -3
- package/_cjs/data/exceptions/ArrayIndexOutOfBoundsError.cjs.map +1 -1
- package/_cjs/data/exceptions/IllegalArgumentError.cjs +0 -3
- package/_cjs/data/exceptions/IllegalArgumentError.cjs.map +1 -1
- package/_cjs/data/exceptions/IllegalStateError.cjs +0 -3
- package/_cjs/data/exceptions/IllegalStateError.cjs.map +1 -1
- package/_cjs/data/exceptions/IndexOutOfBoundsError.cjs +0 -3
- package/_cjs/data/exceptions/IndexOutOfBoundsError.cjs.map +1 -1
- package/_cjs/data/exceptions/InterruptedException.cjs +7 -9
- package/_cjs/data/exceptions/InterruptedException.cjs.map +1 -1
- package/_cjs/data/exceptions/InvalidCapacityError.cjs +0 -4
- package/_cjs/data/exceptions/InvalidCapacityError.cjs.map +1 -1
- package/_cjs/data/exceptions/NoSuchElementError.cjs +0 -3
- package/_cjs/data/exceptions/NoSuchElementError.cjs.map +1 -1
- package/_cjs/data/exceptions.cjs +0 -16
- package/_cjs/data/exceptions.cjs.map +1 -1
- package/_cjs/data/function/api.cjs +0 -11
- package/_cjs/data/function/api.cjs.map +1 -1
- package/_cjs/data/function/pipe.cjs +0 -22
- package/_cjs/data/function/pipe.cjs.map +1 -1
- package/_cjs/data/function.cjs +0 -6
- package/_cjs/data/function.cjs.map +1 -1
- package/_cjs/data/number/api.cjs +0 -1
- package/_cjs/data/number/api.cjs.map +1 -1
- package/_cjs/data/number/instances.cjs +10 -19
- package/_cjs/data/number/instances.cjs.map +1 -1
- package/_cjs/data/number.cjs +0 -6
- package/_cjs/data/number.cjs.map +1 -1
- package/_cjs/data/object/instances.cjs +1 -16
- package/_cjs/data/object/instances.cjs.map +1 -1
- package/_cjs/data/object.cjs +0 -4
- package/_cjs/data/object.cjs.map +1 -1
- package/_cjs/data/string/api.cjs +3 -36
- package/_cjs/data/string/api.cjs.map +1 -1
- package/_cjs/data/string/instances.cjs +11 -24
- package/_cjs/data/string/instances.cjs.map +1 -1
- package/_cjs/data/string.cjs +0 -6
- package/_cjs/data/string.cjs.map +1 -1
- package/_cjs/global/api.cjs +0 -1
- package/_cjs/global/api.cjs.map +1 -1
- package/_cjs/internal/AtomicBoolean.cjs +0 -4
- package/_cjs/internal/AtomicBoolean.cjs.map +1 -1
- package/_cjs/internal/AtomicNumber.cjs +0 -7
- package/_cjs/internal/AtomicNumber.cjs.map +1 -1
- package/_cjs/internal/AtomicReference.cjs +0 -8
- package/_cjs/internal/AtomicReference.cjs.map +1 -1
- package/_cjs/internal/Stack.cjs +0 -13
- package/_cjs/internal/Stack.cjs.map +1 -1
- package/_cjs/json/EitherJson.cjs +1 -7
- package/_cjs/json/EitherJson.cjs.map +1 -1
- package/_cjs/json/MaybeJson.cjs +1 -7
- package/_cjs/json/MaybeJson.cjs.map +1 -1
- package/_cjs/json/TheseJson.cjs +1 -7
- package/_cjs/json/TheseJson.cjs.map +1 -1
- package/_cjs/optics/At/api.cjs +0 -5
- package/_cjs/optics/At/api.cjs.map +1 -1
- package/_cjs/optics/At/definition.cjs +0 -7
- package/_cjs/optics/At/definition.cjs.map +1 -1
- package/_cjs/optics/At.cjs +0 -4
- package/_cjs/optics/At.cjs.map +1 -1
- package/_cjs/optics/Fold/definition.cjs +0 -2
- package/_cjs/optics/Fold/definition.cjs.map +1 -1
- package/_cjs/optics/Fold.cjs +0 -2
- package/_cjs/optics/Fold.cjs.map +1 -1
- package/_cjs/optics/Getter/definition.cjs +0 -2
- package/_cjs/optics/Getter/definition.cjs.map +1 -1
- package/_cjs/optics/Getter.cjs +0 -2
- package/_cjs/optics/Getter.cjs.map +1 -1
- package/_cjs/optics/Index/api.cjs +0 -8
- package/_cjs/optics/Index/api.cjs.map +1 -1
- package/_cjs/optics/Index/definition.cjs +0 -2
- package/_cjs/optics/Index/definition.cjs.map +1 -1
- package/_cjs/optics/Index.cjs +0 -4
- package/_cjs/optics/Index.cjs.map +1 -1
- package/_cjs/optics/Iso/api.cjs +0 -5
- package/_cjs/optics/Iso/api.cjs.map +1 -1
- package/_cjs/optics/Iso/definition.cjs +2 -14
- package/_cjs/optics/Iso/definition.cjs.map +1 -1
- package/_cjs/optics/Iso.cjs +0 -4
- package/_cjs/optics/Iso.cjs.map +1 -1
- package/_cjs/optics/Lens/api.cjs +0 -35
- package/_cjs/optics/Lens/api.cjs.map +1 -1
- package/_cjs/optics/Lens/definition.cjs +2 -14
- package/_cjs/optics/Lens/definition.cjs.map +1 -1
- package/_cjs/optics/Lens.cjs +0 -4
- package/_cjs/optics/Lens.cjs.map +1 -1
- package/_cjs/optics/Optional/api/compose.cjs +0 -6
- package/_cjs/optics/Optional/api/compose.cjs.map +1 -1
- package/_cjs/optics/Optional/definition.cjs +0 -15
- package/_cjs/optics/Optional/definition.cjs.map +1 -1
- package/_cjs/optics/Optional.cjs +0 -4
- package/_cjs/optics/Optional.cjs.map +1 -1
- package/_cjs/optics/Prism/api/compose.cjs +0 -7
- package/_cjs/optics/Prism/api/compose.cjs.map +1 -1
- package/_cjs/optics/Prism/api/fromNullable.cjs +0 -6
- package/_cjs/optics/Prism/api/fromNullable.cjs.map +1 -1
- package/_cjs/optics/Prism/api/just.cjs +0 -7
- package/_cjs/optics/Prism/api/just.cjs.map +1 -1
- package/_cjs/optics/Prism/definition.cjs +0 -12
- package/_cjs/optics/Prism/definition.cjs.map +1 -1
- package/_cjs/optics/Prism.cjs +0 -8
- package/_cjs/optics/Prism.cjs.map +1 -1
- package/_cjs/optics/Setter/definition.cjs +0 -4
- package/_cjs/optics/Setter/definition.cjs.map +1 -1
- package/_cjs/optics/Setter.cjs +0 -2
- package/_cjs/optics/Setter.cjs.map +1 -1
- package/_cjs/optics/Traversal/api/compose.cjs +0 -4
- package/_cjs/optics/Traversal/api/compose.cjs.map +1 -1
- package/_cjs/optics/Traversal/api/fromTraversable.cjs +0 -4
- package/_cjs/optics/Traversal/api/fromTraversable.cjs.map +1 -1
- package/_cjs/optics/Traversal/definition.cjs +0 -16
- package/_cjs/optics/Traversal/definition.cjs.map +1 -1
- package/_cjs/optics/Traversal.cjs +0 -6
- package/_cjs/optics/Traversal.cjs.map +1 -1
- package/_cjs/typeclass/Align.cjs.map +1 -1
- package/_cjs/typeclass/Alt.cjs.map +1 -1
- package/_cjs/typeclass/Alternative.cjs.map +1 -1
- package/_cjs/typeclass/Applicative.cjs.map +1 -1
- package/_cjs/typeclass/ApplicativeExcept.cjs +0 -8
- package/_cjs/typeclass/ApplicativeExcept.cjs.map +1 -1
- package/_cjs/typeclass/Apply.cjs +8 -40
- package/_cjs/typeclass/Apply.cjs.map +1 -1
- package/_cjs/typeclass/Chain.cjs +0 -9
- package/_cjs/typeclass/Chain.cjs.map +1 -1
- package/_cjs/typeclass/Closure.cjs +2 -4
- package/_cjs/typeclass/Closure.cjs.map +1 -1
- package/_cjs/typeclass/Filterable.cjs.map +1 -1
- package/_cjs/typeclass/FilterableWithIndex.cjs.map +1 -1
- package/_cjs/typeclass/Foldable.cjs +1 -3
- package/_cjs/typeclass/Foldable.cjs.map +1 -1
- package/_cjs/typeclass/FoldableWithIndex.cjs +1 -3
- package/_cjs/typeclass/FoldableWithIndex.cjs.map +1 -1
- package/_cjs/typeclass/Functor.cjs +0 -2
- package/_cjs/typeclass/Functor.cjs.map +1 -1
- package/_cjs/typeclass/FunctorWithIndex.cjs.map +1 -1
- package/_cjs/typeclass/Has.cjs +2 -2
- package/_cjs/typeclass/Has.cjs.map +1 -1
- package/_cjs/typeclass/Monad.cjs.map +1 -1
- package/_cjs/typeclass/MonadExcept.cjs +0 -5
- package/_cjs/typeclass/MonadExcept.cjs.map +1 -1
- package/_cjs/typeclass/Monoid.cjs +6 -23
- package/_cjs/typeclass/Monoid.cjs.map +1 -1
- package/_cjs/typeclass/Pointed.cjs.map +1 -1
- package/_cjs/typeclass/Semialign.cjs +1 -19
- package/_cjs/typeclass/Semialign.cjs.map +1 -1
- package/_cjs/typeclass/Semigroup/api.cjs +6 -14
- package/_cjs/typeclass/Semigroup/api.cjs.map +1 -1
- package/_cjs/typeclass/Semigroup/definition.cjs +3 -6
- package/_cjs/typeclass/Semigroup/definition.cjs.map +1 -1
- package/_cjs/typeclass/Semigroup/derivations.cjs +7 -18
- package/_cjs/typeclass/Semigroup/derivations.cjs.map +1 -1
- package/_cjs/typeclass/Semigroup.cjs +0 -4
- package/_cjs/typeclass/Semigroup.cjs.map +1 -1
- package/_cjs/typeclass/Semimonoidal.cjs.map +1 -1
- package/_cjs/typeclass/Traversable.cjs +0 -5
- package/_cjs/typeclass/Traversable.cjs.map +1 -1
- package/_cjs/typeclass/TraversableWithIndex.cjs +0 -1
- package/_cjs/typeclass/TraversableWithIndex.cjs.map +1 -1
- package/_cjs/typeclass/Witherable.cjs +0 -7
- package/_cjs/typeclass/Witherable.cjs.map +1 -1
- package/_cjs/typeclass/WitherableWithIndex.cjs +0 -8
- package/_cjs/typeclass/WitherableWithIndex.cjs.map +1 -1
- package/_cjs/typeclass/builtin.cjs +0 -2
- package/_cjs/typeclass/builtin.cjs.map +1 -1
- package/_cjs/typeclass.cjs +95 -162
- package/_cjs/typeclass.cjs.map +1 -1
- package/_cjs/types.cjs +0 -6
- package/_cjs/types.cjs.map +1 -1
- package/_cjs/util/AnsiFormat.cjs +8 -50
- package/_cjs/util/AnsiFormat.cjs.map +1 -1
- package/_cjs/util/PCGRandom.cjs +16 -46
- package/_cjs/util/PCGRandom.cjs.map +1 -1
- package/_cjs/util/assert.cjs +0 -4
- package/_cjs/util/assert.cjs.map +1 -1
- package/_cjs/util/pattern.cjs +0 -4
- package/_cjs/util/pattern.cjs.map +1 -1
- package/_cjs/util/predicates.cjs +1 -33
- package/_cjs/util/predicates.cjs.map +1 -1
- package/_cjs/util/rand/Random.cjs +0 -21
- package/_cjs/util/rand/Random.cjs.map +1 -1
- package/_cjs/util/rand/distribution/UniformArrayIntDistribution.cjs +0 -5
- package/_cjs/util/rand/distribution/UniformArrayIntDistribution.cjs.map +1 -1
- package/_cjs/util/rand/distribution/UniformBigIntDistribution.cjs +4 -12
- package/_cjs/util/rand/distribution/UniformBigIntDistribution.cjs.map +1 -1
- package/_cjs/util/rand/distribution/UniformIntDistribution.cjs +0 -12
- package/_cjs/util/rand/distribution/UniformIntDistribution.cjs.map +1 -1
- package/_cjs/util/rand/distribution/internals/ArrayInt.cjs +6 -42
- package/_cjs/util/rand/distribution/internals/ArrayInt.cjs.map +1 -1
- package/_cjs/util/rand/distribution/internals/UniformArrayIntDistributionInternal.cjs +6 -10
- package/_cjs/util/rand/distribution/internals/UniformArrayIntDistributionInternal.cjs.map +1 -1
- package/_cjs/util/rand/distribution/internals/UniformIntDistributionInternal.cjs +8 -14
- package/_cjs/util/rand/distribution/internals/UniformIntDistributionInternal.cjs.map +1 -1
- package/_cjs/util/rand/generator/MersenneTwister.cjs +5 -25
- package/_cjs/util/rand/generator/MersenneTwister.cjs.map +1 -1
- package/_cjs/util/rand/generator/RandomGenerator.cjs +0 -4
- package/_cjs/util/rand/generator/RandomGenerator.cjs.map +1 -1
- package/_cjs/util/rand.cjs +0 -9
- package/_cjs/util/rand.cjs.map +1 -1
- package/_mjs/collection/Iterable/api/traverseConc.mjs +0 -5
- package/_mjs/collection/Iterable/api/traverseConc.mjs.map +1 -1
- package/_mjs/collection/Iterable/api.mjs +33 -172
- package/_mjs/collection/Iterable/api.mjs.map +1 -1
- package/_mjs/collection/Iterable/constructors.mjs +0 -15
- package/_mjs/collection/Iterable/constructors.mjs.map +1 -1
- package/_mjs/collection/Iterable/definition.mjs.map +1 -1
- package/_mjs/collection/Iterable.mjs.map +1 -1
- package/_mjs/collection/compat/Array/api.mjs +2 -10
- package/_mjs/collection/compat/Array/api.mjs.map +1 -1
- package/_mjs/collection/compat/Array/definition.mjs.map +1 -1
- package/_mjs/collection/compat/Array.mjs +0 -1
- package/_mjs/collection/compat/Array.mjs.map +1 -1
- package/_mjs/collection/compat/ArrayLike/api.mjs +2 -8
- package/_mjs/collection/compat/ArrayLike/api.mjs.map +1 -1
- package/_mjs/collection/immutable/Conc/api/empty.mjs +0 -1
- package/_mjs/collection/immutable/Conc/api/empty.mjs.map +1 -1
- package/_mjs/collection/immutable/Conc/api/makeBy.mjs +0 -4
- package/_mjs/collection/immutable/Conc/api/makeBy.mjs.map +1 -1
- package/_mjs/collection/immutable/Conc/api/replicate.mjs +0 -1
- package/_mjs/collection/immutable/Conc/api/replicate.mjs.map +1 -1
- package/_mjs/collection/immutable/Conc/api.mjs +32 -316
- package/_mjs/collection/immutable/Conc/api.mjs.map +1 -1
- package/_mjs/collection/immutable/Conc/constructors.mjs +0 -5
- package/_mjs/collection/immutable/Conc/constructors.mjs.map +1 -1
- package/_mjs/collection/immutable/Conc/definition.mjs +33 -202
- package/_mjs/collection/immutable/Conc/definition.mjs.map +1 -1
- package/_mjs/collection/immutable/Conc.mjs +1 -2
- package/_mjs/collection/immutable/Conc.mjs.map +1 -1
- package/_mjs/collection/immutable/Dictionary/api.mjs +0 -15
- package/_mjs/collection/immutable/Dictionary/api.mjs.map +1 -1
- package/_mjs/collection/immutable/Dictionary/definition.mjs.map +1 -1
- package/_mjs/collection/immutable/Dictionary.mjs +4 -0
- package/_mjs/collection/immutable/Dictionary.mjs.map +1 -0
- package/_mjs/collection/immutable/HashMap/api.mjs +103 -205
- package/_mjs/collection/immutable/HashMap/api.mjs.map +1 -1
- package/_mjs/collection/immutable/HashMap/definition.mjs +20 -29
- package/_mjs/collection/immutable/HashMap/definition.mjs.map +1 -1
- package/_mjs/collection/immutable/HashMap/internal.mjs +4 -66
- package/_mjs/collection/immutable/HashMap/internal.mjs.map +1 -1
- package/_mjs/collection/immutable/HashMap.mjs.map +1 -1
- package/_mjs/collection/immutable/HashSet/api.mjs +88 -152
- package/_mjs/collection/immutable/HashSet/api.mjs.map +1 -1
- package/_mjs/collection/immutable/HashSet/definition.mjs +17 -68
- package/_mjs/collection/immutable/HashSet/definition.mjs.map +1 -1
- package/_mjs/collection/immutable/HashSet.mjs.map +1 -1
- package/_mjs/collection/immutable/ImmutableArray/api/chunksOf.mjs +0 -1
- package/_mjs/collection/immutable/ImmutableArray/api/chunksOf.mjs.map +1 -1
- package/_mjs/collection/immutable/ImmutableArray/api/slice.mjs +0 -1
- package/_mjs/collection/immutable/ImmutableArray/api/slice.mjs.map +1 -1
- package/_mjs/collection/immutable/ImmutableArray/api/splitAt.mjs +0 -1
- package/_mjs/collection/immutable/ImmutableArray/api/splitAt.mjs.map +1 -1
- package/_mjs/collection/immutable/ImmutableArray/api/splitWhere.mjs +0 -3
- package/_mjs/collection/immutable/ImmutableArray/api/splitWhere.mjs.map +1 -1
- package/_mjs/collection/immutable/ImmutableArray/api.mjs +22 -325
- package/_mjs/collection/immutable/ImmutableArray/api.mjs.map +1 -1
- package/_mjs/collection/immutable/ImmutableArray/constructors.mjs +0 -10
- package/_mjs/collection/immutable/ImmutableArray/constructors.mjs.map +1 -1
- package/_mjs/collection/immutable/ImmutableArray/definition.mjs +9 -13
- package/_mjs/collection/immutable/ImmutableArray/definition.mjs.map +1 -1
- package/_mjs/collection/immutable/ImmutableArray/instances.mjs +16 -25
- package/_mjs/collection/immutable/ImmutableArray/instances.mjs.map +1 -1
- package/_mjs/collection/immutable/ImmutableArray.mjs +2 -3
- package/_mjs/collection/immutable/ImmutableArray.mjs.map +1 -1
- package/_mjs/collection/immutable/ImmutableNonEmptyArray/api.mjs +17 -131
- package/_mjs/collection/immutable/ImmutableNonEmptyArray/api.mjs.map +1 -1
- package/_mjs/collection/immutable/ImmutableNonEmptyArray/constructors.mjs +0 -12
- package/_mjs/collection/immutable/ImmutableNonEmptyArray/constructors.mjs.map +1 -1
- package/_mjs/collection/immutable/ImmutableNonEmptyArray/definition.mjs +0 -5
- package/_mjs/collection/immutable/ImmutableNonEmptyArray/definition.mjs.map +1 -1
- package/_mjs/collection/immutable/ImmutableNonEmptyArray/destructors.mjs +0 -10
- package/_mjs/collection/immutable/ImmutableNonEmptyArray/destructors.mjs.map +1 -1
- package/_mjs/collection/immutable/ImmutableNonEmptyArray/instances.mjs +12 -16
- package/_mjs/collection/immutable/ImmutableNonEmptyArray/instances.mjs.map +1 -1
- package/_mjs/collection/immutable/ImmutableNonEmptyArray.mjs +0 -1
- package/_mjs/collection/immutable/ImmutableNonEmptyArray.mjs.map +1 -1
- package/_mjs/collection/immutable/List/api/foldLeft.mjs +0 -3
- package/_mjs/collection/immutable/List/api/foldLeft.mjs.map +1 -1
- package/_mjs/collection/immutable/List/api/unsafeTail.mjs +0 -2
- package/_mjs/collection/immutable/List/api/unsafeTail.mjs.map +1 -1
- package/_mjs/collection/immutable/List/api.mjs +13 -85
- package/_mjs/collection/immutable/List/api.mjs.map +1 -1
- package/_mjs/collection/immutable/List/constructors.mjs +1 -11
- package/_mjs/collection/immutable/List/constructors.mjs.map +1 -1
- package/_mjs/collection/immutable/List/definition.mjs +2 -18
- package/_mjs/collection/immutable/List/definition.mjs.map +1 -1
- package/_mjs/collection/immutable/List.mjs +2 -2
- package/_mjs/collection/immutable/List.mjs.map +1 -1
- package/_mjs/collection/immutable/Queue/api.mjs +42 -68
- package/_mjs/collection/immutable/Queue/api.mjs.map +1 -1
- package/_mjs/collection/immutable/Queue/constructors.mjs +0 -2
- package/_mjs/collection/immutable/Queue/constructors.mjs.map +1 -1
- package/_mjs/collection/immutable/Queue/definition.mjs +2 -8
- package/_mjs/collection/immutable/Queue/definition.mjs.map +1 -1
- package/_mjs/collection/immutable/Queue/guards.mjs +2 -3
- package/_mjs/collection/immutable/Queue/guards.mjs.map +1 -1
- package/_mjs/collection/immutable/Queue.mjs.map +1 -1
- package/_mjs/collection/immutable/RoseTree/api.mjs +26 -67
- package/_mjs/collection/immutable/RoseTree/api.mjs.map +1 -1
- package/_mjs/collection/immutable/RoseTree/definition.mjs +9 -11
- package/_mjs/collection/immutable/RoseTree/definition.mjs.map +1 -1
- package/_mjs/collection/immutable/RoseTree.mjs.map +1 -1
- package/_mjs/collection/immutable/SortedMap/api.mjs +130 -240
- package/_mjs/collection/immutable/SortedMap/api.mjs.map +1 -1
- package/_mjs/collection/immutable/SortedMap/definition.mjs +4 -4
- package/_mjs/collection/immutable/SortedMap/definition.mjs.map +1 -1
- package/_mjs/collection/immutable/SortedMap/internal.mjs +56 -222
- package/_mjs/collection/immutable/SortedMap/internal.mjs.map +1 -1
- package/_mjs/collection/immutable/SortedMap/iterator.mjs +16 -97
- package/_mjs/collection/immutable/SortedMap/iterator.mjs.map +1 -1
- package/_mjs/collection/immutable/SortedMap/node.mjs +0 -1
- package/_mjs/collection/immutable/SortedMap/node.mjs.map +1 -1
- package/_mjs/collection/immutable/SortedMap.mjs.map +1 -1
- package/_mjs/collection/immutable/Vector/api.mjs +204 -390
- package/_mjs/collection/immutable/Vector/api.mjs.map +1 -1
- package/_mjs/collection/immutable/Vector/definition.mjs +14 -24
- package/_mjs/collection/immutable/Vector/definition.mjs.map +1 -1
- package/_mjs/collection/immutable/Vector/internal.mjs +42 -314
- package/_mjs/collection/immutable/Vector/internal.mjs.map +1 -1
- package/_mjs/collection/immutable/Vector.mjs.map +1 -1
- package/_mjs/collection/mutable/HashMap.mjs +6 -74
- package/_mjs/collection/mutable/HashMap.mjs.map +1 -1
- package/_mjs/collection/mutable/HashSet.mjs +5 -59
- package/_mjs/collection/mutable/HashSet.mjs.map +1 -1
- package/_mjs/collection/mutable/ListBuffer.mjs +0 -26
- package/_mjs/collection/mutable/ListBuffer.mjs.map +1 -1
- package/_mjs/collection/mutable/internal.mjs +0 -2
- package/_mjs/collection/mutable/internal.mjs.map +1 -1
- package/_mjs/collection/weak/IterableWeakMap.mjs +0 -22
- package/_mjs/collection/weak/IterableWeakMap.mjs.map +1 -1
- package/_mjs/collection/weak/IterableWeakSet.mjs +0 -20
- package/_mjs/collection/weak/IterableWeakSet.mjs.map +1 -1
- package/_mjs/control/Eval/api/sequenceArray.mjs +0 -1
- package/_mjs/control/Eval/api/sequenceArray.mjs.map +1 -1
- package/_mjs/control/Eval/api.mjs +2 -21
- package/_mjs/control/Eval/api.mjs.map +1 -1
- package/_mjs/control/Eval/constructors.mjs +0 -6
- package/_mjs/control/Eval/constructors.mjs.map +1 -1
- package/_mjs/control/Eval/definition.mjs +15 -18
- package/_mjs/control/Eval/definition.mjs.map +1 -1
- package/_mjs/control/Eval/instance.mjs +2 -4
- package/_mjs/control/Eval/instance.mjs.map +1 -1
- package/_mjs/control/Eval/run.mjs +4 -23
- package/_mjs/control/Eval/run.mjs.map +1 -1
- package/_mjs/control/Eval.mjs.map +1 -1
- package/_mjs/control/LazyValue.mjs +0 -3
- package/_mjs/control/LazyValue.mjs.map +1 -1
- package/_mjs/control/Z/api.mjs +4 -92
- package/_mjs/control/Z/api.mjs.map +1 -1
- package/_mjs/control/Z/definition.mjs +34 -58
- package/_mjs/control/Z/definition.mjs.map +1 -1
- package/_mjs/control/Z/instances.mjs +0 -1
- package/_mjs/control/Z/instances.mjs.map +1 -1
- package/_mjs/control/Z/runtime.mjs +14 -90
- package/_mjs/control/Z/runtime.mjs.map +1 -1
- package/_mjs/control/Z.mjs.map +1 -1
- package/_mjs/data/Branded/definition.mjs +0 -2
- package/_mjs/data/Branded/definition.mjs.map +1 -1
- package/_mjs/data/Branded.mjs +0 -1
- package/_mjs/data/Branded.mjs.map +1 -1
- package/_mjs/data/CaseClass.mjs +14 -33
- package/_mjs/data/CaseClass.mjs.map +1 -1
- package/_mjs/data/Cause/api/fold.mjs +11 -48
- package/_mjs/data/Cause/api/fold.mjs.map +1 -1
- package/_mjs/data/Cause/api/isEmpty.mjs +6 -28
- package/_mjs/data/Cause/api/isEmpty.mjs.map +1 -1
- package/_mjs/data/Cause/api/linearize.mjs +6 -7
- package/_mjs/data/Cause/api/linearize.mjs.map +1 -1
- package/_mjs/data/Cause/api/prettyPrint.mjs +0 -7
- package/_mjs/data/Cause/api/prettyPrint.mjs.map +1 -1
- package/_mjs/data/Cause/api/unified.mjs +14 -44
- package/_mjs/data/Cause/api/unified.mjs.map +1 -1
- package/_mjs/data/Cause/api.mjs +92 -368
- package/_mjs/data/Cause/api.mjs.map +1 -1
- package/_mjs/data/Cause/definition.mjs +47 -245
- package/_mjs/data/Cause/definition.mjs.map +1 -1
- package/_mjs/data/Cause.mjs +2 -2
- package/_mjs/data/Cause.mjs.map +1 -1
- package/_mjs/data/Const/api.mjs +1 -3
- package/_mjs/data/Const/api.mjs.map +1 -1
- package/_mjs/data/Const/definition.mjs +0 -1
- package/_mjs/data/Const/definition.mjs.map +1 -1
- package/_mjs/data/Const/instances.mjs +4 -6
- package/_mjs/data/Const/instances.mjs.map +1 -1
- package/_mjs/data/Const.mjs.map +1 -1
- package/_mjs/data/Datum/api.mjs +24 -117
- package/_mjs/data/Datum/api.mjs.map +1 -1
- package/_mjs/data/Datum/definition.mjs +20 -44
- package/_mjs/data/Datum/definition.mjs.map +1 -1
- package/_mjs/data/Datum/instances.mjs +0 -5
- package/_mjs/data/Datum/instances.mjs.map +1 -1
- package/_mjs/data/DatumEither/api.mjs +36 -100
- package/_mjs/data/DatumEither/api.mjs.map +1 -1
- package/_mjs/data/DatumEither/definition.mjs.map +1 -1
- package/_mjs/data/DatumEither.mjs +4 -0
- package/_mjs/data/DatumEither.mjs.map +1 -0
- package/_mjs/data/DecodeError/definition.mjs +4 -30
- package/_mjs/data/DecodeError/definition.mjs.map +1 -1
- package/_mjs/data/DecodeError.mjs.map +1 -1
- package/_mjs/data/Decoder/api.mjs +393 -48
- package/_mjs/data/Decoder/api.mjs.map +1 -1
- package/_mjs/data/Decoder/definition.mjs +3 -4
- package/_mjs/data/Decoder/definition.mjs.map +1 -1
- package/_mjs/data/Decoder.mjs.map +1 -1
- package/_mjs/data/Duration/api.mjs +4 -11
- package/_mjs/data/Duration/api.mjs.map +1 -1
- package/_mjs/data/Duration/definition.mjs +8 -11
- package/_mjs/data/Duration/definition.mjs.map +1 -1
- package/_mjs/data/Duration.mjs.map +1 -1
- package/_mjs/data/Either/api/align.mjs +0 -1
- package/_mjs/data/Either/api/align.mjs.map +1 -1
- package/_mjs/data/Either/api/alignWith.mjs +1 -8
- package/_mjs/data/Either/api/alignWith.mjs.map +1 -1
- package/_mjs/data/Either/api.mjs +32 -120
- package/_mjs/data/Either/api.mjs.map +1 -1
- package/_mjs/data/Either/constructors.mjs +0 -11
- package/_mjs/data/Either/constructors.mjs.map +1 -1
- package/_mjs/data/Either/definition.mjs +8 -16
- package/_mjs/data/Either/definition.mjs.map +1 -1
- package/_mjs/data/Either/destructors.mjs +2 -8
- package/_mjs/data/Either/destructors.mjs.map +1 -1
- package/_mjs/data/Either/instances.mjs +14 -48
- package/_mjs/data/Either/instances.mjs.map +1 -1
- package/_mjs/data/Either.mjs.map +1 -1
- package/_mjs/data/EitherT/api.mjs +0 -9
- package/_mjs/data/EitherT/api.mjs.map +1 -1
- package/_mjs/data/EitherT/definition.mjs.map +1 -1
- package/_mjs/data/Encoder/api.mjs +192 -21
- package/_mjs/data/Encoder/api.mjs.map +1 -1
- package/_mjs/data/Encoder/definition.mjs +3 -3
- package/_mjs/data/Encoder/definition.mjs.map +1 -1
- package/_mjs/data/Encoder.mjs.map +1 -1
- package/_mjs/data/Environment/api.mjs +5 -28
- package/_mjs/data/Environment/api.mjs.map +1 -1
- package/_mjs/data/Environment/definition.mjs +11 -18
- package/_mjs/data/Environment/definition.mjs.map +1 -1
- package/_mjs/data/Environment.mjs.map +1 -1
- package/_mjs/data/EnvironmentPatch.mjs +22 -56
- package/_mjs/data/EnvironmentPatch.mjs.map +1 -1
- package/_mjs/{typeclass → data}/Eq/definition.mjs +1 -2
- package/_mjs/data/Eq/definition.mjs.map +1 -0
- package/_mjs/{typeclass → data}/Eq/derivations.mjs +9 -15
- package/_mjs/data/Eq/derivations.mjs.map +1 -0
- package/_mjs/{typeclass → data}/Eq.mjs +0 -0
- package/_mjs/data/Eq.mjs.map +1 -0
- package/_mjs/{typeclass → data}/Equatable/api.mjs +3 -6
- package/_mjs/data/Equatable/api.mjs.map +1 -0
- package/_mjs/{typeclass → data}/Equatable/definition.mjs +0 -1
- package/_mjs/data/Equatable/definition.mjs.map +1 -0
- package/_mjs/{typeclass → data}/Equatable/fast-equals.mjs +1 -63
- package/_mjs/data/Equatable/fast-equals.mjs.map +1 -0
- package/_mjs/{typeclass → data}/Equatable.mjs +0 -0
- package/_mjs/data/Equatable.mjs.map +1 -0
- package/_mjs/data/ExecutionStrategy.mjs +0 -5
- package/_mjs/data/ExecutionStrategy.mjs.map +1 -1
- package/_mjs/data/Exit/api.mjs +35 -78
- package/_mjs/data/Exit/api.mjs.map +1 -1
- package/_mjs/data/Exit/constructors.mjs +0 -11
- package/_mjs/data/Exit/constructors.mjs.map +1 -1
- package/_mjs/data/Exit/definition.mjs +18 -41
- package/_mjs/data/Exit/definition.mjs.map +1 -1
- package/_mjs/data/Exit.mjs.map +1 -1
- package/_mjs/data/FiberId/api.mjs +5 -15
- package/_mjs/data/FiberId/api.mjs.map +1 -1
- package/_mjs/data/FiberId/constructors.mjs +3 -9
- package/_mjs/data/FiberId/constructors.mjs.map +1 -1
- package/_mjs/data/FiberId/definition.mjs +16 -34
- package/_mjs/data/FiberId/definition.mjs.map +1 -1
- package/_mjs/data/FiberId.mjs.map +1 -1
- package/_mjs/data/Guard/api.mjs +369 -0
- package/_mjs/data/Guard/api.mjs.map +1 -0
- package/_mjs/{typeclass → data}/Guard/definition.mjs +4 -4
- package/_mjs/data/Guard/definition.mjs.map +1 -0
- package/_mjs/data/Guard.mjs +4 -0
- package/_mjs/data/Guard.mjs.map +1 -0
- package/_mjs/{typeclass → data}/Hash.mjs +0 -1
- package/_mjs/data/Hash.mjs.map +1 -0
- package/_mjs/data/HashEq.mjs +30 -0
- package/_mjs/data/HashEq.mjs.map +1 -0
- package/_mjs/{typeclass → data}/Hashable/definition.mjs +0 -1
- package/_mjs/data/Hashable/definition.mjs.map +1 -0
- package/_mjs/{typeclass → data}/Hashable/hash.mjs +4 -59
- package/_mjs/data/Hashable/hash.mjs.map +1 -0
- package/_mjs/{typeclass → data}/Hashable.mjs +0 -0
- package/_mjs/data/Hashable.mjs.map +1 -0
- package/_mjs/data/Identity/api.mjs +0 -7
- package/_mjs/data/Identity/api.mjs.map +1 -1
- package/_mjs/data/Identity/definition.mjs.map +1 -1
- package/_mjs/data/Identity/instances.mjs +4 -5
- package/_mjs/data/Identity/instances.mjs.map +1 -1
- package/_mjs/data/Identity.mjs.map +1 -1
- package/_mjs/data/Interval.mjs +4 -20
- package/_mjs/data/Interval.mjs.map +1 -1
- package/_mjs/data/Intervals.mjs +10 -33
- package/_mjs/data/Intervals.mjs.map +1 -1
- package/_mjs/data/Maybe/api.mjs +18 -74
- package/_mjs/data/Maybe/api.mjs.map +1 -1
- package/_mjs/data/Maybe/constructors.mjs +0 -17
- package/_mjs/data/Maybe/constructors.mjs.map +1 -1
- package/_mjs/data/Maybe/definition.mjs +15 -38
- package/_mjs/data/Maybe/definition.mjs.map +1 -1
- package/_mjs/data/Maybe/destructors.mjs +1 -3
- package/_mjs/data/Maybe/destructors.mjs.map +1 -1
- package/_mjs/data/Maybe/instances.mjs +28 -9
- package/_mjs/data/Maybe/instances.mjs.map +1 -1
- package/_mjs/data/Maybe.mjs.map +1 -1
- package/_mjs/data/Newtype.mjs +0 -1
- package/_mjs/data/Newtype.mjs.map +1 -1
- package/_mjs/data/Ord/api/contramap.mjs +12 -0
- package/_mjs/data/Ord/api/contramap.mjs.map +1 -0
- package/_mjs/data/Ord/api/max.mjs +8 -0
- package/_mjs/data/Ord/api/max.mjs.map +1 -0
- package/_mjs/data/Ord/api/min.mjs +8 -0
- package/_mjs/data/Ord/api/min.mjs.map +1 -0
- package/_mjs/{typeclass → data}/Ord/api.mjs +0 -0
- package/_mjs/data/Ord/api.mjs.map +1 -0
- package/_mjs/data/Ord/definition.mjs +12 -0
- package/_mjs/data/Ord/definition.mjs.map +1 -0
- package/_mjs/data/Ord/instances.mjs +34 -0
- package/_mjs/data/Ord/instances.mjs.map +1 -0
- package/_mjs/{typeclass → data}/Ord.mjs +0 -0
- package/_mjs/data/Ord.mjs.map +1 -0
- package/_mjs/{typeclass → data}/Ordering.mjs +0 -6
- package/_mjs/data/Ordering.mjs.map +1 -0
- package/_mjs/data/Predicate/api.mjs +0 -3
- package/_mjs/data/Predicate/api.mjs.map +1 -1
- package/_mjs/data/Predicate.mjs.map +1 -1
- package/_mjs/data/Refinement/api.mjs +0 -3
- package/_mjs/data/Refinement/api.mjs.map +1 -1
- package/_mjs/data/Refinement.mjs.map +1 -1
- package/_mjs/{typeclass → data}/Showable/definition.mjs +2 -3
- package/_mjs/data/Showable/definition.mjs.map +1 -0
- package/_mjs/{typeclass → data}/Showable/show.mjs +47 -173
- package/_mjs/data/Showable/show.mjs.map +1 -0
- package/_mjs/{typeclass → data}/Showable/styles.mjs +0 -0
- package/_mjs/data/Showable/styles.mjs.map +1 -0
- package/_mjs/{typeclass → data}/Showable/util.mjs +52 -92
- package/_mjs/data/Showable/util.mjs.map +1 -0
- package/_mjs/{typeclass → data}/Showable.mjs +0 -0
- package/_mjs/data/Showable.mjs.map +1 -0
- package/_mjs/data/Struct/api.mjs +7 -23
- package/_mjs/data/Struct/api.mjs.map +1 -1
- package/_mjs/data/Struct/definition.mjs.map +1 -1
- package/_mjs/data/Tag/constructors.mjs +1 -4
- package/_mjs/data/Tag/constructors.mjs.map +1 -1
- package/_mjs/data/Tag/definition.mjs +8 -12
- package/_mjs/data/Tag/definition.mjs.map +1 -1
- package/_mjs/data/Tag.mjs.map +1 -1
- package/_mjs/data/These/api.mjs +42 -151
- package/_mjs/data/These/api.mjs.map +1 -1
- package/_mjs/data/These/constructors.mjs +0 -6
- package/_mjs/data/These/constructors.mjs.map +1 -1
- package/_mjs/data/These/definition.mjs +14 -20
- package/_mjs/data/These/definition.mjs.map +1 -1
- package/_mjs/data/These/destructors.mjs +6 -28
- package/_mjs/data/These/destructors.mjs.map +1 -1
- package/_mjs/data/These/instances.mjs +1 -6
- package/_mjs/data/These/instances.mjs.map +1 -1
- package/_mjs/data/These.mjs.map +1 -1
- package/_mjs/data/Trace/api.mjs +0 -2
- package/_mjs/data/Trace/api.mjs.map +1 -1
- package/_mjs/data/Trace/constructors.mjs +0 -2
- package/_mjs/data/Trace/constructors.mjs.map +1 -1
- package/_mjs/data/Trace/definition.mjs +0 -1
- package/_mjs/data/Trace/definition.mjs.map +1 -1
- package/_mjs/data/Trace.mjs.map +1 -1
- package/_mjs/data/TraceElement/definition.mjs +0 -9
- package/_mjs/data/TraceElement/definition.mjs.map +1 -1
- package/_mjs/data/TraceElement.mjs.map +1 -1
- package/_mjs/data/Zipped.mjs +2 -7
- package/_mjs/data/Zipped.mjs.map +1 -1
- package/_mjs/data/bigint/instances.mjs +2 -2
- package/_mjs/data/bigint/instances.mjs.map +1 -1
- package/_mjs/data/bigint.mjs.map +1 -1
- package/_mjs/data/boolean/instances.mjs +2 -2
- package/_mjs/data/boolean/instances.mjs.map +1 -1
- package/_mjs/data/boolean.mjs.map +1 -1
- package/_mjs/data/exceptions/ArrayIndexOutOfBoundsError.mjs +0 -1
- package/_mjs/data/exceptions/ArrayIndexOutOfBoundsError.mjs.map +1 -1
- package/_mjs/data/exceptions/IllegalArgumentError.mjs +0 -1
- package/_mjs/data/exceptions/IllegalArgumentError.mjs.map +1 -1
- package/_mjs/data/exceptions/IllegalStateError.mjs +0 -1
- package/_mjs/data/exceptions/IllegalStateError.mjs.map +1 -1
- package/_mjs/data/exceptions/IndexOutOfBoundsError.mjs +0 -1
- package/_mjs/data/exceptions/IndexOutOfBoundsError.mjs.map +1 -1
- package/_mjs/data/exceptions/InterruptedException.mjs +5 -4
- package/_mjs/data/exceptions/InterruptedException.mjs.map +1 -1
- package/_mjs/data/exceptions/InvalidCapacityError.mjs +0 -1
- package/_mjs/data/exceptions/InvalidCapacityError.mjs.map +1 -1
- package/_mjs/data/exceptions/NoSuchElementError.mjs +0 -1
- package/_mjs/data/exceptions/NoSuchElementError.mjs.map +1 -1
- package/_mjs/data/exceptions.mjs.map +1 -1
- package/_mjs/data/function/api.mjs +0 -5
- package/_mjs/data/function/api.mjs.map +1 -1
- package/_mjs/data/function/pipe.mjs +0 -20
- package/_mjs/data/function/pipe.mjs.map +1 -1
- package/_mjs/data/function.mjs.map +1 -1
- package/_mjs/data/number/api.mjs.map +1 -1
- package/_mjs/data/number/instances.mjs +10 -13
- package/_mjs/data/number/instances.mjs.map +1 -1
- package/_mjs/data/number.mjs.map +1 -1
- package/_mjs/data/object/instances.mjs +1 -9
- package/_mjs/data/object/instances.mjs.map +1 -1
- package/_mjs/data/object.mjs.map +1 -1
- package/_mjs/data/string/api.mjs +3 -21
- package/_mjs/data/string/api.mjs.map +1 -1
- package/_mjs/data/string/instances.mjs +11 -15
- package/_mjs/data/string/instances.mjs.map +1 -1
- package/_mjs/data/string.mjs.map +1 -1
- package/_mjs/global/api.mjs.map +1 -1
- package/_mjs/internal/AtomicBoolean.mjs +0 -1
- package/_mjs/internal/AtomicBoolean.mjs.map +1 -1
- package/_mjs/internal/AtomicNumber.mjs +0 -4
- package/_mjs/internal/AtomicNumber.mjs.map +1 -1
- package/_mjs/internal/AtomicReference.mjs +0 -6
- package/_mjs/internal/AtomicReference.mjs.map +1 -1
- package/_mjs/internal/Stack.mjs +0 -9
- package/_mjs/internal/Stack.mjs.map +1 -1
- package/_mjs/json/EitherJson.mjs +1 -2
- package/_mjs/json/EitherJson.mjs.map +1 -1
- package/_mjs/json/MaybeJson.mjs +1 -2
- package/_mjs/json/MaybeJson.mjs.map +1 -1
- package/_mjs/json/TheseJson.mjs +1 -2
- package/_mjs/json/TheseJson.mjs.map +1 -1
- package/_mjs/optics/At/api.mjs +0 -1
- package/_mjs/optics/At/api.mjs.map +1 -1
- package/_mjs/optics/At/definition.mjs +0 -1
- package/_mjs/optics/At/definition.mjs.map +1 -1
- package/_mjs/optics/At.mjs.map +1 -1
- package/_mjs/optics/Fold/definition.mjs +0 -1
- package/_mjs/optics/Fold/definition.mjs.map +1 -1
- package/_mjs/optics/Fold.mjs.map +1 -1
- package/_mjs/optics/Getter/definition.mjs +0 -1
- package/_mjs/optics/Getter/definition.mjs.map +1 -1
- package/_mjs/optics/Getter.mjs.map +1 -1
- package/_mjs/optics/Index/api.mjs +0 -2
- package/_mjs/optics/Index/api.mjs.map +1 -1
- package/_mjs/optics/Index/definition.mjs +0 -1
- package/_mjs/optics/Index/definition.mjs.map +1 -1
- package/_mjs/optics/Index.mjs.map +1 -1
- package/_mjs/optics/Iso/api.mjs +0 -1
- package/_mjs/optics/Iso/api.mjs.map +1 -1
- package/_mjs/optics/Iso/definition.mjs +2 -4
- package/_mjs/optics/Iso/definition.mjs.map +1 -1
- package/_mjs/optics/Iso.mjs.map +1 -1
- package/_mjs/optics/Lens/api.mjs +0 -22
- package/_mjs/optics/Lens/api.mjs.map +1 -1
- package/_mjs/optics/Lens/definition.mjs +2 -4
- package/_mjs/optics/Lens/definition.mjs.map +1 -1
- package/_mjs/optics/Lens.mjs.map +1 -1
- package/_mjs/optics/Optional/api/compose.mjs +0 -1
- package/_mjs/optics/Optional/api/compose.mjs.map +1 -1
- package/_mjs/optics/Optional/definition.mjs +0 -4
- package/_mjs/optics/Optional/definition.mjs.map +1 -1
- package/_mjs/optics/Optional.mjs +2 -2
- package/_mjs/optics/Optional.mjs.map +1 -1
- package/_mjs/optics/Prism/api/compose.mjs +0 -1
- package/_mjs/optics/Prism/api/compose.mjs.map +1 -1
- package/_mjs/optics/Prism/api/fromNullable.mjs +0 -1
- package/_mjs/optics/Prism/api/fromNullable.mjs.map +1 -1
- package/_mjs/optics/Prism/api/just.mjs +0 -1
- package/_mjs/optics/Prism/api/just.mjs.map +1 -1
- package/_mjs/optics/Prism/definition.mjs +0 -3
- package/_mjs/optics/Prism/definition.mjs.map +1 -1
- package/_mjs/optics/Prism.mjs +2 -2
- package/_mjs/optics/Prism.mjs.map +1 -1
- package/_mjs/optics/Setter/definition.mjs +0 -3
- package/_mjs/optics/Setter/definition.mjs.map +1 -1
- package/_mjs/optics/Setter.mjs.map +1 -1
- package/_mjs/optics/Traversal/api/compose.mjs +0 -1
- package/_mjs/optics/Traversal/api/compose.mjs.map +1 -1
- package/_mjs/optics/Traversal/api/fromTraversable.mjs +0 -1
- package/_mjs/optics/Traversal/api/fromTraversable.mjs.map +1 -1
- package/_mjs/optics/Traversal/definition.mjs +0 -3
- package/_mjs/optics/Traversal/definition.mjs.map +1 -1
- package/_mjs/optics/Traversal.mjs +2 -2
- package/_mjs/optics/Traversal.mjs.map +1 -1
- package/_mjs/typeclass/Align.mjs.map +1 -1
- package/_mjs/typeclass/Alt.mjs.map +1 -1
- package/_mjs/typeclass/Alternative.mjs.map +1 -1
- package/_mjs/typeclass/Applicative.mjs.map +1 -1
- package/_mjs/typeclass/ApplicativeExcept.mjs.map +1 -1
- package/_mjs/typeclass/Apply.mjs +6 -27
- package/_mjs/typeclass/Apply.mjs.map +1 -1
- package/_mjs/typeclass/Chain.mjs +0 -2
- package/_mjs/typeclass/Chain.mjs.map +1 -1
- package/_mjs/typeclass/Closure.mjs +1 -2
- package/_mjs/typeclass/Closure.mjs.map +1 -1
- package/_mjs/typeclass/Filterable.mjs.map +1 -1
- package/_mjs/typeclass/FilterableWithIndex.mjs.map +1 -1
- package/_mjs/typeclass/Foldable.mjs +1 -2
- package/_mjs/typeclass/Foldable.mjs.map +1 -1
- package/_mjs/typeclass/FoldableWithIndex.mjs +1 -2
- package/_mjs/typeclass/FoldableWithIndex.mjs.map +1 -1
- package/_mjs/typeclass/Functor.mjs +0 -1
- package/_mjs/typeclass/Functor.mjs.map +1 -1
- package/_mjs/typeclass/FunctorWithIndex.mjs.map +1 -1
- package/_mjs/typeclass/Has.mjs +2 -1
- package/_mjs/typeclass/Has.mjs.map +1 -1
- package/_mjs/typeclass/Monad.mjs.map +1 -1
- package/_mjs/typeclass/MonadExcept.mjs.map +1 -1
- package/_mjs/typeclass/Monoid.mjs +6 -15
- package/_mjs/typeclass/Monoid.mjs.map +1 -1
- package/_mjs/typeclass/Pointed.mjs.map +1 -1
- package/_mjs/typeclass/Semialign.mjs +1 -8
- package/_mjs/typeclass/Semialign.mjs.map +1 -1
- package/_mjs/typeclass/Semigroup/api.mjs +6 -8
- package/_mjs/typeclass/Semigroup/api.mjs.map +1 -1
- package/_mjs/typeclass/Semigroup/definition.mjs +2 -3
- package/_mjs/typeclass/Semigroup/definition.mjs.map +1 -1
- package/_mjs/typeclass/Semigroup/derivations.mjs +7 -14
- package/_mjs/typeclass/Semigroup/derivations.mjs.map +1 -1
- package/_mjs/typeclass/Semigroup.mjs.map +1 -1
- package/_mjs/typeclass/Semimonoidal.mjs.map +1 -1
- package/_mjs/typeclass/Traversable.mjs +0 -1
- package/_mjs/typeclass/Traversable.mjs.map +1 -1
- package/_mjs/typeclass/TraversableWithIndex.mjs.map +1 -1
- package/_mjs/typeclass/Witherable.mjs +0 -1
- package/_mjs/typeclass/Witherable.mjs.map +1 -1
- package/_mjs/typeclass/WitherableWithIndex.mjs.map +1 -1
- package/_mjs/typeclass/builtin.mjs.map +1 -1
- package/_mjs/typeclass.mjs +9 -8
- package/_mjs/typeclass.mjs.map +1 -1
- package/_mjs/types.mjs.map +1 -1
- package/_mjs/util/AnsiFormat.mjs +8 -35
- package/_mjs/util/AnsiFormat.mjs.map +1 -1
- package/_mjs/util/PCGRandom.mjs +16 -43
- package/_mjs/util/PCGRandom.mjs.map +1 -1
- package/_mjs/util/assert.mjs +0 -1
- package/_mjs/util/assert.mjs.map +1 -1
- package/_mjs/util/pattern.mjs.map +1 -1
- package/_mjs/util/predicates.mjs +1 -2
- package/_mjs/util/predicates.mjs.map +1 -1
- package/_mjs/util/rand/Random.mjs +0 -17
- package/_mjs/util/rand/Random.mjs.map +1 -1
- package/_mjs/util/rand/distribution/UniformArrayIntDistribution.mjs +0 -4
- package/_mjs/util/rand/distribution/UniformArrayIntDistribution.mjs.map +1 -1
- package/_mjs/util/rand/distribution/UniformBigIntDistribution.mjs +4 -12
- package/_mjs/util/rand/distribution/UniformBigIntDistribution.mjs.map +1 -1
- package/_mjs/util/rand/distribution/UniformIntDistribution.mjs +0 -9
- package/_mjs/util/rand/distribution/UniformIntDistribution.mjs.map +1 -1
- package/_mjs/util/rand/distribution/internals/ArrayInt.mjs +6 -36
- package/_mjs/util/rand/distribution/internals/ArrayInt.mjs.map +1 -1
- package/_mjs/util/rand/distribution/internals/UniformArrayIntDistributionInternal.mjs +6 -9
- package/_mjs/util/rand/distribution/internals/UniformArrayIntDistributionInternal.mjs.map +1 -1
- package/_mjs/util/rand/distribution/internals/UniformIntDistributionInternal.mjs +8 -13
- package/_mjs/util/rand/distribution/internals/UniformIntDistributionInternal.mjs.map +1 -1
- package/_mjs/util/rand/generator/MersenneTwister.mjs +5 -23
- package/_mjs/util/rand/generator/MersenneTwister.mjs.map +1 -1
- package/_mjs/util/rand/generator/RandomGenerator.mjs +0 -4
- package/_mjs/util/rand/generator/RandomGenerator.mjs.map +1 -1
- package/_mjs/util/rand.mjs.map +1 -1
- package/_src/collection/Iterable/api.ts +25 -18
- package/_src/collection/Iterable/constructors.ts +2 -0
- package/_src/collection/compat/Array/api.ts +2 -2
- package/_src/collection/compat/Array.ts +0 -1
- package/_src/collection/compat/ArrayLike/api.ts +2 -2
- package/_src/collection/compat.ts +0 -1
- package/_src/collection/immutable/Conc/api.ts +7 -7
- package/_src/collection/immutable/Conc/definition.ts +6 -6
- package/_src/collection/immutable/Conc.ts +1 -1
- package/_src/collection/immutable/Dictionary.ts +4 -0
- package/_src/collection/immutable/HashMap/api.ts +109 -115
- package/_src/collection/immutable/HashMap/definition.ts +23 -4
- package/_src/collection/immutable/HashMap/internal.ts +2 -2
- package/_src/collection/immutable/HashSet/api.ts +84 -72
- package/_src/collection/immutable/HashSet/definition.ts +30 -10
- package/_src/collection/immutable/ImmutableArray/api.ts +9 -7
- package/_src/collection/immutable/ImmutableArray/definition.ts +8 -3
- package/_src/collection/immutable/ImmutableArray.ts +1 -1
- package/_src/collection/immutable/ImmutableNonEmptyArray/api.ts +7 -7
- package/_src/collection/immutable/ImmutableNonEmptyArray.ts +0 -1
- package/_src/collection/immutable/List/api.ts +22 -12
- package/_src/collection/immutable/List/constructors.ts +1 -1
- package/_src/collection/immutable/Queue/api.ts +42 -42
- package/_src/collection/immutable/Queue/guards.ts +2 -2
- package/_src/collection/immutable/RoseTree/definition.ts +8 -3
- package/_src/collection/immutable/SortedMap/api.ts +125 -126
- package/_src/collection/immutable/SortedMap/definition.ts +5 -0
- package/_src/collection/immutable/Vector/api.ts +206 -206
- package/_src/collection/immutable/Vector/definition.ts +12 -5
- package/_src/collection/immutable.ts +1 -0
- package/_src/collection/mutable/HashMap.ts +7 -7
- package/_src/collection/mutable/HashSet.ts +6 -6
- package/_src/control/Eval/definition.ts +22 -10
- package/_src/control/Z/api.ts +4 -4
- package/_src/control/Z/definition.ts +17 -14
- package/_src/data/Branded.ts +0 -1
- package/_src/data/CaseClass.ts +1 -1
- package/_src/data/Cause/api/linearize.ts +4 -4
- package/_src/data/Cause/api/unified.ts +1 -1
- package/_src/data/Cause/api.ts +25 -3
- package/_src/data/Cause/definition.ts +27 -17
- package/_src/data/Const/api.ts +1 -1
- package/_src/data/Const/instances.ts +2 -2
- package/_src/data/Datum/api.ts +5 -7
- package/_src/data/Datum/definition.ts +8 -7
- package/_src/data/DatumEither/definition.ts +0 -1
- package/_src/data/DatumEither.ts +4 -0
- package/_src/data/DecodeError/definition.ts +5 -3
- package/_src/data/Decoder/api.ts +493 -8
- package/_src/data/Decoder/definition.ts +1 -1
- package/_src/data/Duration/api.ts +5 -0
- package/_src/data/Duration/definition.ts +2 -4
- package/_src/data/Either/api.ts +1 -3
- package/_src/data/Either/definition.ts +8 -3
- package/_src/data/Either/instances.ts +3 -3
- package/_src/data/Encoder/api.ts +261 -9
- package/_src/data/Encoder/definition.ts +5 -1
- package/_src/data/Environment/api.ts +1 -12
- package/_src/data/Environment/definition.ts +10 -12
- package/_src/data/EnvironmentPatch.ts +8 -3
- package/_src/{typeclass → data}/Eq/definition.ts +5 -2
- package/_src/{typeclass → data}/Eq/derivations.ts +8 -6
- package/_src/{typeclass → data}/Eq.ts +0 -0
- package/_src/{typeclass → data}/Equatable/api.ts +4 -2
- package/_src/{typeclass → data}/Equatable/definition.ts +4 -0
- package/_src/{typeclass → data}/Equatable/fast-equals.ts +33 -4
- package/_src/{typeclass → data}/Equatable.ts +0 -0
- package/_src/data/Exit/api.ts +26 -26
- package/_src/data/Exit/definition.ts +16 -12
- package/_src/data/FiberId/api.ts +3 -3
- package/_src/data/FiberId/constructors.ts +3 -3
- package/_src/data/FiberId/definition.ts +11 -10
- package/_src/data/Guard/api.ts +457 -0
- package/_src/{typeclass → data}/Guard/definition.ts +13 -3
- package/_src/data/Guard.ts +4 -0
- package/_src/{typeclass → data}/Hash.ts +0 -0
- package/_src/{typeclass → data}/HashEq.ts +10 -5
- package/_src/{typeclass → data}/Hashable/definition.ts +4 -0
- package/_src/{typeclass → data}/Hashable/hash.ts +26 -1
- package/_src/{typeclass → data}/Hashable.ts +0 -0
- package/_src/data/Interval.ts +2 -2
- package/_src/data/Maybe/api.ts +3 -3
- package/_src/data/Maybe/definition.ts +11 -18
- package/_src/data/Maybe/instances.ts +21 -0
- package/_src/data/Ord/api/contramap.ts +11 -0
- package/_src/data/Ord/api/max.ts +7 -0
- package/_src/data/Ord/api/min.ts +7 -0
- package/_src/{typeclass → data}/Ord/api.ts +0 -0
- package/_src/{typeclass → data}/Ord/definition.ts +5 -5
- package/_src/{typeclass → data}/Ord/instances.ts +8 -8
- package/_src/{typeclass → data}/Ord.ts +0 -0
- package/_src/{typeclass → data}/Ordering.ts +0 -0
- package/_src/{typeclass → data}/Showable/definition.ts +10 -4
- package/_src/{typeclass → data}/Showable/show.ts +58 -17
- package/_src/{typeclass → data}/Showable/styles.ts +0 -0
- package/_src/{typeclass → data}/Showable/util.ts +0 -0
- package/_src/{typeclass → data}/Showable.ts +0 -0
- package/_src/data/Struct/api.ts +1 -1
- package/_src/data/Tag/definition.ts +7 -4
- package/_src/data/These/api.ts +6 -6
- package/_src/data/These/definition.ts +7 -7
- package/_src/data/bigint/instances.ts +1 -0
- package/_src/data/boolean/instances.ts +1 -0
- package/_src/data/exceptions/InterruptedException.ts +2 -4
- package/_src/data/number/instances.ts +5 -5
- package/_src/data/object/instances.ts +0 -11
- package/_src/data/string/api.ts +2 -4
- package/_src/data/string/instances.ts +4 -4
- package/_src/data.ts +10 -0
- package/_src/global.ts +24 -12
- package/_src/typeclass/Apply.ts +5 -4
- package/_src/typeclass/Closure.ts +2 -2
- package/_src/typeclass/Foldable.ts +1 -1
- package/_src/typeclass/FoldableWithIndex.ts +1 -1
- package/_src/typeclass/Monoid.ts +2 -2
- package/_src/typeclass/Semialign.ts +1 -1
- package/_src/typeclass/Semigroup/api.ts +2 -2
- package/_src/typeclass/Semigroup/definition.ts +6 -2
- package/_src/typeclass/Semigroup/derivations.ts +7 -5
- package/_src/typeclass.ts +9 -8
- package/_src/util/predicates.ts +2 -2
- package/collection/Iterable/api.d.ts +12 -7
- package/collection/compat/Array.d.ts +0 -1
- package/collection/compat/ArrayLike/api.d.ts +2 -2
- package/collection/compat.d.ts +0 -1
- package/collection/immutable/Conc/api.d.ts +2 -2
- package/collection/immutable/Conc/definition.d.ts +4 -4
- package/collection/immutable/Conc.d.ts +0 -1
- package/collection/immutable/Dictionary.d.ts +2 -0
- package/collection/immutable/HashMap/api.d.ts +48 -48
- package/collection/immutable/HashMap/definition.d.ts +18 -5
- package/collection/immutable/HashSet/api.d.ts +39 -28
- package/collection/immutable/HashSet/definition.d.ts +21 -7
- package/collection/immutable/ImmutableArray/api.d.ts +2 -2
- package/collection/immutable/ImmutableArray/definition.d.ts +8 -4
- package/collection/immutable/ImmutableArray.d.ts +0 -1
- package/collection/immutable/ImmutableNonEmptyArray.d.ts +0 -1
- package/collection/immutable/List/api.d.ts +8 -6
- package/collection/immutable/List/constructors.d.ts +1 -1
- package/collection/immutable/Queue/api.d.ts +16 -16
- package/collection/immutable/Queue/guards.d.ts +1 -1
- package/collection/immutable/RoseTree/definition.d.ts +8 -4
- package/collection/immutable/SortedMap/api.d.ts +27 -26
- package/collection/immutable/SortedMap/definition.d.ts +3 -0
- package/collection/immutable/Vector/api.d.ts +66 -66
- package/collection/immutable/Vector/definition.d.ts +12 -6
- package/collection/immutable.d.ts +1 -0
- package/collection/mutable/HashMap.d.ts +2 -2
- package/collection/mutable/HashSet.d.ts +2 -2
- package/control/Eval/definition.d.ts +18 -7
- package/control/Z/api.d.ts +4 -4
- package/control/Z/definition.d.ts +12 -8
- package/data/Branded.d.ts +0 -1
- package/data/CaseClass.d.ts +2 -2
- package/data/Cause/api.d.ts +12 -0
- package/data/Cause/definition.d.ts +23 -7
- package/data/Datum/api.d.ts +4 -5
- package/data/Datum/definition.d.ts +6 -5
- package/data/DatumEither/definition.d.ts +0 -1
- package/data/DatumEither.d.ts +2 -0
- package/data/DecodeError/definition.d.ts +3 -2
- package/data/Decoder/api.d.ts +152 -4
- package/data/Decoder/definition.d.ts +1 -1
- package/data/Duration/api.d.ts +5 -0
- package/data/Duration/definition.d.ts +3 -3
- package/data/Either/definition.d.ts +7 -3
- package/data/Either/instances.d.ts +1 -1
- package/data/EitherT/api.d.ts +2 -2
- package/data/Encoder/api.d.ts +147 -6
- package/data/Encoder/definition.d.ts +5 -1
- package/data/Environment/api.d.ts +0 -5
- package/data/Environment/definition.d.ts +10 -10
- package/data/EnvironmentPatch.d.ts +7 -3
- package/{typeclass → data}/Eq/definition.d.ts +3 -3
- package/{typeclass → data}/Eq/derivations.d.ts +3 -3
- package/{typeclass → data}/Eq.d.ts +0 -0
- package/{typeclass → data}/Equatable/api.d.ts +2 -2
- package/{typeclass → data}/Equatable/definition.d.ts +1 -1
- package/{typeclass → data}/Equatable/fast-equals.d.ts +0 -0
- package/{typeclass → data}/Equatable.d.ts +0 -0
- package/data/Exit/api.d.ts +15 -15
- package/data/Exit/definition.d.ts +13 -7
- package/data/FiberId/constructors.d.ts +1 -2
- package/data/FiberId/definition.d.ts +10 -8
- package/data/Guard/api.d.ts +242 -0
- package/{typeclass → data}/Guard/definition.d.ts +10 -4
- package/{typeclass → data}/Guard.d.ts +0 -0
- package/{typeclass → data}/Hash.d.ts +1 -1
- package/{typeclass → data}/HashEq.d.ts +6 -7
- package/{typeclass → data}/Hashable/definition.d.ts +1 -1
- package/{typeclass → data}/Hashable/hash.d.ts +11 -11
- package/{typeclass → data}/Hashable.d.ts +0 -0
- package/data/Interval.d.ts +2 -1
- package/data/Maybe/api.d.ts +2 -2
- package/data/Maybe/definition.d.ts +15 -13
- package/data/Maybe/instances.d.ts +7 -1
- package/{typeclass → data}/Ord/api/contramap.d.ts +2 -2
- package/data/Ord/api/max.d.ts +7 -0
- package/data/Ord/api/min.d.ts +7 -0
- package/{typeclass → data}/Ord/api.d.ts +0 -0
- package/data/Ord/definition.d.ts +19 -0
- package/{typeclass → data}/Ord/instances.d.ts +3 -3
- package/{typeclass → data}/Ord.d.ts +0 -0
- package/{typeclass → data}/Ordering.d.ts +5 -5
- package/data/Showable/definition.d.ts +17 -0
- package/{typeclass → data}/Showable/show.d.ts +1 -1
- package/{typeclass → data}/Showable/styles.d.ts +0 -0
- package/{typeclass → data}/Showable/util.d.ts +0 -0
- package/{typeclass → data}/Showable.d.ts +0 -0
- package/data/Tag/definition.d.ts +8 -4
- package/data/These/definition.d.ts +3 -3
- package/data/These/instances.d.ts +1 -1
- package/data/bigint/instances.d.ts +1 -0
- package/data/boolean/instances.d.ts +1 -0
- package/data/exceptions/InterruptedException.d.ts +1 -1
- package/data/number/instances.d.ts +1 -1
- package/data/object/instances.d.ts +0 -6
- package/data.d.ts +10 -0
- package/global.d.ts +24 -12
- package/package.json +2 -2
- package/typeclass/Apply.d.ts +4 -4
- package/typeclass/Closure.d.ts +2 -2
- package/typeclass/Semigroup/api.d.ts +1 -1
- package/typeclass/Semigroup/definition.d.ts +2 -2
- package/typeclass.d.ts +8 -8
- package/util/predicates.d.ts +1 -1
- package/_cjs/collection/compat/Array/derivations.cjs +0 -118
- package/_cjs/collection/compat/Array/derivations.cjs.map +0 -1
- package/_cjs/collection/compat/Record/instances.cjs +0 -164
- package/_cjs/collection/compat/Record/instances.cjs.map +0 -1
- package/_cjs/collection/compat/Record.cjs +0 -19
- package/_cjs/collection/compat/Record.cjs.map +0 -1
- package/_cjs/collection/immutable/Conc/derivations.cjs +0 -56
- package/_cjs/collection/immutable/Conc/derivations.cjs.map +0 -1
- package/_cjs/collection/immutable/ImmutableArray/derivations.cjs +0 -52
- package/_cjs/collection/immutable/ImmutableArray/derivations.cjs.map +0 -1
- package/_cjs/collection/immutable/ImmutableNonEmptyArray/derivations.cjs +0 -73
- package/_cjs/collection/immutable/ImmutableNonEmptyArray/derivations.cjs.map +0 -1
- package/_cjs/data/Branded/derivations.cjs +0 -58
- package/_cjs/data/Branded/derivations.cjs.map +0 -1
- package/_cjs/typeclass/Eq/definition.cjs.map +0 -1
- package/_cjs/typeclass/Eq/derivations.cjs.map +0 -1
- package/_cjs/typeclass/Eq.cjs.map +0 -1
- package/_cjs/typeclass/Equatable/api.cjs.map +0 -1
- package/_cjs/typeclass/Equatable/definition.cjs.map +0 -1
- package/_cjs/typeclass/Equatable/fast-equals.cjs.map +0 -1
- package/_cjs/typeclass/Equatable.cjs.map +0 -1
- package/_cjs/typeclass/Guard/api.cjs +0 -48
- package/_cjs/typeclass/Guard/api.cjs.map +0 -1
- package/_cjs/typeclass/Guard/definition.cjs.map +0 -1
- package/_cjs/typeclass/Guard/derivations.cjs +0 -85
- package/_cjs/typeclass/Guard/derivations.cjs.map +0 -1
- package/_cjs/typeclass/Guard.cjs.map +0 -1
- package/_cjs/typeclass/Hash.cjs.map +0 -1
- package/_cjs/typeclass/HashEq.cjs.map +0 -1
- package/_cjs/typeclass/Hashable/definition.cjs.map +0 -1
- package/_cjs/typeclass/Hashable/hash.cjs.map +0 -1
- package/_cjs/typeclass/Hashable.cjs.map +0 -1
- package/_cjs/typeclass/Ord/api/contramap.cjs.map +0 -1
- package/_cjs/typeclass/Ord/api/max.cjs.map +0 -1
- package/_cjs/typeclass/Ord/api/min.cjs.map +0 -1
- package/_cjs/typeclass/Ord/api.cjs.map +0 -1
- package/_cjs/typeclass/Ord/definition.cjs.map +0 -1
- package/_cjs/typeclass/Ord/instances.cjs.map +0 -1
- package/_cjs/typeclass/Ord.cjs.map +0 -1
- package/_cjs/typeclass/Ordering.cjs.map +0 -1
- package/_cjs/typeclass/Showable/definition.cjs.map +0 -1
- package/_cjs/typeclass/Showable/show.cjs.map +0 -1
- package/_cjs/typeclass/Showable/styles.cjs.map +0 -1
- package/_cjs/typeclass/Showable/util.cjs.map +0 -1
- package/_cjs/typeclass/Showable.cjs.map +0 -1
- package/_mjs/collection/compat/Array/derivations.mjs +0 -86
- package/_mjs/collection/compat/Array/derivations.mjs.map +0 -1
- package/_mjs/collection/compat/Record/instances.mjs +0 -136
- package/_mjs/collection/compat/Record/instances.mjs.map +0 -1
- package/_mjs/collection/compat/Record.mjs +0 -3
- package/_mjs/collection/compat/Record.mjs.map +0 -1
- package/_mjs/collection/immutable/Conc/derivations.mjs +0 -35
- package/_mjs/collection/immutable/Conc/derivations.mjs.map +0 -1
- package/_mjs/collection/immutable/ImmutableArray/derivations.mjs +0 -33
- package/_mjs/collection/immutable/ImmutableArray/derivations.mjs.map +0 -1
- package/_mjs/collection/immutable/ImmutableNonEmptyArray/derivations.mjs +0 -47
- package/_mjs/collection/immutable/ImmutableNonEmptyArray/derivations.mjs.map +0 -1
- package/_mjs/data/Branded/derivations.mjs +0 -40
- package/_mjs/data/Branded/derivations.mjs.map +0 -1
- package/_mjs/typeclass/Eq/definition.mjs.map +0 -1
- package/_mjs/typeclass/Eq/derivations.mjs.map +0 -1
- package/_mjs/typeclass/Eq.mjs.map +0 -1
- package/_mjs/typeclass/Equatable/api.mjs.map +0 -1
- package/_mjs/typeclass/Equatable/definition.mjs.map +0 -1
- package/_mjs/typeclass/Equatable/fast-equals.mjs.map +0 -1
- package/_mjs/typeclass/Equatable.mjs.map +0 -1
- package/_mjs/typeclass/Guard/api.mjs +0 -32
- package/_mjs/typeclass/Guard/api.mjs.map +0 -1
- package/_mjs/typeclass/Guard/definition.mjs.map +0 -1
- package/_mjs/typeclass/Guard/derivations.mjs +0 -67
- package/_mjs/typeclass/Guard/derivations.mjs.map +0 -1
- package/_mjs/typeclass/Guard.mjs +0 -4
- package/_mjs/typeclass/Guard.mjs.map +0 -1
- package/_mjs/typeclass/Hash.mjs.map +0 -1
- package/_mjs/typeclass/HashEq.mjs +0 -33
- package/_mjs/typeclass/HashEq.mjs.map +0 -1
- package/_mjs/typeclass/Hashable/definition.mjs.map +0 -1
- package/_mjs/typeclass/Hashable/hash.mjs.map +0 -1
- package/_mjs/typeclass/Hashable.mjs.map +0 -1
- package/_mjs/typeclass/Ord/api/contramap.mjs +0 -12
- package/_mjs/typeclass/Ord/api/contramap.mjs.map +0 -1
- package/_mjs/typeclass/Ord/api/max.mjs +0 -8
- package/_mjs/typeclass/Ord/api/max.mjs.map +0 -1
- package/_mjs/typeclass/Ord/api/min.mjs +0 -8
- package/_mjs/typeclass/Ord/api/min.mjs.map +0 -1
- package/_mjs/typeclass/Ord/api.mjs.map +0 -1
- package/_mjs/typeclass/Ord/definition.mjs +0 -13
- package/_mjs/typeclass/Ord/definition.mjs.map +0 -1
- package/_mjs/typeclass/Ord/instances.mjs +0 -37
- package/_mjs/typeclass/Ord/instances.mjs.map +0 -1
- package/_mjs/typeclass/Ord.mjs.map +0 -1
- package/_mjs/typeclass/Ordering.mjs.map +0 -1
- package/_mjs/typeclass/Showable/definition.mjs.map +0 -1
- package/_mjs/typeclass/Showable/show.mjs.map +0 -1
- package/_mjs/typeclass/Showable/styles.mjs.map +0 -1
- package/_mjs/typeclass/Showable/util.mjs.map +0 -1
- package/_mjs/typeclass/Showable.mjs.map +0 -1
- package/_src/collection/compat/Array/derivations.ts +0 -111
- package/_src/collection/compat/Record/instances.ts +0 -151
- package/_src/collection/compat/Record.ts +0 -3
- package/_src/collection/immutable/Conc/derivations.ts +0 -41
- package/_src/collection/immutable/ImmutableArray/derivations.ts +0 -41
- package/_src/collection/immutable/ImmutableNonEmptyArray/derivations.ts +0 -57
- package/_src/data/Branded/derivations.ts +0 -58
- package/_src/typeclass/Guard/api.ts +0 -37
- package/_src/typeclass/Guard/derivations.ts +0 -80
- package/_src/typeclass/Guard.ts +0 -4
- package/_src/typeclass/Ord/api/contramap.ts +0 -12
- package/_src/typeclass/Ord/api/max.ts +0 -8
- package/_src/typeclass/Ord/api/min.ts +0 -8
- package/collection/compat/Array/derivations.d.ts +0 -35
- package/collection/compat/Record/instances.d.ts +0 -46
- package/collection/compat/Record.d.ts +0 -1
- package/collection/immutable/Conc/derivations.d.ts +0 -20
- package/collection/immutable/ImmutableArray/derivations.d.ts +0 -20
- package/collection/immutable/ImmutableNonEmptyArray/derivations.d.ts +0 -20
- package/data/Branded/derivations.d.ts +0 -24
- package/typeclass/Guard/api.d.ts +0 -20
- package/typeclass/Guard/derivations.d.ts +0 -36
- package/typeclass/Ord/api/max.d.ts +0 -7
- package/typeclass/Ord/api/min.d.ts +0 -7
- package/typeclass/Ord/definition.d.ts +0 -19
- package/typeclass/Showable/definition.d.ts +0 -17
package/_mjs/data/Cause/api.mjs
CHANGED
|
@@ -51,7 +51,6 @@ import { _Empty, Both, Empty, Fail, Halt, Interrupt, Stackless, Then } from "./d
|
|
|
51
51
|
/**
|
|
52
52
|
* @tsplus pipeable fncts.Cause as
|
|
53
53
|
*/
|
|
54
|
-
|
|
55
54
|
export function as_(b) {
|
|
56
55
|
return self => {
|
|
57
56
|
return map_1(() => b())(self);
|
|
@@ -60,42 +59,21 @@ export function as_(b) {
|
|
|
60
59
|
/**
|
|
61
60
|
* @internal
|
|
62
61
|
*/
|
|
63
|
-
|
|
64
62
|
function chainEval(self, f) {
|
|
65
63
|
switch (self._tag) {
|
|
66
|
-
case "Empty"
|
|
67
|
-
/* CauseTag.Empty */
|
|
68
|
-
:
|
|
64
|
+
case "Empty" /* CauseTag.Empty */:
|
|
69
65
|
return tsplus_module_1.now(empty_1());
|
|
70
|
-
|
|
71
|
-
case "Fail"
|
|
72
|
-
/* CauseTag.Fail */
|
|
73
|
-
:
|
|
66
|
+
case "Fail" /* CauseTag.Fail */:
|
|
74
67
|
return tsplus_module_1.now(traced_1(f(self.value), self.trace));
|
|
75
|
-
|
|
76
|
-
case "Halt"
|
|
77
|
-
/* CauseTag.Halt */
|
|
78
|
-
:
|
|
68
|
+
case "Halt" /* CauseTag.Halt */:
|
|
79
69
|
return tsplus_module_1.now(self);
|
|
80
|
-
|
|
81
|
-
case "Interrupt"
|
|
82
|
-
/* CauseTag.Interrupt */
|
|
83
|
-
:
|
|
70
|
+
case "Interrupt" /* CauseTag.Interrupt */:
|
|
84
71
|
return tsplus_module_1.now(self);
|
|
85
|
-
|
|
86
|
-
case "Then"
|
|
87
|
-
/* CauseTag.Then */
|
|
88
|
-
:
|
|
72
|
+
case "Then" /* CauseTag.Then */:
|
|
89
73
|
return tsplus_module_2.zipWith(tsplus_module_1.defer(() => chainEval(self.right, f)), then_1)(tsplus_module_1.defer(() => chainEval(self.left, f)));
|
|
90
|
-
|
|
91
|
-
case "Both"
|
|
92
|
-
/* CauseTag.Both */
|
|
93
|
-
:
|
|
74
|
+
case "Both" /* CauseTag.Both */:
|
|
94
75
|
return tsplus_module_2.zipWith(tsplus_module_1.defer(() => chainEval(self.right, f)), both_1)(tsplus_module_1.defer(() => chainEval(self.left, f)));
|
|
95
|
-
|
|
96
|
-
case "Stackless"
|
|
97
|
-
/* CauseTag.Stackless */
|
|
98
|
-
:
|
|
76
|
+
case "Stackless" /* CauseTag.Stackless */:
|
|
99
77
|
return tsplus_module_1.defer(() => chainEval(self.cause, f));
|
|
100
78
|
}
|
|
101
79
|
}
|
|
@@ -107,8 +85,6 @@ function chainEval(self, f) {
|
|
|
107
85
|
* @tsplus static fncts.CauseOps both
|
|
108
86
|
* @tsplus static fncts.Cause.BothOps __call
|
|
109
87
|
*/
|
|
110
|
-
|
|
111
|
-
|
|
112
88
|
function both_1(left, right) {
|
|
113
89
|
return tsplus_module_3.isEmpty(left) ? right : tsplus_module_3.isEmpty(right) ? left : new Both(left, right);
|
|
114
90
|
}
|
|
@@ -117,8 +93,6 @@ function both_1(left, right) {
|
|
|
117
93
|
*
|
|
118
94
|
* @tsplus pipeable fncts.Cause flatMap
|
|
119
95
|
*/
|
|
120
|
-
|
|
121
|
-
|
|
122
96
|
function flatMap_1(f) {
|
|
123
97
|
return self => {
|
|
124
98
|
return tsplus_module_4.run(chainEval(self, f));
|
|
@@ -129,8 +103,6 @@ function flatMap_1(f) {
|
|
|
129
103
|
*
|
|
130
104
|
* @tsplus pipeable fncts.Cause contains
|
|
131
105
|
*/
|
|
132
|
-
|
|
133
|
-
|
|
134
106
|
export function contains(that) {
|
|
135
107
|
return self => {
|
|
136
108
|
return tsplus_module_4.run(containsEval(self, that));
|
|
@@ -139,13 +111,11 @@ export function contains(that) {
|
|
|
139
111
|
/**
|
|
140
112
|
* @internal
|
|
141
113
|
*/
|
|
142
|
-
|
|
143
114
|
function containsEval(self, that) {
|
|
144
115
|
return tsplus_module_2.gen(function* (_) {
|
|
145
116
|
if (yield* _(self.equalsEval(that))) {
|
|
146
117
|
return true;
|
|
147
118
|
}
|
|
148
|
-
|
|
149
119
|
return yield* _(foldLeft_1(tsplus_module_1.now(false), (computation, c) => tsplus_module_5.just(tsplus_module_2.flatMap(b => b ? tsplus_module_1.now(b) : c.equalsEval(that))(computation)))(self));
|
|
150
120
|
});
|
|
151
121
|
}
|
|
@@ -154,8 +124,6 @@ function containsEval(self, that) {
|
|
|
154
124
|
*
|
|
155
125
|
* @tsplus getter fncts.Cause defects
|
|
156
126
|
*/
|
|
157
|
-
|
|
158
|
-
|
|
159
127
|
function defects_1(self) {
|
|
160
128
|
return tsplus_module_7.reverse(foldLeft_1(tsplus_module_6.empty(), (z, c) => isHalt_1(c) ? tsplus_module_5.just(tsplus_module_7.prependOperator(c.value, z)) : tsplus_module_5.nothing())(self));
|
|
161
129
|
}
|
|
@@ -165,8 +133,6 @@ function defects_1(self) {
|
|
|
165
133
|
* @tsplus static fncts.CauseOps empty
|
|
166
134
|
* @tsplus static fncts.Cause.EmptyOps __call
|
|
167
135
|
*/
|
|
168
|
-
|
|
169
|
-
|
|
170
136
|
function empty_1() {
|
|
171
137
|
return _Empty;
|
|
172
138
|
}
|
|
@@ -176,8 +142,6 @@ function empty_1() {
|
|
|
176
142
|
* @tsplus static fncts.CauseOps fail
|
|
177
143
|
* @tsplus static fncts.Cause.FailOps __call
|
|
178
144
|
*/
|
|
179
|
-
|
|
180
|
-
|
|
181
145
|
function fail_1(value, trace = tsplus_module_8.none) {
|
|
182
146
|
return new Fail(value, trace);
|
|
183
147
|
}
|
|
@@ -186,8 +150,6 @@ function fail_1(value, trace = tsplus_module_8.none) {
|
|
|
186
150
|
*
|
|
187
151
|
* @tsplus getter Cause failed
|
|
188
152
|
*/
|
|
189
|
-
|
|
190
|
-
|
|
191
153
|
function failed_1(self) {
|
|
192
154
|
return tsplus_module_9.match(() => false, () => true)(failureMaybe_1(self));
|
|
193
155
|
}
|
|
@@ -196,8 +158,6 @@ function failed_1(self) {
|
|
|
196
158
|
*
|
|
197
159
|
* @tsplus getter fncts.Cause failures
|
|
198
160
|
*/
|
|
199
|
-
|
|
200
|
-
|
|
201
161
|
export function failures(self) {
|
|
202
162
|
return tsplus_module_7.reverse(foldLeft_1(tsplus_module_6.empty(), (z, c) => isFail_1(c) ? tsplus_module_5.just(tsplus_module_7.prependOperator(c.value, z)) : tsplus_module_5.nothing())(self));
|
|
203
163
|
}
|
|
@@ -208,7 +168,6 @@ export function failures(self) {
|
|
|
208
168
|
*
|
|
209
169
|
* @tsplus getter fncts.Cause failureOrCause
|
|
210
170
|
*/
|
|
211
|
-
|
|
212
171
|
export function failureOrCause(self) {
|
|
213
172
|
return tsplus_module_9.match(() => tsplus_module_10.right(self), tsplus_module_10.left)(failureMaybe_1(self));
|
|
214
173
|
}
|
|
@@ -218,7 +177,6 @@ export function failureOrCause(self) {
|
|
|
218
177
|
*
|
|
219
178
|
* @tsplus getter fncts.Cause failureTraceMaybe
|
|
220
179
|
*/
|
|
221
|
-
|
|
222
180
|
function failureTraceMaybe_1(self) {
|
|
223
181
|
return find_1(c => isFail_1(c) ? tsplus_module_5.just([c.value, c.trace]) : tsplus_module_5.nothing())(self);
|
|
224
182
|
}
|
|
@@ -229,8 +187,6 @@ function failureTraceMaybe_1(self) {
|
|
|
229
187
|
*
|
|
230
188
|
* @tsplus getter fncts.Cause failureTraceOrCause
|
|
231
189
|
*/
|
|
232
|
-
|
|
233
|
-
|
|
234
190
|
export function failureTraceOrCause(self) {
|
|
235
191
|
return tsplus_module_9.match(() => tsplus_module_10.right(self), tsplus_module_10.left)(failureTraceMaybe_1(self));
|
|
236
192
|
}
|
|
@@ -239,11 +195,8 @@ export function failureTraceOrCause(self) {
|
|
|
239
195
|
*
|
|
240
196
|
* @tsplus getter fncts.Cause failureMaybe
|
|
241
197
|
*/
|
|
242
|
-
|
|
243
198
|
function failureMaybe_1(self) {
|
|
244
|
-
return find_1(c => c._tag === "Fail"
|
|
245
|
-
/* CauseTag.Fail */
|
|
246
|
-
? tsplus_module_5.just(c.value) : tsplus_module_5.nothing())(self);
|
|
199
|
+
return find_1(c => c._tag === "Fail" /* CauseTag.Fail */ ? tsplus_module_5.just(c.value) : tsplus_module_5.nothing())(self);
|
|
247
200
|
}
|
|
248
201
|
/**
|
|
249
202
|
* Remove all `Halt` causes that the specified partial function is defined at,
|
|
@@ -252,8 +205,6 @@ function failureMaybe_1(self) {
|
|
|
252
205
|
*
|
|
253
206
|
* @tsplus pipeable fncts.Cause filterDefects
|
|
254
207
|
*/
|
|
255
|
-
|
|
256
|
-
|
|
257
208
|
export function filterDefects(p) {
|
|
258
209
|
return self => {
|
|
259
210
|
return tsplus_module_13.fold({
|
|
@@ -290,31 +241,22 @@ export function filterDefects(p) {
|
|
|
290
241
|
/**
|
|
291
242
|
* @tsplus tailRec
|
|
292
243
|
*/
|
|
293
|
-
|
|
294
244
|
function findLoop(self, f, stack) {
|
|
295
245
|
var self_1 = self,
|
|
296
|
-
|
|
297
|
-
|
|
246
|
+
f_1 = f,
|
|
247
|
+
stack_1 = stack;
|
|
298
248
|
var self_2 = self,
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
249
|
+
f_2 = f,
|
|
250
|
+
stack_2 = stack;
|
|
302
251
|
while (1) {
|
|
303
252
|
const r = f_1(self_1);
|
|
304
253
|
void 0;
|
|
305
|
-
|
|
306
254
|
switch (r._tag) {
|
|
307
|
-
case "Nothing"
|
|
308
|
-
/* MaybeTag.Nothing */
|
|
309
|
-
:
|
|
255
|
+
case "Nothing" /* MaybeTag.Nothing */:
|
|
310
256
|
{
|
|
311
257
|
switch (self_1._tag) {
|
|
312
|
-
case "Both"
|
|
313
|
-
/* CauseTag.
|
|
314
|
-
:
|
|
315
|
-
case "Then"
|
|
316
|
-
/* CauseTag.Then */
|
|
317
|
-
:
|
|
258
|
+
case "Both" /* CauseTag.Both */:
|
|
259
|
+
case "Then" /* CauseTag.Then */:
|
|
318
260
|
{
|
|
319
261
|
self_2 = self_1.left;
|
|
320
262
|
f_2 = f_1;
|
|
@@ -324,7 +266,6 @@ function findLoop(self, f, stack) {
|
|
|
324
266
|
stack_1 = stack_2;
|
|
325
267
|
continue;
|
|
326
268
|
}
|
|
327
|
-
|
|
328
269
|
default:
|
|
329
270
|
{
|
|
330
271
|
if (tsplus_module_14.isNonEmpty(stack_1)) {
|
|
@@ -336,15 +277,11 @@ function findLoop(self, f, stack) {
|
|
|
336
277
|
stack_1 = stack_2;
|
|
337
278
|
continue;
|
|
338
279
|
}
|
|
339
|
-
|
|
340
280
|
return tsplus_module_5.nothing();
|
|
341
281
|
}
|
|
342
282
|
}
|
|
343
283
|
}
|
|
344
|
-
|
|
345
|
-
case "Just"
|
|
346
|
-
/* MaybeTag.Just */
|
|
347
|
-
:
|
|
284
|
+
case "Just" /* MaybeTag.Just */:
|
|
348
285
|
{
|
|
349
286
|
return r;
|
|
350
287
|
}
|
|
@@ -356,8 +293,6 @@ function findLoop(self, f, stack) {
|
|
|
356
293
|
*
|
|
357
294
|
* @tsplus pipeable fncts.Cause find
|
|
358
295
|
*/
|
|
359
|
-
|
|
360
|
-
|
|
361
296
|
function find_1(f) {
|
|
362
297
|
return self => {
|
|
363
298
|
return findLoop(self, f, tsplus_module_6.nil());
|
|
@@ -366,51 +301,39 @@ function find_1(f) {
|
|
|
366
301
|
/**
|
|
367
302
|
* @tsplus getter fncts.Cause flatten
|
|
368
303
|
*/
|
|
369
|
-
|
|
370
|
-
|
|
371
304
|
export function flatten(self) {
|
|
372
305
|
return flatMap_1(identity)(self);
|
|
373
306
|
}
|
|
374
|
-
|
|
375
307
|
class FCEStackFrameDone {
|
|
376
308
|
constructor() {
|
|
377
309
|
this._tag = "FCEStackFrameDone";
|
|
378
310
|
}
|
|
379
|
-
|
|
380
311
|
}
|
|
381
|
-
|
|
382
312
|
class FCEStackFrameThenLeft {
|
|
383
313
|
constructor(cause) {
|
|
384
314
|
this.cause = cause;
|
|
385
315
|
this._tag = "FCEStackFrameThenLeft";
|
|
386
316
|
}
|
|
387
|
-
|
|
388
317
|
}
|
|
389
|
-
|
|
390
318
|
class FCEStackFrameThenRight {
|
|
391
319
|
constructor(cause, leftResult) {
|
|
392
320
|
this.cause = cause;
|
|
393
321
|
this.leftResult = leftResult;
|
|
394
322
|
this._tag = "FCEStackFrameThenRight";
|
|
395
323
|
}
|
|
396
|
-
|
|
397
324
|
}
|
|
398
|
-
|
|
399
325
|
class FCEStackFrameBothLeft {
|
|
400
326
|
constructor(cause) {
|
|
401
327
|
this.cause = cause;
|
|
402
328
|
this._tag = "FCEStackFrameBothLeft";
|
|
403
329
|
}
|
|
404
|
-
|
|
405
330
|
}
|
|
406
|
-
|
|
407
331
|
class FCEStackFrameBothRight {
|
|
408
332
|
constructor(cause, leftResult) {
|
|
409
333
|
this.cause = cause;
|
|
410
334
|
this.leftResult = leftResult;
|
|
411
335
|
this._tag = "FCEStackFrameBothRight";
|
|
412
336
|
}
|
|
413
|
-
|
|
414
337
|
}
|
|
415
338
|
/**
|
|
416
339
|
* Converts the specified `Cause<Either<E, A>>` to an `Either<Cause<E>, A>` by
|
|
@@ -418,159 +341,114 @@ class FCEStackFrameBothRight {
|
|
|
418
341
|
*
|
|
419
342
|
* @tsplus getter fncts.Cause flipCauseEither
|
|
420
343
|
*/
|
|
421
|
-
|
|
422
|
-
|
|
423
344
|
export function flipCauseEither(self) {
|
|
424
345
|
const stack = tsplus_module_16.makeStack();
|
|
425
346
|
stack.push(new FCEStackFrameDone());
|
|
426
347
|
let result;
|
|
427
348
|
let c = self;
|
|
428
|
-
|
|
429
349
|
recursion: while (stack.hasNext) {
|
|
430
350
|
// eslint-disable-next-line no-constant-condition
|
|
431
351
|
pushing: while (true) {
|
|
432
352
|
switch (c._tag) {
|
|
433
|
-
case "Empty"
|
|
434
|
-
/* CauseTag.Empty */
|
|
435
|
-
:
|
|
353
|
+
case "Empty" /* CauseTag.Empty */:
|
|
436
354
|
result = tsplus_module_10.left(empty_1());
|
|
437
355
|
break pushing;
|
|
438
|
-
|
|
439
|
-
case "Interrupt"
|
|
440
|
-
/* CauseTag.Interrupt */
|
|
441
|
-
:
|
|
356
|
+
case "Interrupt" /* CauseTag.Interrupt */:
|
|
442
357
|
result = tsplus_module_10.left(interrupt_1(c.id, c.trace));
|
|
443
358
|
break pushing;
|
|
444
|
-
|
|
445
|
-
case "Halt"
|
|
446
|
-
/* CauseTag.Halt */
|
|
447
|
-
:
|
|
359
|
+
case "Halt" /* CauseTag.Halt */:
|
|
448
360
|
result = tsplus_module_10.left(c);
|
|
449
361
|
break pushing;
|
|
450
|
-
|
|
451
|
-
case "Fail"
|
|
452
|
-
/* CauseTag.Fail */
|
|
453
|
-
:
|
|
362
|
+
case "Fail" /* CauseTag.Fail */:
|
|
454
363
|
result = tsplus_module_17.match(l => tsplus_module_10.left(fail_1(l, tsplus_module_8.none)), r => tsplus_module_10.right(r))(c.value);
|
|
455
364
|
break pushing;
|
|
456
|
-
|
|
457
|
-
case "Then"
|
|
458
|
-
/* CauseTag.Then */
|
|
459
|
-
:
|
|
365
|
+
case "Then" /* CauseTag.Then */:
|
|
460
366
|
stack.push(new FCEStackFrameThenLeft(c));
|
|
461
367
|
c = c.left;
|
|
462
368
|
continue pushing;
|
|
463
|
-
|
|
464
|
-
case "Both"
|
|
465
|
-
/* CauseTag.Both */
|
|
466
|
-
:
|
|
369
|
+
case "Both" /* CauseTag.Both */:
|
|
467
370
|
stack.push(new FCEStackFrameBothLeft(c));
|
|
468
371
|
c = c.left;
|
|
469
372
|
continue pushing;
|
|
470
373
|
}
|
|
471
|
-
}
|
|
472
|
-
|
|
473
|
-
|
|
374
|
+
}
|
|
375
|
+
// eslint-disable-next-line no-constant-condition
|
|
474
376
|
popping: while (true) {
|
|
475
377
|
const top = stack.pop();
|
|
476
|
-
|
|
477
378
|
switch (top._tag) {
|
|
478
379
|
case "FCEStackFrameDone":
|
|
479
380
|
return result;
|
|
480
|
-
|
|
481
381
|
case "FCEStackFrameThenLeft":
|
|
482
382
|
c = top.cause.right;
|
|
483
383
|
stack.push(new FCEStackFrameThenRight(top.cause, result));
|
|
484
384
|
continue recursion;
|
|
485
|
-
|
|
486
385
|
case "FCEStackFrameThenRight":
|
|
487
386
|
{
|
|
488
387
|
const l = top.leftResult;
|
|
489
|
-
|
|
490
388
|
if (tsplus_module_18.isLeft(l) && tsplus_module_18.isLeft(result)) {
|
|
491
389
|
result = tsplus_module_10.left(then_1(l.left, result.left));
|
|
492
390
|
}
|
|
493
|
-
|
|
494
391
|
if (tsplus_module_18.isRight(l)) {
|
|
495
392
|
result = tsplus_module_10.right(l.right);
|
|
496
393
|
}
|
|
497
|
-
|
|
498
394
|
if (tsplus_module_18.isRight(result)) {
|
|
499
395
|
result = tsplus_module_10.right(result.right);
|
|
500
396
|
}
|
|
501
|
-
|
|
502
397
|
continue popping;
|
|
503
398
|
}
|
|
504
|
-
|
|
505
399
|
case "FCEStackFrameBothLeft":
|
|
506
400
|
c = top.cause.right;
|
|
507
401
|
stack.push(new FCEStackFrameBothRight(top.cause, result));
|
|
508
402
|
continue recursion;
|
|
509
|
-
|
|
510
403
|
case "FCEStackFrameBothRight":
|
|
511
404
|
{
|
|
512
405
|
const l = top.leftResult;
|
|
513
|
-
|
|
514
406
|
if (tsplus_module_18.isLeft(l) && tsplus_module_18.isLeft(result)) {
|
|
515
407
|
result = tsplus_module_10.left(both_1(l.left, result.left));
|
|
516
408
|
}
|
|
517
|
-
|
|
518
409
|
if (tsplus_module_18.isRight(l)) {
|
|
519
410
|
result = tsplus_module_10.right(l.right);
|
|
520
411
|
}
|
|
521
|
-
|
|
522
412
|
if (tsplus_module_18.isRight(result)) {
|
|
523
413
|
result = tsplus_module_10.right(result.right);
|
|
524
414
|
}
|
|
525
|
-
|
|
526
415
|
continue popping;
|
|
527
416
|
}
|
|
528
417
|
}
|
|
529
418
|
}
|
|
530
419
|
}
|
|
531
|
-
|
|
532
420
|
throw new Error("Bug");
|
|
533
421
|
}
|
|
534
|
-
|
|
535
422
|
class FCOStackFrameDone {
|
|
536
423
|
constructor() {
|
|
537
424
|
this._tag = "FCOStackFrameDone";
|
|
538
425
|
}
|
|
539
|
-
|
|
540
426
|
}
|
|
541
|
-
|
|
542
427
|
class FCOStackFrameThenLeft {
|
|
543
428
|
constructor(cause) {
|
|
544
429
|
this.cause = cause;
|
|
545
430
|
this._tag = "FCOStackFrameThenLeft";
|
|
546
431
|
}
|
|
547
|
-
|
|
548
432
|
}
|
|
549
|
-
|
|
550
433
|
class FCOStackFrameThenRight {
|
|
551
434
|
constructor(cause, leftResult) {
|
|
552
435
|
this.cause = cause;
|
|
553
436
|
this.leftResult = leftResult;
|
|
554
437
|
this._tag = "FCOStackFrameThenRight";
|
|
555
438
|
}
|
|
556
|
-
|
|
557
439
|
}
|
|
558
|
-
|
|
559
440
|
class FCOStackFrameBothLeft {
|
|
560
441
|
constructor(cause) {
|
|
561
442
|
this.cause = cause;
|
|
562
443
|
this._tag = "FCOStackFrameBothLeft";
|
|
563
444
|
}
|
|
564
|
-
|
|
565
445
|
}
|
|
566
|
-
|
|
567
446
|
class FCOStackFrameBothRight {
|
|
568
447
|
constructor(cause, leftResult) {
|
|
569
448
|
this.cause = cause;
|
|
570
449
|
this.leftResult = leftResult;
|
|
571
450
|
this._tag = "FCOStackFrameBothRight";
|
|
572
451
|
}
|
|
573
|
-
|
|
574
452
|
}
|
|
575
453
|
/**
|
|
576
454
|
* Converts the specified `Cause<Maybe<A>>` to an `Maybe<Cause<A>>` by
|
|
@@ -578,119 +456,84 @@ class FCOStackFrameBothRight {
|
|
|
578
456
|
*
|
|
579
457
|
* @tsplus getter fncts.Cause flipCauseMaybe
|
|
580
458
|
*/
|
|
581
|
-
|
|
582
|
-
|
|
583
459
|
export function flipCauseOption(self) {
|
|
584
460
|
const stack = tsplus_module_16.makeStack();
|
|
585
461
|
stack.push(new FCOStackFrameDone());
|
|
586
462
|
let result;
|
|
587
463
|
let c = self;
|
|
588
|
-
|
|
589
464
|
recursion: while (stack.hasNext) {
|
|
590
465
|
// eslint-disable-next-line no-constant-condition
|
|
591
466
|
pushing: while (true) {
|
|
592
467
|
switch (c._tag) {
|
|
593
|
-
case "Empty"
|
|
594
|
-
/* CauseTag.Empty */
|
|
595
|
-
:
|
|
468
|
+
case "Empty" /* CauseTag.Empty */:
|
|
596
469
|
result = tsplus_module_5.just(empty_1());
|
|
597
470
|
break pushing;
|
|
598
|
-
|
|
599
|
-
case "Interrupt"
|
|
600
|
-
/* CauseTag.Interrupt */
|
|
601
|
-
:
|
|
471
|
+
case "Interrupt" /* CauseTag.Interrupt */:
|
|
602
472
|
result = tsplus_module_5.just(interrupt_1(c.id, tsplus_module_8.none));
|
|
603
473
|
break pushing;
|
|
604
|
-
|
|
605
|
-
case "Halt"
|
|
606
|
-
/* CauseTag.Halt */
|
|
607
|
-
:
|
|
474
|
+
case "Halt" /* CauseTag.Halt */:
|
|
608
475
|
result = tsplus_module_5.just(c);
|
|
609
476
|
break pushing;
|
|
610
|
-
|
|
611
|
-
case "Fail"
|
|
612
|
-
/* CauseTag.Fail */
|
|
613
|
-
:
|
|
477
|
+
case "Fail" /* CauseTag.Fail */:
|
|
614
478
|
result = tsplus_module_9.match(() => tsplus_module_5.nothing(), r => tsplus_module_5.just(fail_1(r, tsplus_module_8.none)))(c.value);
|
|
615
479
|
break pushing;
|
|
616
|
-
|
|
617
|
-
case "Then"
|
|
618
|
-
/* CauseTag.Then */
|
|
619
|
-
:
|
|
480
|
+
case "Then" /* CauseTag.Then */:
|
|
620
481
|
stack.push(new FCOStackFrameThenLeft(c));
|
|
621
482
|
c = c.left;
|
|
622
483
|
continue pushing;
|
|
623
|
-
|
|
624
|
-
case "Both"
|
|
625
|
-
/* CauseTag.Both */
|
|
626
|
-
:
|
|
484
|
+
case "Both" /* CauseTag.Both */:
|
|
627
485
|
stack.push(new FCOStackFrameBothLeft(c));
|
|
628
486
|
c = c.left;
|
|
629
487
|
continue pushing;
|
|
630
488
|
}
|
|
631
|
-
}
|
|
632
|
-
|
|
633
|
-
|
|
489
|
+
}
|
|
490
|
+
// eslint-disable-next-line no-constant-condition
|
|
634
491
|
popping: while (true) {
|
|
635
492
|
const top = stack.pop();
|
|
636
|
-
|
|
637
493
|
switch (top._tag) {
|
|
638
494
|
case "FCOStackFrameDone":
|
|
639
495
|
return result;
|
|
640
|
-
|
|
641
496
|
case "FCOStackFrameThenLeft":
|
|
642
497
|
c = top.cause.right;
|
|
643
498
|
stack.push(new FCOStackFrameThenRight(top.cause, result));
|
|
644
499
|
continue recursion;
|
|
645
|
-
|
|
646
500
|
case "FCOStackFrameThenRight":
|
|
647
501
|
{
|
|
648
502
|
const l = top.leftResult;
|
|
649
|
-
|
|
650
503
|
if (tsplus_module_11.isJust(l) && tsplus_module_11.isJust(result)) {
|
|
651
504
|
result = tsplus_module_5.just(then_1(l.value, result.value));
|
|
652
505
|
}
|
|
653
|
-
|
|
654
506
|
if (tsplus_module_11.isNothing(l) && tsplus_module_11.isJust(result)) {
|
|
655
507
|
result = tsplus_module_5.just(result.value);
|
|
656
508
|
}
|
|
657
|
-
|
|
658
509
|
if (tsplus_module_11.isJust(l) && tsplus_module_11.isNothing(result)) {
|
|
659
510
|
result = tsplus_module_5.just(l.value);
|
|
660
511
|
}
|
|
661
|
-
|
|
662
512
|
result = tsplus_module_5.nothing();
|
|
663
513
|
continue popping;
|
|
664
514
|
}
|
|
665
|
-
|
|
666
515
|
case "FCOStackFrameBothLeft":
|
|
667
516
|
c = top.cause.right;
|
|
668
517
|
stack.push(new FCOStackFrameBothRight(top.cause, result));
|
|
669
518
|
continue recursion;
|
|
670
|
-
|
|
671
519
|
case "FCOStackFrameBothRight":
|
|
672
520
|
{
|
|
673
521
|
const l = top.leftResult;
|
|
674
|
-
|
|
675
522
|
if (tsplus_module_11.isJust(l) && tsplus_module_11.isJust(result)) {
|
|
676
523
|
result = tsplus_module_5.just(both_1(l.value, result.value));
|
|
677
524
|
}
|
|
678
|
-
|
|
679
525
|
if (tsplus_module_11.isNothing(l) && tsplus_module_11.isJust(result)) {
|
|
680
526
|
result = tsplus_module_5.just(result.value);
|
|
681
527
|
}
|
|
682
|
-
|
|
683
528
|
if (tsplus_module_11.isJust(l) && tsplus_module_11.isNothing(result)) {
|
|
684
529
|
result = tsplus_module_5.just(l.value);
|
|
685
530
|
}
|
|
686
|
-
|
|
687
531
|
result = tsplus_module_5.nothing();
|
|
688
532
|
continue popping;
|
|
689
533
|
}
|
|
690
534
|
}
|
|
691
535
|
}
|
|
692
536
|
}
|
|
693
|
-
|
|
694
537
|
throw new Error("Bug");
|
|
695
538
|
}
|
|
696
539
|
/**
|
|
@@ -698,7 +541,6 @@ export function flipCauseOption(self) {
|
|
|
698
541
|
*
|
|
699
542
|
* @tsplus pipeable fncts.Cause foldLeft
|
|
700
543
|
*/
|
|
701
|
-
|
|
702
544
|
function foldLeft_1(b, f) {
|
|
703
545
|
return self => {
|
|
704
546
|
return foldLeftLoop(self, b, f, tsplus_module_6.nil());
|
|
@@ -708,28 +550,20 @@ function foldLeft_1(b, f) {
|
|
|
708
550
|
* @internal
|
|
709
551
|
* @tsplus tailRec
|
|
710
552
|
*/
|
|
711
|
-
|
|
712
|
-
|
|
713
553
|
function foldLeftLoop(self, b, f, stack) {
|
|
714
554
|
var self_3 = self,
|
|
715
|
-
|
|
716
|
-
|
|
717
|
-
|
|
555
|
+
b_1 = b,
|
|
556
|
+
f_3 = f,
|
|
557
|
+
stack_3 = stack;
|
|
718
558
|
var self_4 = self,
|
|
719
|
-
|
|
720
|
-
|
|
721
|
-
|
|
722
|
-
|
|
559
|
+
b_2 = b,
|
|
560
|
+
f_4 = f,
|
|
561
|
+
stack_4 = stack;
|
|
723
562
|
while (1) {
|
|
724
563
|
const z = tsplus_module_12.getOrElse(() => b_1)(f_3(b_1, self_3));
|
|
725
|
-
|
|
726
564
|
switch (self_3._tag) {
|
|
727
|
-
case "Both"
|
|
728
|
-
/* CauseTag.
|
|
729
|
-
:
|
|
730
|
-
case "Then"
|
|
731
|
-
/* CauseTag.Then */
|
|
732
|
-
:
|
|
565
|
+
case "Both" /* CauseTag.Both */:
|
|
566
|
+
case "Then" /* CauseTag.Then */:
|
|
733
567
|
{
|
|
734
568
|
self_4 = self_3.left;
|
|
735
569
|
b_2 = z;
|
|
@@ -741,7 +575,6 @@ function foldLeftLoop(self, b, f, stack) {
|
|
|
741
575
|
stack_3 = stack_4;
|
|
742
576
|
continue;
|
|
743
577
|
}
|
|
744
|
-
|
|
745
578
|
default:
|
|
746
579
|
{
|
|
747
580
|
if (tsplus_module_14.isNonEmpty(stack_3)) {
|
|
@@ -755,7 +588,6 @@ function foldLeftLoop(self, b, f, stack) {
|
|
|
755
588
|
stack_3 = stack_4;
|
|
756
589
|
continue;
|
|
757
590
|
}
|
|
758
|
-
|
|
759
591
|
return z;
|
|
760
592
|
}
|
|
761
593
|
}
|
|
@@ -767,8 +599,6 @@ function foldLeftLoop(self, b, f, stack) {
|
|
|
767
599
|
* @tsplus static fncts.CauseOps halt
|
|
768
600
|
* @tsplus static fncts.Cause.HaltOps __call
|
|
769
601
|
*/
|
|
770
|
-
|
|
771
|
-
|
|
772
602
|
function halt_1(value, trace = tsplus_module_8.none) {
|
|
773
603
|
return new Halt(value, trace);
|
|
774
604
|
}
|
|
@@ -777,8 +607,6 @@ function halt_1(value, trace = tsplus_module_8.none) {
|
|
|
777
607
|
*
|
|
778
608
|
* @tsplus getter fncts.Cause halted
|
|
779
609
|
*/
|
|
780
|
-
|
|
781
|
-
|
|
782
610
|
function halted_1(self) {
|
|
783
611
|
return tsplus_module_9.match(() => false, () => true)(haltMaybe_1(self));
|
|
784
612
|
}
|
|
@@ -787,12 +615,8 @@ function halted_1(self) {
|
|
|
787
615
|
*
|
|
788
616
|
* @tsplus getter fncts.Cause haltMaybe
|
|
789
617
|
*/
|
|
790
|
-
|
|
791
|
-
|
|
792
618
|
function haltMaybe_1(self) {
|
|
793
|
-
return find_1(c => c._tag === "Halt"
|
|
794
|
-
/* CauseTag.Halt */
|
|
795
|
-
? tsplus_module_5.just(c.value) : tsplus_module_5.nothing())(self);
|
|
619
|
+
return find_1(c => c._tag === "Halt" /* CauseTag.Halt */ ? tsplus_module_5.just(c.value) : tsplus_module_5.nothing())(self);
|
|
796
620
|
}
|
|
797
621
|
/**
|
|
798
622
|
* Constructs a `Cause` from an `Id`, representing an interruption of asynchronous computation
|
|
@@ -800,8 +624,6 @@ function haltMaybe_1(self) {
|
|
|
800
624
|
* @tsplus static fncts.CauseOps interrupt
|
|
801
625
|
* @tsplus static fncts.Cause.InterruptOps __call
|
|
802
626
|
*/
|
|
803
|
-
|
|
804
|
-
|
|
805
627
|
function interrupt_1(id, trace = tsplus_module_8.none) {
|
|
806
628
|
return new Interrupt(id, trace);
|
|
807
629
|
}
|
|
@@ -810,88 +632,81 @@ function interrupt_1(id, trace = tsplus_module_8.none) {
|
|
|
810
632
|
*
|
|
811
633
|
* @tsplus fluent fncts.Cause isBoth
|
|
812
634
|
*/
|
|
813
|
-
|
|
814
|
-
|
|
815
635
|
export function isBoth(self) {
|
|
816
|
-
return self._tag === "Both"
|
|
817
|
-
/* CauseTag.Both */
|
|
818
|
-
;
|
|
636
|
+
return self._tag === "Both" /* CauseTag.Both */;
|
|
819
637
|
}
|
|
820
638
|
/**
|
|
821
639
|
* A type-guard matching `Fail`
|
|
822
640
|
*
|
|
823
641
|
* @tsplus fluent fncts.Cause isFail
|
|
824
642
|
*/
|
|
825
|
-
|
|
826
643
|
function isFail_1(self) {
|
|
827
|
-
return self._tag === "Fail"
|
|
828
|
-
/* CauseTag.Fail */
|
|
829
|
-
;
|
|
644
|
+
return self._tag === "Fail" /* CauseTag.Fail */;
|
|
830
645
|
}
|
|
831
646
|
/**
|
|
832
647
|
* @tsplus fluent fncts.Cause isHalt
|
|
833
648
|
*/
|
|
834
|
-
|
|
835
|
-
|
|
836
649
|
function isHalt_1(self) {
|
|
837
|
-
return self._tag === "Halt"
|
|
838
|
-
/* CauseTag.Halt */
|
|
839
|
-
;
|
|
650
|
+
return self._tag === "Halt" /* CauseTag.Halt */;
|
|
840
651
|
}
|
|
841
652
|
/**
|
|
842
653
|
* A type-guard matching `Then`
|
|
843
654
|
*
|
|
844
655
|
* @tsplus fluent fncts.Cause isThen
|
|
845
656
|
*/
|
|
846
|
-
|
|
847
|
-
|
|
848
657
|
export function isThen(self) {
|
|
849
|
-
return self._tag === "Then"
|
|
850
|
-
/* CauseTag.Then */
|
|
851
|
-
;
|
|
658
|
+
return self._tag === "Then" /* CauseTag.Then */;
|
|
852
659
|
}
|
|
853
660
|
/**
|
|
854
661
|
* A type-guard matching `Interrupt`
|
|
855
662
|
*
|
|
856
663
|
* @tsplus fluent fncts.Cause isInterrupt
|
|
857
664
|
*/
|
|
858
|
-
|
|
859
665
|
function isInterrupt_1(self) {
|
|
860
|
-
return self._tag === "Interrupt"
|
|
861
|
-
/* CauseTag.Interrupt */
|
|
862
|
-
;
|
|
666
|
+
return self._tag === "Interrupt" /* CauseTag.Interrupt */;
|
|
863
667
|
}
|
|
864
668
|
/**
|
|
865
669
|
* Determines if the `Cause` contains an interruption.
|
|
866
670
|
*
|
|
867
671
|
* @tsplus getter fncts.Cause isInterrupted
|
|
868
672
|
*/
|
|
869
|
-
|
|
870
|
-
|
|
871
673
|
function isInterrupted_1(self) {
|
|
872
674
|
return tsplus_module_11.isJust(find_1(cause => isInterrupt_1(cause) ? tsplus_module_5.just(cause) : tsplus_module_5.nothing())(self));
|
|
873
675
|
}
|
|
676
|
+
/**
|
|
677
|
+
* Determines if the `Cause` contains only interruptions and not any `Die` or
|
|
678
|
+
* `Fail` causes.
|
|
679
|
+
* @tsplus getter fncts.Cause isInterruptedOnly
|
|
680
|
+
*/
|
|
681
|
+
export function isInterruptedOnly(self) {
|
|
682
|
+
return tsplus_module_13.fold({
|
|
683
|
+
Empty: () => true,
|
|
684
|
+
Fail: () => false,
|
|
685
|
+
Halt: () => false,
|
|
686
|
+
Interrupt: () => true,
|
|
687
|
+
Both: (left, right) => left && right,
|
|
688
|
+
Then: (left, right) => left && right,
|
|
689
|
+
Stackless: value => value
|
|
690
|
+
})(self);
|
|
691
|
+
}
|
|
692
|
+
/**
|
|
693
|
+
* @tsplus getter fncts.Cause isFailure
|
|
694
|
+
*/
|
|
695
|
+
export function isFailure(self) {
|
|
696
|
+
return tsplus_module_11.isJust(failureMaybe_1(self));
|
|
697
|
+
}
|
|
874
698
|
/**
|
|
875
699
|
* A type-guard matching `Traced`
|
|
876
700
|
*
|
|
877
701
|
* @tsplus getter fncts.Cause isTraced
|
|
878
702
|
*/
|
|
879
|
-
|
|
880
|
-
|
|
881
703
|
export function isTraced(self) {
|
|
882
704
|
return tsplus_module_11.isJust(find_1(cause => {
|
|
883
705
|
switch (cause._tag) {
|
|
884
|
-
case "Halt"
|
|
885
|
-
/* CauseTag.
|
|
886
|
-
|
|
887
|
-
case "Fail"
|
|
888
|
-
/* CauseTag.Fail */
|
|
889
|
-
:
|
|
890
|
-
case "Interrupt"
|
|
891
|
-
/* CauseTag.Interrupt */
|
|
892
|
-
:
|
|
706
|
+
case "Halt" /* CauseTag.Halt */:
|
|
707
|
+
case "Fail" /* CauseTag.Fail */:
|
|
708
|
+
case "Interrupt" /* CauseTag.Interrupt */:
|
|
893
709
|
return cause.trace !== tsplus_module_8.none ? tsplus_module_5.just(undefined) : tsplus_module_5.nothing();
|
|
894
|
-
|
|
895
710
|
default:
|
|
896
711
|
return tsplus_module_5.nothing();
|
|
897
712
|
}
|
|
@@ -902,7 +717,6 @@ export function isTraced(self) {
|
|
|
902
717
|
*
|
|
903
718
|
* @tsplus getter fncts.Cause interrupted
|
|
904
719
|
*/
|
|
905
|
-
|
|
906
720
|
export function interrupted(self) {
|
|
907
721
|
return tsplus_module_9.match(() => false, () => true)(interruptOption_1(self));
|
|
908
722
|
}
|
|
@@ -911,11 +725,8 @@ export function interrupted(self) {
|
|
|
911
725
|
*
|
|
912
726
|
* @tsplus getter fncts.Cause interruptOption
|
|
913
727
|
*/
|
|
914
|
-
|
|
915
728
|
function interruptOption_1(self) {
|
|
916
|
-
return find_1(c => c._tag === "Interrupt"
|
|
917
|
-
/* CauseTag.Interrupt */
|
|
918
|
-
? tsplus_module_5.just(c.id) : tsplus_module_5.nothing())(self);
|
|
729
|
+
return find_1(c => c._tag === "Interrupt" /* CauseTag.Interrupt */ ? tsplus_module_5.just(c.id) : tsplus_module_5.nothing())(self);
|
|
919
730
|
}
|
|
920
731
|
/**
|
|
921
732
|
* Returns a set of interruptors, fibers that interrupted the fiber described
|
|
@@ -923,12 +734,8 @@ function interruptOption_1(self) {
|
|
|
923
734
|
*
|
|
924
735
|
* @tsplus getter fncts.Cause interruptors
|
|
925
736
|
*/
|
|
926
|
-
|
|
927
|
-
|
|
928
737
|
function interruptors_1(self) {
|
|
929
|
-
return foldLeft_1(tsplus_module_19.
|
|
930
|
-
/* CauseTag.Interrupt */
|
|
931
|
-
? tsplus_module_5.just(tsplus_module_19.add(c.id)(s)) : tsplus_module_5.nothing())(self);
|
|
738
|
+
return foldLeft_1(tsplus_module_19.empty(), (s, c) => c._tag === "Interrupt" /* CauseTag.Interrupt */ ? tsplus_module_5.just(tsplus_module_19.add(c.id)(s)) : tsplus_module_5.nothing())(self);
|
|
932
739
|
}
|
|
933
740
|
/**
|
|
934
741
|
* Determines if the `Cause` contains only interruptions and not any `Halt` or
|
|
@@ -936,8 +743,6 @@ function interruptors_1(self) {
|
|
|
936
743
|
*
|
|
937
744
|
* @tsplus getter fncts.Cause interruptedOnly
|
|
938
745
|
*/
|
|
939
|
-
|
|
940
|
-
|
|
941
746
|
export function interruptedOnly(self) {
|
|
942
747
|
return tsplus_module_12.getOrElse(() => true)(find_1(c => halted_1(c) || failed_1(c) ? tsplus_module_5.just(false) : tsplus_module_5.nothing())(self));
|
|
943
748
|
}
|
|
@@ -947,7 +752,6 @@ export function interruptedOnly(self) {
|
|
|
947
752
|
*
|
|
948
753
|
* @tsplus getter fncts.Cause keepDefects
|
|
949
754
|
*/
|
|
950
|
-
|
|
951
755
|
export function keepDefects(self) {
|
|
952
756
|
return tsplus_module_13.fold({
|
|
953
757
|
Empty: () => tsplus_module_5.nothing(),
|
|
@@ -982,7 +786,6 @@ export function keepDefects(self) {
|
|
|
982
786
|
/**
|
|
983
787
|
* @tsplus pipeable fncts.Cause map
|
|
984
788
|
*/
|
|
985
|
-
|
|
986
789
|
function map_1(f) {
|
|
987
790
|
return self => {
|
|
988
791
|
return flatMap_1(e => fail_1(f(e), tsplus_module_8.none))(self);
|
|
@@ -991,8 +794,6 @@ function map_1(f) {
|
|
|
991
794
|
/**
|
|
992
795
|
* @tsplus pipeable fncts.Cause mapTrace
|
|
993
796
|
*/
|
|
994
|
-
|
|
995
|
-
|
|
996
797
|
function mapTrace_1(f) {
|
|
997
798
|
return self => {
|
|
998
799
|
return tsplus_module_13.fold({
|
|
@@ -1010,8 +811,6 @@ function mapTrace_1(f) {
|
|
|
1010
811
|
* @tsplus static fncts.CauseOps stackless
|
|
1011
812
|
* @tsplus static fncts.Cause.StacklessOps __call
|
|
1012
813
|
*/
|
|
1013
|
-
|
|
1014
|
-
|
|
1015
814
|
function stackless_1(cause, stackless) {
|
|
1016
815
|
return new Stackless(cause, stackless);
|
|
1017
816
|
}
|
|
@@ -1020,8 +819,6 @@ function stackless_1(cause, stackless) {
|
|
|
1020
819
|
*
|
|
1021
820
|
* @tsplus getter fncts.Cause stripFailures
|
|
1022
821
|
*/
|
|
1023
|
-
|
|
1024
|
-
|
|
1025
822
|
export function stripFailures(self) {
|
|
1026
823
|
return tsplus_module_13.fold({
|
|
1027
824
|
Empty: () => empty_1(),
|
|
@@ -1040,7 +837,6 @@ export function stripFailures(self) {
|
|
|
1040
837
|
*
|
|
1041
838
|
* @tsplus pipeable fncts.Cause stripSomeDefects
|
|
1042
839
|
*/
|
|
1043
|
-
|
|
1044
840
|
export function stripSomeDefects(p) {
|
|
1045
841
|
return self => {
|
|
1046
842
|
return tsplus_module_13.fold({
|
|
@@ -1054,70 +850,41 @@ export function stripSomeDefects(p) {
|
|
|
1054
850
|
})(self);
|
|
1055
851
|
};
|
|
1056
852
|
}
|
|
1057
|
-
|
|
1058
853
|
function sequenceCauseEitherEval(self) {
|
|
1059
854
|
switch (self._tag) {
|
|
1060
|
-
case "Empty"
|
|
1061
|
-
/* CauseTag.Empty */
|
|
1062
|
-
:
|
|
855
|
+
case "Empty" /* CauseTag.Empty */:
|
|
1063
856
|
{
|
|
1064
857
|
return tsplus_module_1.now(tsplus_module_10.left(empty_1()));
|
|
1065
858
|
}
|
|
1066
|
-
|
|
1067
|
-
case "Interrupt"
|
|
1068
|
-
/* CauseTag.Interrupt */
|
|
1069
|
-
:
|
|
859
|
+
case "Interrupt" /* CauseTag.Interrupt */:
|
|
1070
860
|
{
|
|
1071
861
|
return tsplus_module_1.now(tsplus_module_10.left(self));
|
|
1072
862
|
}
|
|
1073
|
-
|
|
1074
|
-
case "Fail"
|
|
1075
|
-
/* CauseTag.Fail */
|
|
1076
|
-
:
|
|
863
|
+
case "Fail" /* CauseTag.Fail */:
|
|
1077
864
|
{
|
|
1078
865
|
return tsplus_module_1.now(tsplus_module_17.match(e => tsplus_module_10.left(fail_1(e, tsplus_module_8.none)), a => tsplus_module_10.right(a))(self.value));
|
|
1079
866
|
}
|
|
1080
|
-
|
|
1081
|
-
case "Halt"
|
|
1082
|
-
/* CauseTag.Halt */
|
|
1083
|
-
:
|
|
867
|
+
case "Halt" /* CauseTag.Halt */:
|
|
1084
868
|
{
|
|
1085
869
|
return tsplus_module_1.now(tsplus_module_10.left(self));
|
|
1086
870
|
}
|
|
1087
|
-
|
|
1088
|
-
case "Then"
|
|
1089
|
-
/* CauseTag.Then */
|
|
1090
|
-
:
|
|
871
|
+
case "Then" /* CauseTag.Then */:
|
|
1091
872
|
{
|
|
1092
873
|
return tsplus_module_2.zipWith(tsplus_module_1.defer(() => sequenceCauseEitherEval(self.right)), (lefts, rights) => {
|
|
1093
874
|
void 0;
|
|
1094
875
|
void 0;
|
|
1095
|
-
return lefts._tag === "Left"
|
|
1096
|
-
/* EitherTag.Left */
|
|
1097
|
-
? rights._tag === "Right"
|
|
1098
|
-
/* EitherTag.Right */
|
|
1099
|
-
? tsplus_module_10.right(rights.right) : tsplus_module_10.left(then_1(lefts.left, rights.left)) : tsplus_module_10.right(lefts.right);
|
|
876
|
+
return lefts._tag === "Left" /* EitherTag.Left */ ? rights._tag === "Right" /* EitherTag.Right */ ? tsplus_module_10.right(rights.right) : tsplus_module_10.left(then_1(lefts.left, rights.left)) : tsplus_module_10.right(lefts.right);
|
|
1100
877
|
})(tsplus_module_1.defer(() => sequenceCauseEitherEval(self.left)));
|
|
1101
878
|
}
|
|
1102
|
-
|
|
1103
|
-
case "Both"
|
|
1104
|
-
/* CauseTag.Both */
|
|
1105
|
-
:
|
|
879
|
+
case "Both" /* CauseTag.Both */:
|
|
1106
880
|
{
|
|
1107
881
|
return tsplus_module_2.zipWith(tsplus_module_1.defer(() => sequenceCauseEitherEval(self.right)), (lefts, rights) => {
|
|
1108
882
|
void 0;
|
|
1109
883
|
void 0;
|
|
1110
|
-
return lefts._tag === "Left"
|
|
1111
|
-
/* EitherTag.Left */
|
|
1112
|
-
? rights._tag === "Right"
|
|
1113
|
-
/* EitherTag.Right */
|
|
1114
|
-
? tsplus_module_10.right(rights.right) : tsplus_module_10.left(both_1(lefts.left, rights.left)) : tsplus_module_10.right(lefts.right);
|
|
884
|
+
return lefts._tag === "Left" /* EitherTag.Left */ ? rights._tag === "Right" /* EitherTag.Right */ ? tsplus_module_10.right(rights.right) : tsplus_module_10.left(both_1(lefts.left, rights.left)) : tsplus_module_10.right(lefts.right);
|
|
1115
885
|
})(tsplus_module_1.defer(() => sequenceCauseEitherEval(self.left)));
|
|
1116
886
|
}
|
|
1117
|
-
|
|
1118
|
-
case "Stackless"
|
|
1119
|
-
/* CauseTag.Stackless */
|
|
1120
|
-
:
|
|
887
|
+
case "Stackless" /* CauseTag.Stackless */:
|
|
1121
888
|
{
|
|
1122
889
|
return tsplus_module_2.map(_ => tsplus_module_18.mapLeft(cause => stackless_1(cause, self.stackless))(_))(tsplus_module_1.defer(() => sequenceCauseEitherEval(self.cause)));
|
|
1123
890
|
}
|
|
@@ -1128,79 +895,44 @@ function sequenceCauseEitherEval(self) {
|
|
|
1128
895
|
*
|
|
1129
896
|
* @tsplus getter fncts.Cause sequenceCauseEither
|
|
1130
897
|
*/
|
|
1131
|
-
|
|
1132
|
-
|
|
1133
898
|
export function sequenceCauseEither(self) {
|
|
1134
899
|
return tsplus_module_4.run(sequenceCauseEitherEval(self));
|
|
1135
900
|
}
|
|
1136
|
-
|
|
1137
901
|
function sequenceCauseMaybeEval(self) {
|
|
1138
902
|
switch (self._tag) {
|
|
1139
|
-
case "Empty"
|
|
1140
|
-
/* CauseTag.Empty */
|
|
1141
|
-
:
|
|
903
|
+
case "Empty" /* CauseTag.Empty */:
|
|
1142
904
|
{
|
|
1143
905
|
return tsplus_module_1.now(tsplus_module_5.just(empty_1()));
|
|
1144
906
|
}
|
|
1145
|
-
|
|
1146
|
-
case "Interrupt"
|
|
1147
|
-
/* CauseTag.Interrupt */
|
|
1148
|
-
:
|
|
907
|
+
case "Interrupt" /* CauseTag.Interrupt */:
|
|
1149
908
|
{
|
|
1150
909
|
return tsplus_module_1.now(tsplus_module_5.just(self));
|
|
1151
910
|
}
|
|
1152
|
-
|
|
1153
|
-
case "Fail"
|
|
1154
|
-
/* CauseTag.Fail */
|
|
1155
|
-
:
|
|
911
|
+
case "Fail" /* CauseTag.Fail */:
|
|
1156
912
|
{
|
|
1157
913
|
return tsplus_module_1.now(tsplus_module_12.map(e => fail_1(e, tsplus_module_8.none))(self.value));
|
|
1158
914
|
}
|
|
1159
|
-
|
|
1160
|
-
case "Halt"
|
|
1161
|
-
/* CauseTag.Halt */
|
|
1162
|
-
:
|
|
915
|
+
case "Halt" /* CauseTag.Halt */:
|
|
1163
916
|
{
|
|
1164
917
|
return tsplus_module_1.now(tsplus_module_5.just(self));
|
|
1165
918
|
}
|
|
1166
|
-
|
|
1167
|
-
case "Then"
|
|
1168
|
-
/* CauseTag.Then */
|
|
1169
|
-
:
|
|
919
|
+
case "Then" /* CauseTag.Then */:
|
|
1170
920
|
{
|
|
1171
921
|
return tsplus_module_2.zipWith(tsplus_module_1.defer(() => sequenceCauseMaybeEval(self.right)), (lefts, rights) => {
|
|
1172
922
|
void 0;
|
|
1173
923
|
void 0;
|
|
1174
|
-
return lefts._tag === "Just"
|
|
1175
|
-
/* MaybeTag.Just */
|
|
1176
|
-
? rights._tag === "Just"
|
|
1177
|
-
/* MaybeTag.Just */
|
|
1178
|
-
? tsplus_module_5.just(then_1(lefts.value, rights.value)) : lefts : rights._tag === "Just"
|
|
1179
|
-
/* MaybeTag.Just */
|
|
1180
|
-
? rights : tsplus_module_5.nothing();
|
|
924
|
+
return lefts._tag === "Just" /* MaybeTag.Just */ ? rights._tag === "Just" /* MaybeTag.Just */ ? tsplus_module_5.just(then_1(lefts.value, rights.value)) : lefts : rights._tag === "Just" /* MaybeTag.Just */ ? rights : tsplus_module_5.nothing();
|
|
1181
925
|
})(tsplus_module_1.defer(() => sequenceCauseMaybeEval(self.left)));
|
|
1182
926
|
}
|
|
1183
|
-
|
|
1184
|
-
case "Both"
|
|
1185
|
-
/* CauseTag.Both */
|
|
1186
|
-
:
|
|
927
|
+
case "Both" /* CauseTag.Both */:
|
|
1187
928
|
{
|
|
1188
929
|
return tsplus_module_2.zipWith(tsplus_module_1.defer(() => sequenceCauseMaybeEval(self.right)), (lefts, rights) => {
|
|
1189
930
|
void 0;
|
|
1190
931
|
void 0;
|
|
1191
|
-
return lefts._tag === "Just"
|
|
1192
|
-
/* MaybeTag.Just */
|
|
1193
|
-
? rights._tag === "Just"
|
|
1194
|
-
/* MaybeTag.Just */
|
|
1195
|
-
? tsplus_module_5.just(both_1(lefts.value, rights.value)) : lefts : rights._tag === "Just"
|
|
1196
|
-
/* MaybeTag.Just */
|
|
1197
|
-
? rights : tsplus_module_5.nothing();
|
|
932
|
+
return lefts._tag === "Just" /* MaybeTag.Just */ ? rights._tag === "Just" /* MaybeTag.Just */ ? tsplus_module_5.just(both_1(lefts.value, rights.value)) : lefts : rights._tag === "Just" /* MaybeTag.Just */ ? rights : tsplus_module_5.nothing();
|
|
1198
933
|
})(tsplus_module_1.defer(() => sequenceCauseMaybeEval(self.left)));
|
|
1199
934
|
}
|
|
1200
|
-
|
|
1201
|
-
case "Stackless"
|
|
1202
|
-
/* CauseTag.Stackless */
|
|
1203
|
-
:
|
|
935
|
+
case "Stackless" /* CauseTag.Stackless */:
|
|
1204
936
|
{
|
|
1205
937
|
return tsplus_module_2.map(_ => tsplus_module_12.map(cause => stackless_1(cause, self.stackless))(_))(tsplus_module_1.defer(() => sequenceCauseMaybeEval(self.cause)));
|
|
1206
938
|
}
|
|
@@ -1211,8 +943,6 @@ function sequenceCauseMaybeEval(self) {
|
|
|
1211
943
|
*
|
|
1212
944
|
* @tsplus getter fncts.Cause sequenceCauseMaybe
|
|
1213
945
|
*/
|
|
1214
|
-
|
|
1215
|
-
|
|
1216
946
|
export function sequenceCauseMaybe(self) {
|
|
1217
947
|
return tsplus_module_4.run(sequenceCauseMaybeEval(self));
|
|
1218
948
|
}
|
|
@@ -1222,10 +952,9 @@ export function sequenceCauseMaybe(self) {
|
|
|
1222
952
|
*
|
|
1223
953
|
* @tsplus pipeable fncts.Cause squashWith
|
|
1224
954
|
*/
|
|
1225
|
-
|
|
1226
955
|
export function squashWith(f) {
|
|
1227
956
|
return self => {
|
|
1228
|
-
return tsplus_module_12.getOrElse(() => new tsplus_module_20.InterruptedException())(tsplus_module_12.orElse(() => tsplus_module_7.head(defects_1(self)))(tsplus_module_12.orElse(() => isInterrupted_1(self) ? tsplus_module_5.just(new tsplus_module_20.InterruptedException("Interrupted by fibers: " + tsplus_module_19.join(", ")(tsplus_module_19.
|
|
957
|
+
return tsplus_module_12.getOrElse(() => new tsplus_module_20.InterruptedException())(tsplus_module_12.orElse(() => tsplus_module_7.head(defects_1(self)))(tsplus_module_12.orElse(() => isInterrupted_1(self) ? tsplus_module_5.just(new tsplus_module_20.InterruptedException("Interrupted by fibers: " + tsplus_module_19.join(", ")(tsplus_module_19.map(id => `#${id}`)(tsplus_module_19.flatMap(id => tsplus_module_21.ids(id))(interruptors_1(self)))))) : tsplus_module_5.nothing())(tsplus_module_12.map(f)(failureMaybe_1(self)))));
|
|
1229
958
|
};
|
|
1230
959
|
}
|
|
1231
960
|
/**
|
|
@@ -1236,7 +965,6 @@ export function squashWith(f) {
|
|
|
1236
965
|
* @tsplus static fncts.CauseOps then
|
|
1237
966
|
* @tsplus static fncts.Cause.ThenOps __call
|
|
1238
967
|
*/
|
|
1239
|
-
|
|
1240
968
|
function then_1(left, right) {
|
|
1241
969
|
return tsplus_module_3.isEmpty(left) ? right : tsplus_module_3.isEmpty(right) ? left : new Then(left, right);
|
|
1242
970
|
}
|
|
@@ -1248,8 +976,6 @@ function then_1(left, right) {
|
|
|
1248
976
|
* @tsplus static fncts.CauseOps traced
|
|
1249
977
|
* @tsplus static fncts.Cause.TracedOps __call
|
|
1250
978
|
*/
|
|
1251
|
-
|
|
1252
|
-
|
|
1253
979
|
function traced_1(cause, trace) {
|
|
1254
980
|
return mapTrace_1(t => tsplus_module_22.combine(trace)(t))(cause);
|
|
1255
981
|
}
|
|
@@ -1258,8 +984,6 @@ function traced_1(cause, trace) {
|
|
|
1258
984
|
*
|
|
1259
985
|
* @tsplus getter fncts.Cause untraced
|
|
1260
986
|
*/
|
|
1261
|
-
|
|
1262
|
-
|
|
1263
987
|
export function untraced(self) {
|
|
1264
988
|
return mapTrace_1(() => tsplus_module_8.none)(self);
|
|
1265
989
|
}
|