@fncts/base 0.0.21 → 0.0.22
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 +27 -226
- 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 +20 -43
- 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 +18 -92
- 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 +4 -21
- 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 +4 -19
- 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 +4 -6
- 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 +9 -34
- 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 +5 -23
- 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 +13 -84
- 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 +13 -45
- 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 +70 -412
- package/_cjs/data/Cause/api.cjs.map +1 -1
- package/_cjs/data/Cause/definition.cjs +46 -283
- 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 +10 -50
- 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/DecodeError/definition.cjs +1 -82
- 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 +0 -6
- 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 +3 -17
- 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 +27 -155
- 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 +4 -23
- 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 +0 -4
- 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 +3 -33
- package/_cjs/data/Environment/api.cjs.map +1 -1
- package/_cjs/data/Environment/definition.cjs +5 -21
- 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 +14 -80
- 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 +8 -48
- 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 +7 -38
- 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 +0 -6
- 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 +10 -51
- 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 +3 -18
- 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 +3 -27
- 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 +0 -6
- 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 +0 -32
- 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 +27 -197
- 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 +17 -28
- 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 +14 -67
- 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 +4 -10
- 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 +4 -8
- 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 +2 -3
- 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 +9 -21
- 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 +6 -15
- 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 +23 -51
- 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 +13 -32
- 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 +70 -368
- package/_mjs/data/Cause/api.mjs.map +1 -1
- package/_mjs/data/Cause/definition.mjs +46 -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 +10 -35
- 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/DecodeError/definition.mjs +1 -29
- 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 +0 -3
- 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 +3 -7
- 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 +27 -115
- 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 +4 -15
- 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 +0 -2
- package/_mjs/data/Encoder/definition.mjs.map +1 -1
- package/_mjs/data/Encoder.mjs.map +1 -1
- package/_mjs/data/Environment/api.mjs +3 -18
- package/_mjs/data/Environment/api.mjs.map +1 -1
- package/_mjs/data/Environment/definition.mjs +5 -10
- package/_mjs/data/Environment/definition.mjs.map +1 -1
- package/_mjs/data/Environment.mjs.map +1 -1
- package/_mjs/data/EnvironmentPatch.mjs +18 -55
- 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 +8 -33
- 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 +7 -26
- 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 +0 -3
- 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 +10 -36
- 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 +3 -9
- 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 +4 -16
- 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 +0 -1
- 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 +0 -1
- 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 +3 -3
- 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 +17 -3
- 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 +23 -9
- package/_src/collection/immutable/ImmutableArray/api.ts +9 -7
- 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/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.ts +1 -0
- package/_src/collection/mutable/HashMap.ts +7 -7
- package/_src/collection/mutable/HashSet.ts +6 -6
- package/_src/control/Z/api.ts +4 -4
- package/_src/data/Branded.ts +0 -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 +1 -3
- package/_src/data/Cause/definition.ts +2 -2
- 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/DecodeError/definition.ts +4 -2
- package/_src/data/Decoder/api.ts +493 -8
- package/_src/data/Duration/api.ts +5 -0
- package/_src/data/Either/instances.ts +3 -3
- package/_src/data/Encoder/api.ts +261 -9
- package/_src/data/Encoder/definition.ts +4 -0
- package/_src/data/Environment/api.ts +2 -2
- package/_src/data/Environment/definition.ts +1 -4
- 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/FiberId/api.ts +3 -3
- package/_src/data/FiberId/constructors.ts +3 -3
- package/_src/data/FiberId/definition.ts +4 -1
- package/_src/data/Guard/api.ts +457 -0
- package/_src/{typeclass → data}/Guard/definition.ts +6 -1
- 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/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/These/api.ts +6 -6
- package/_src/data/bigint/instances.ts +1 -0
- package/_src/data/boolean/instances.ts +1 -0
- 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 +9 -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/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 +2 -2
- 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 +13 -4
- package/collection/immutable/HashSet/api.d.ts +39 -28
- package/collection/immutable/HashSet/definition.d.ts +15 -6
- package/collection/immutable/ImmutableArray/api.d.ts +2 -2
- package/collection/immutable/ImmutableArray/definition.d.ts +2 -2
- 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 +2 -2
- 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 +2 -2
- 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/Z/api.d.ts +4 -4
- package/data/Branded.d.ts +0 -1
- package/data/CaseClass.d.ts +2 -2
- package/data/Datum/api.d.ts +4 -5
- package/data/Datum/definition.d.ts +2 -2
- package/data/DecodeError/definition.d.ts +2 -1
- package/data/Decoder/api.d.ts +152 -4
- package/data/Duration/api.d.ts +5 -0
- package/data/Duration/definition.d.ts +2 -2
- package/data/Either/instances.d.ts +1 -1
- package/data/Encoder/api.d.ts +147 -6
- package/data/Encoder/definition.d.ts +4 -0
- package/data/Environment/definition.d.ts +2 -2
- 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 +1 -1
- package/data/FiberId/constructors.d.ts +1 -2
- package/data/FiberId/definition.d.ts +7 -5
- package/data/Guard/api.d.ts +242 -0
- package/{typeclass → data}/Guard/definition.d.ts +4 -2
- 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 +2 -2
- 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 +2 -2
- 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/number/instances.d.ts +1 -1
- package/data/object/instances.d.ts +0 -6
- package/data.d.ts +9 -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/_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/_cjs/data/Cause/api.cjs
CHANGED
|
@@ -34,61 +34,33 @@ exports.stripFailures = stripFailures;
|
|
|
34
34
|
exports.stripSomeDefects = stripSomeDefects;
|
|
35
35
|
exports.traced = exports.then = void 0;
|
|
36
36
|
exports.untraced = untraced;
|
|
37
|
-
|
|
38
37
|
var tsplus_module_1 = /*#__PURE__*/_interopRequireWildcard( /*#__PURE__*/require("@fncts/base/control/Eval/constructors"));
|
|
39
|
-
|
|
40
38
|
var tsplus_module_2 = /*#__PURE__*/_interopRequireWildcard( /*#__PURE__*/require("@fncts/base/control/Eval/api"));
|
|
41
|
-
|
|
42
39
|
var tsplus_module_3 = /*#__PURE__*/_interopRequireWildcard( /*#__PURE__*/require("@fncts/base/data/Cause/api/isEmpty"));
|
|
43
|
-
|
|
44
40
|
var tsplus_module_4 = /*#__PURE__*/_interopRequireWildcard( /*#__PURE__*/require("@fncts/base/control/Eval/run"));
|
|
45
|
-
|
|
46
41
|
var tsplus_module_5 = /*#__PURE__*/_interopRequireWildcard( /*#__PURE__*/require("@fncts/base/data/Maybe/constructors"));
|
|
47
|
-
|
|
48
42
|
var tsplus_module_6 = /*#__PURE__*/_interopRequireWildcard( /*#__PURE__*/require("@fncts/base/collection/immutable/List/constructors"));
|
|
49
|
-
|
|
50
43
|
var tsplus_module_7 = /*#__PURE__*/_interopRequireWildcard( /*#__PURE__*/require("@fncts/base/collection/immutable/List/api"));
|
|
51
|
-
|
|
52
44
|
var tsplus_module_8 = /*#__PURE__*/_interopRequireWildcard( /*#__PURE__*/require("@fncts/base/data/Trace/constructors"));
|
|
53
|
-
|
|
54
45
|
var tsplus_module_9 = /*#__PURE__*/_interopRequireWildcard( /*#__PURE__*/require("@fncts/base/data/Maybe/destructors"));
|
|
55
|
-
|
|
56
46
|
var tsplus_module_10 = /*#__PURE__*/_interopRequireWildcard( /*#__PURE__*/require("@fncts/base/data/Either/constructors"));
|
|
57
|
-
|
|
58
47
|
var tsplus_module_11 = /*#__PURE__*/_interopRequireWildcard( /*#__PURE__*/require("@fncts/base/data/Maybe/definition"));
|
|
59
|
-
|
|
60
48
|
var tsplus_module_12 = /*#__PURE__*/_interopRequireWildcard( /*#__PURE__*/require("@fncts/base/data/Maybe/api"));
|
|
61
|
-
|
|
62
49
|
var tsplus_module_13 = /*#__PURE__*/_interopRequireWildcard( /*#__PURE__*/require("@fncts/base/data/Cause/api/fold"));
|
|
63
|
-
|
|
64
50
|
var tsplus_module_14 = /*#__PURE__*/_interopRequireWildcard( /*#__PURE__*/require("@fncts/base/collection/immutable/List/definition"));
|
|
65
|
-
|
|
66
51
|
var tsplus_module_15 = /*#__PURE__*/_interopRequireWildcard( /*#__PURE__*/require("@fncts/base/collection/immutable/List/api/unsafeTail"));
|
|
67
|
-
|
|
68
52
|
var tsplus_module_16 = /*#__PURE__*/_interopRequireWildcard( /*#__PURE__*/require("@fncts/base/internal/Stack"));
|
|
69
|
-
|
|
70
53
|
var tsplus_module_17 = /*#__PURE__*/_interopRequireWildcard( /*#__PURE__*/require("@fncts/base/data/Either/destructors"));
|
|
71
|
-
|
|
72
54
|
var tsplus_module_18 = /*#__PURE__*/_interopRequireWildcard( /*#__PURE__*/require("@fncts/base/data/Either/api"));
|
|
73
|
-
|
|
74
55
|
var tsplus_module_19 = /*#__PURE__*/_interopRequireWildcard( /*#__PURE__*/require("@fncts/base/collection/immutable/HashSet/api"));
|
|
75
|
-
|
|
76
56
|
var tsplus_module_20 = /*#__PURE__*/_interopRequireWildcard( /*#__PURE__*/require("@fncts/base/data/exceptions"));
|
|
77
|
-
|
|
78
57
|
var tsplus_module_21 = /*#__PURE__*/_interopRequireWildcard( /*#__PURE__*/require("@fncts/base/data/FiberId/api"));
|
|
79
|
-
|
|
80
58
|
var tsplus_module_22 = /*#__PURE__*/_interopRequireWildcard( /*#__PURE__*/require("@fncts/base/data/Trace/api"));
|
|
81
|
-
|
|
82
59
|
var _Stack2 = /*#__PURE__*/require("../../internal/Stack.cjs");
|
|
83
|
-
|
|
84
60
|
var _function = /*#__PURE__*/require("../function.cjs");
|
|
85
|
-
|
|
86
61
|
var _definition3 = /*#__PURE__*/require("./definition.cjs");
|
|
87
|
-
|
|
88
62
|
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function (nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
|
89
|
-
|
|
90
63
|
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
|
91
|
-
|
|
92
64
|
const both = both_1;
|
|
93
65
|
exports.both = both;
|
|
94
66
|
const flatMap = flatMap_1;
|
|
@@ -139,7 +111,6 @@ const then = then_1;
|
|
|
139
111
|
exports.then = then;
|
|
140
112
|
const traced = traced_1;
|
|
141
113
|
exports.traced = traced;
|
|
142
|
-
|
|
143
114
|
/**
|
|
144
115
|
* @tsplus pipeable fncts.Cause as
|
|
145
116
|
*/
|
|
@@ -151,43 +122,21 @@ function as_(b) {
|
|
|
151
122
|
/**
|
|
152
123
|
* @internal
|
|
153
124
|
*/
|
|
154
|
-
|
|
155
|
-
|
|
156
125
|
function chainEval(self, f) {
|
|
157
126
|
switch (self._tag) {
|
|
158
|
-
case "Empty"
|
|
159
|
-
/* CauseTag.Empty */
|
|
160
|
-
:
|
|
127
|
+
case "Empty" /* CauseTag.Empty */:
|
|
161
128
|
return tsplus_module_1.now(empty_1());
|
|
162
|
-
|
|
163
|
-
case "Fail"
|
|
164
|
-
/* CauseTag.Fail */
|
|
165
|
-
:
|
|
129
|
+
case "Fail" /* CauseTag.Fail */:
|
|
166
130
|
return tsplus_module_1.now(traced_1(f(self.value), self.trace));
|
|
167
|
-
|
|
168
|
-
case "Halt"
|
|
169
|
-
/* CauseTag.Halt */
|
|
170
|
-
:
|
|
131
|
+
case "Halt" /* CauseTag.Halt */:
|
|
171
132
|
return tsplus_module_1.now(self);
|
|
172
|
-
|
|
173
|
-
case "Interrupt"
|
|
174
|
-
/* CauseTag.Interrupt */
|
|
175
|
-
:
|
|
133
|
+
case "Interrupt" /* CauseTag.Interrupt */:
|
|
176
134
|
return tsplus_module_1.now(self);
|
|
177
|
-
|
|
178
|
-
case "Then"
|
|
179
|
-
/* CauseTag.Then */
|
|
180
|
-
:
|
|
135
|
+
case "Then" /* CauseTag.Then */:
|
|
181
136
|
return tsplus_module_2.zipWith(tsplus_module_1.defer(() => chainEval(self.right, f)), then_1)(tsplus_module_1.defer(() => chainEval(self.left, f)));
|
|
182
|
-
|
|
183
|
-
case "Both"
|
|
184
|
-
/* CauseTag.Both */
|
|
185
|
-
:
|
|
137
|
+
case "Both" /* CauseTag.Both */:
|
|
186
138
|
return tsplus_module_2.zipWith(tsplus_module_1.defer(() => chainEval(self.right, f)), both_1)(tsplus_module_1.defer(() => chainEval(self.left, f)));
|
|
187
|
-
|
|
188
|
-
case "Stackless"
|
|
189
|
-
/* CauseTag.Stackless */
|
|
190
|
-
:
|
|
139
|
+
case "Stackless" /* CauseTag.Stackless */:
|
|
191
140
|
return tsplus_module_1.defer(() => chainEval(self.cause, f));
|
|
192
141
|
}
|
|
193
142
|
}
|
|
@@ -199,8 +148,6 @@ function chainEval(self, f) {
|
|
|
199
148
|
* @tsplus static fncts.CauseOps both
|
|
200
149
|
* @tsplus static fncts.Cause.BothOps __call
|
|
201
150
|
*/
|
|
202
|
-
|
|
203
|
-
|
|
204
151
|
function both_1(left, right) {
|
|
205
152
|
return tsplus_module_3.isEmpty(left) ? right : tsplus_module_3.isEmpty(right) ? left : new _definition3.Both(left, right);
|
|
206
153
|
}
|
|
@@ -209,8 +156,6 @@ function both_1(left, right) {
|
|
|
209
156
|
*
|
|
210
157
|
* @tsplus pipeable fncts.Cause flatMap
|
|
211
158
|
*/
|
|
212
|
-
|
|
213
|
-
|
|
214
159
|
function flatMap_1(f) {
|
|
215
160
|
return self => {
|
|
216
161
|
return tsplus_module_4.run(chainEval(self, f));
|
|
@@ -221,8 +166,6 @@ function flatMap_1(f) {
|
|
|
221
166
|
*
|
|
222
167
|
* @tsplus pipeable fncts.Cause contains
|
|
223
168
|
*/
|
|
224
|
-
|
|
225
|
-
|
|
226
169
|
function contains(that) {
|
|
227
170
|
return self => {
|
|
228
171
|
return tsplus_module_4.run(containsEval(self, that));
|
|
@@ -231,14 +174,11 @@ function contains(that) {
|
|
|
231
174
|
/**
|
|
232
175
|
* @internal
|
|
233
176
|
*/
|
|
234
|
-
|
|
235
|
-
|
|
236
177
|
function containsEval(self, that) {
|
|
237
178
|
return tsplus_module_2.gen(function* (_) {
|
|
238
179
|
if (yield* _(self.equalsEval(that))) {
|
|
239
180
|
return true;
|
|
240
181
|
}
|
|
241
|
-
|
|
242
182
|
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));
|
|
243
183
|
});
|
|
244
184
|
}
|
|
@@ -247,8 +187,6 @@ function containsEval(self, that) {
|
|
|
247
187
|
*
|
|
248
188
|
* @tsplus getter fncts.Cause defects
|
|
249
189
|
*/
|
|
250
|
-
|
|
251
|
-
|
|
252
190
|
function defects_1(self) {
|
|
253
191
|
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));
|
|
254
192
|
}
|
|
@@ -258,8 +196,6 @@ function defects_1(self) {
|
|
|
258
196
|
* @tsplus static fncts.CauseOps empty
|
|
259
197
|
* @tsplus static fncts.Cause.EmptyOps __call
|
|
260
198
|
*/
|
|
261
|
-
|
|
262
|
-
|
|
263
199
|
function empty_1() {
|
|
264
200
|
return _definition3._Empty;
|
|
265
201
|
}
|
|
@@ -269,8 +205,6 @@ function empty_1() {
|
|
|
269
205
|
* @tsplus static fncts.CauseOps fail
|
|
270
206
|
* @tsplus static fncts.Cause.FailOps __call
|
|
271
207
|
*/
|
|
272
|
-
|
|
273
|
-
|
|
274
208
|
function fail_1(value, trace = tsplus_module_8.none) {
|
|
275
209
|
return new _definition3.Fail(value, trace);
|
|
276
210
|
}
|
|
@@ -279,8 +213,6 @@ function fail_1(value, trace = tsplus_module_8.none) {
|
|
|
279
213
|
*
|
|
280
214
|
* @tsplus getter Cause failed
|
|
281
215
|
*/
|
|
282
|
-
|
|
283
|
-
|
|
284
216
|
function failed_1(self) {
|
|
285
217
|
return tsplus_module_9.match(() => false, () => true)(failureMaybe_1(self));
|
|
286
218
|
}
|
|
@@ -289,8 +221,6 @@ function failed_1(self) {
|
|
|
289
221
|
*
|
|
290
222
|
* @tsplus getter fncts.Cause failures
|
|
291
223
|
*/
|
|
292
|
-
|
|
293
|
-
|
|
294
224
|
function failures(self) {
|
|
295
225
|
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));
|
|
296
226
|
}
|
|
@@ -301,8 +231,6 @@ function failures(self) {
|
|
|
301
231
|
*
|
|
302
232
|
* @tsplus getter fncts.Cause failureOrCause
|
|
303
233
|
*/
|
|
304
|
-
|
|
305
|
-
|
|
306
234
|
function failureOrCause(self) {
|
|
307
235
|
return tsplus_module_9.match(() => tsplus_module_10.right(self), tsplus_module_10.left)(failureMaybe_1(self));
|
|
308
236
|
}
|
|
@@ -312,8 +240,6 @@ function failureOrCause(self) {
|
|
|
312
240
|
*
|
|
313
241
|
* @tsplus getter fncts.Cause failureTraceMaybe
|
|
314
242
|
*/
|
|
315
|
-
|
|
316
|
-
|
|
317
243
|
function failureTraceMaybe_1(self) {
|
|
318
244
|
return find_1(c => isFail_1(c) ? tsplus_module_5.just([c.value, c.trace]) : tsplus_module_5.nothing())(self);
|
|
319
245
|
}
|
|
@@ -324,8 +250,6 @@ function failureTraceMaybe_1(self) {
|
|
|
324
250
|
*
|
|
325
251
|
* @tsplus getter fncts.Cause failureTraceOrCause
|
|
326
252
|
*/
|
|
327
|
-
|
|
328
|
-
|
|
329
253
|
function failureTraceOrCause(self) {
|
|
330
254
|
return tsplus_module_9.match(() => tsplus_module_10.right(self), tsplus_module_10.left)(failureTraceMaybe_1(self));
|
|
331
255
|
}
|
|
@@ -334,12 +258,8 @@ function failureTraceOrCause(self) {
|
|
|
334
258
|
*
|
|
335
259
|
* @tsplus getter fncts.Cause failureMaybe
|
|
336
260
|
*/
|
|
337
|
-
|
|
338
|
-
|
|
339
261
|
function failureMaybe_1(self) {
|
|
340
|
-
return find_1(c => c._tag === "Fail"
|
|
341
|
-
/* CauseTag.Fail */
|
|
342
|
-
? tsplus_module_5.just(c.value) : tsplus_module_5.nothing())(self);
|
|
262
|
+
return find_1(c => c._tag === "Fail" /* CauseTag.Fail */ ? tsplus_module_5.just(c.value) : tsplus_module_5.nothing())(self);
|
|
343
263
|
}
|
|
344
264
|
/**
|
|
345
265
|
* Remove all `Halt` causes that the specified partial function is defined at,
|
|
@@ -348,8 +268,6 @@ function failureMaybe_1(self) {
|
|
|
348
268
|
*
|
|
349
269
|
* @tsplus pipeable fncts.Cause filterDefects
|
|
350
270
|
*/
|
|
351
|
-
|
|
352
|
-
|
|
353
271
|
function filterDefects(p) {
|
|
354
272
|
return self => {
|
|
355
273
|
return tsplus_module_13.fold({
|
|
@@ -386,32 +304,22 @@ function filterDefects(p) {
|
|
|
386
304
|
/**
|
|
387
305
|
* @tsplus tailRec
|
|
388
306
|
*/
|
|
389
|
-
|
|
390
|
-
|
|
391
307
|
function findLoop(self, f, stack) {
|
|
392
308
|
var self_1 = self,
|
|
393
|
-
|
|
394
|
-
|
|
309
|
+
f_1 = f,
|
|
310
|
+
stack_1 = stack;
|
|
395
311
|
var self_2 = self,
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
312
|
+
f_2 = f,
|
|
313
|
+
stack_2 = stack;
|
|
399
314
|
while (1) {
|
|
400
315
|
const r = f_1(self_1);
|
|
401
316
|
void 0;
|
|
402
|
-
|
|
403
317
|
switch (r._tag) {
|
|
404
|
-
case "Nothing"
|
|
405
|
-
/* MaybeTag.Nothing */
|
|
406
|
-
:
|
|
318
|
+
case "Nothing" /* MaybeTag.Nothing */:
|
|
407
319
|
{
|
|
408
320
|
switch (self_1._tag) {
|
|
409
|
-
case "Both"
|
|
410
|
-
/* CauseTag.
|
|
411
|
-
:
|
|
412
|
-
case "Then"
|
|
413
|
-
/* CauseTag.Then */
|
|
414
|
-
:
|
|
321
|
+
case "Both" /* CauseTag.Both */:
|
|
322
|
+
case "Then" /* CauseTag.Then */:
|
|
415
323
|
{
|
|
416
324
|
self_2 = self_1.left;
|
|
417
325
|
f_2 = f_1;
|
|
@@ -421,7 +329,6 @@ function findLoop(self, f, stack) {
|
|
|
421
329
|
stack_1 = stack_2;
|
|
422
330
|
continue;
|
|
423
331
|
}
|
|
424
|
-
|
|
425
332
|
default:
|
|
426
333
|
{
|
|
427
334
|
if (tsplus_module_14.isNonEmpty(stack_1)) {
|
|
@@ -433,15 +340,11 @@ function findLoop(self, f, stack) {
|
|
|
433
340
|
stack_1 = stack_2;
|
|
434
341
|
continue;
|
|
435
342
|
}
|
|
436
|
-
|
|
437
343
|
return tsplus_module_5.nothing();
|
|
438
344
|
}
|
|
439
345
|
}
|
|
440
346
|
}
|
|
441
|
-
|
|
442
|
-
case "Just"
|
|
443
|
-
/* MaybeTag.Just */
|
|
444
|
-
:
|
|
347
|
+
case "Just" /* MaybeTag.Just */:
|
|
445
348
|
{
|
|
446
349
|
return r;
|
|
447
350
|
}
|
|
@@ -453,8 +356,6 @@ function findLoop(self, f, stack) {
|
|
|
453
356
|
*
|
|
454
357
|
* @tsplus pipeable fncts.Cause find
|
|
455
358
|
*/
|
|
456
|
-
|
|
457
|
-
|
|
458
359
|
function find_1(f) {
|
|
459
360
|
return self => {
|
|
460
361
|
return findLoop(self, f, tsplus_module_6.nil());
|
|
@@ -463,51 +364,39 @@ function find_1(f) {
|
|
|
463
364
|
/**
|
|
464
365
|
* @tsplus getter fncts.Cause flatten
|
|
465
366
|
*/
|
|
466
|
-
|
|
467
|
-
|
|
468
367
|
function flatten(self) {
|
|
469
368
|
return flatMap_1(_function.identity)(self);
|
|
470
369
|
}
|
|
471
|
-
|
|
472
370
|
class FCEStackFrameDone {
|
|
473
371
|
constructor() {
|
|
474
372
|
this._tag = "FCEStackFrameDone";
|
|
475
373
|
}
|
|
476
|
-
|
|
477
374
|
}
|
|
478
|
-
|
|
479
375
|
class FCEStackFrameThenLeft {
|
|
480
376
|
constructor(cause) {
|
|
481
377
|
this.cause = cause;
|
|
482
378
|
this._tag = "FCEStackFrameThenLeft";
|
|
483
379
|
}
|
|
484
|
-
|
|
485
380
|
}
|
|
486
|
-
|
|
487
381
|
class FCEStackFrameThenRight {
|
|
488
382
|
constructor(cause, leftResult) {
|
|
489
383
|
this.cause = cause;
|
|
490
384
|
this.leftResult = leftResult;
|
|
491
385
|
this._tag = "FCEStackFrameThenRight";
|
|
492
386
|
}
|
|
493
|
-
|
|
494
387
|
}
|
|
495
|
-
|
|
496
388
|
class FCEStackFrameBothLeft {
|
|
497
389
|
constructor(cause) {
|
|
498
390
|
this.cause = cause;
|
|
499
391
|
this._tag = "FCEStackFrameBothLeft";
|
|
500
392
|
}
|
|
501
|
-
|
|
502
393
|
}
|
|
503
|
-
|
|
504
394
|
class FCEStackFrameBothRight {
|
|
505
395
|
constructor(cause, leftResult) {
|
|
506
396
|
this.cause = cause;
|
|
507
397
|
this.leftResult = leftResult;
|
|
508
398
|
this._tag = "FCEStackFrameBothRight";
|
|
509
399
|
}
|
|
510
|
-
|
|
511
400
|
}
|
|
512
401
|
/**
|
|
513
402
|
* Converts the specified `Cause<Either<E, A>>` to an `Either<Cause<E>, A>` by
|
|
@@ -515,159 +404,114 @@ class FCEStackFrameBothRight {
|
|
|
515
404
|
*
|
|
516
405
|
* @tsplus getter fncts.Cause flipCauseEither
|
|
517
406
|
*/
|
|
518
|
-
|
|
519
|
-
|
|
520
407
|
function flipCauseEither(self) {
|
|
521
408
|
const stack = tsplus_module_16.makeStack();
|
|
522
409
|
stack.push(new FCEStackFrameDone());
|
|
523
410
|
let result;
|
|
524
411
|
let c = self;
|
|
525
|
-
|
|
526
412
|
recursion: while (stack.hasNext) {
|
|
527
413
|
// eslint-disable-next-line no-constant-condition
|
|
528
414
|
pushing: while (true) {
|
|
529
415
|
switch (c._tag) {
|
|
530
|
-
case "Empty"
|
|
531
|
-
/* CauseTag.Empty */
|
|
532
|
-
:
|
|
416
|
+
case "Empty" /* CauseTag.Empty */:
|
|
533
417
|
result = tsplus_module_10.left(empty_1());
|
|
534
418
|
break pushing;
|
|
535
|
-
|
|
536
|
-
case "Interrupt"
|
|
537
|
-
/* CauseTag.Interrupt */
|
|
538
|
-
:
|
|
419
|
+
case "Interrupt" /* CauseTag.Interrupt */:
|
|
539
420
|
result = tsplus_module_10.left(interrupt_1(c.id, c.trace));
|
|
540
421
|
break pushing;
|
|
541
|
-
|
|
542
|
-
case "Halt"
|
|
543
|
-
/* CauseTag.Halt */
|
|
544
|
-
:
|
|
422
|
+
case "Halt" /* CauseTag.Halt */:
|
|
545
423
|
result = tsplus_module_10.left(c);
|
|
546
424
|
break pushing;
|
|
547
|
-
|
|
548
|
-
case "Fail"
|
|
549
|
-
/* CauseTag.Fail */
|
|
550
|
-
:
|
|
425
|
+
case "Fail" /* CauseTag.Fail */:
|
|
551
426
|
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);
|
|
552
427
|
break pushing;
|
|
553
|
-
|
|
554
|
-
case "Then"
|
|
555
|
-
/* CauseTag.Then */
|
|
556
|
-
:
|
|
428
|
+
case "Then" /* CauseTag.Then */:
|
|
557
429
|
stack.push(new FCEStackFrameThenLeft(c));
|
|
558
430
|
c = c.left;
|
|
559
431
|
continue pushing;
|
|
560
|
-
|
|
561
|
-
case "Both"
|
|
562
|
-
/* CauseTag.Both */
|
|
563
|
-
:
|
|
432
|
+
case "Both" /* CauseTag.Both */:
|
|
564
433
|
stack.push(new FCEStackFrameBothLeft(c));
|
|
565
434
|
c = c.left;
|
|
566
435
|
continue pushing;
|
|
567
436
|
}
|
|
568
|
-
}
|
|
569
|
-
|
|
570
|
-
|
|
437
|
+
}
|
|
438
|
+
// eslint-disable-next-line no-constant-condition
|
|
571
439
|
popping: while (true) {
|
|
572
440
|
const top = stack.pop();
|
|
573
|
-
|
|
574
441
|
switch (top._tag) {
|
|
575
442
|
case "FCEStackFrameDone":
|
|
576
443
|
return result;
|
|
577
|
-
|
|
578
444
|
case "FCEStackFrameThenLeft":
|
|
579
445
|
c = top.cause.right;
|
|
580
446
|
stack.push(new FCEStackFrameThenRight(top.cause, result));
|
|
581
447
|
continue recursion;
|
|
582
|
-
|
|
583
448
|
case "FCEStackFrameThenRight":
|
|
584
449
|
{
|
|
585
450
|
const l = top.leftResult;
|
|
586
|
-
|
|
587
451
|
if (tsplus_module_18.isLeft(l) && tsplus_module_18.isLeft(result)) {
|
|
588
452
|
result = tsplus_module_10.left(then_1(l.left, result.left));
|
|
589
453
|
}
|
|
590
|
-
|
|
591
454
|
if (tsplus_module_18.isRight(l)) {
|
|
592
455
|
result = tsplus_module_10.right(l.right);
|
|
593
456
|
}
|
|
594
|
-
|
|
595
457
|
if (tsplus_module_18.isRight(result)) {
|
|
596
458
|
result = tsplus_module_10.right(result.right);
|
|
597
459
|
}
|
|
598
|
-
|
|
599
460
|
continue popping;
|
|
600
461
|
}
|
|
601
|
-
|
|
602
462
|
case "FCEStackFrameBothLeft":
|
|
603
463
|
c = top.cause.right;
|
|
604
464
|
stack.push(new FCEStackFrameBothRight(top.cause, result));
|
|
605
465
|
continue recursion;
|
|
606
|
-
|
|
607
466
|
case "FCEStackFrameBothRight":
|
|
608
467
|
{
|
|
609
468
|
const l = top.leftResult;
|
|
610
|
-
|
|
611
469
|
if (tsplus_module_18.isLeft(l) && tsplus_module_18.isLeft(result)) {
|
|
612
470
|
result = tsplus_module_10.left(both_1(l.left, result.left));
|
|
613
471
|
}
|
|
614
|
-
|
|
615
472
|
if (tsplus_module_18.isRight(l)) {
|
|
616
473
|
result = tsplus_module_10.right(l.right);
|
|
617
474
|
}
|
|
618
|
-
|
|
619
475
|
if (tsplus_module_18.isRight(result)) {
|
|
620
476
|
result = tsplus_module_10.right(result.right);
|
|
621
477
|
}
|
|
622
|
-
|
|
623
478
|
continue popping;
|
|
624
479
|
}
|
|
625
480
|
}
|
|
626
481
|
}
|
|
627
482
|
}
|
|
628
|
-
|
|
629
483
|
throw new Error("Bug");
|
|
630
484
|
}
|
|
631
|
-
|
|
632
485
|
class FCOStackFrameDone {
|
|
633
486
|
constructor() {
|
|
634
487
|
this._tag = "FCOStackFrameDone";
|
|
635
488
|
}
|
|
636
|
-
|
|
637
489
|
}
|
|
638
|
-
|
|
639
490
|
class FCOStackFrameThenLeft {
|
|
640
491
|
constructor(cause) {
|
|
641
492
|
this.cause = cause;
|
|
642
493
|
this._tag = "FCOStackFrameThenLeft";
|
|
643
494
|
}
|
|
644
|
-
|
|
645
495
|
}
|
|
646
|
-
|
|
647
496
|
class FCOStackFrameThenRight {
|
|
648
497
|
constructor(cause, leftResult) {
|
|
649
498
|
this.cause = cause;
|
|
650
499
|
this.leftResult = leftResult;
|
|
651
500
|
this._tag = "FCOStackFrameThenRight";
|
|
652
501
|
}
|
|
653
|
-
|
|
654
502
|
}
|
|
655
|
-
|
|
656
503
|
class FCOStackFrameBothLeft {
|
|
657
504
|
constructor(cause) {
|
|
658
505
|
this.cause = cause;
|
|
659
506
|
this._tag = "FCOStackFrameBothLeft";
|
|
660
507
|
}
|
|
661
|
-
|
|
662
508
|
}
|
|
663
|
-
|
|
664
509
|
class FCOStackFrameBothRight {
|
|
665
510
|
constructor(cause, leftResult) {
|
|
666
511
|
this.cause = cause;
|
|
667
512
|
this.leftResult = leftResult;
|
|
668
513
|
this._tag = "FCOStackFrameBothRight";
|
|
669
514
|
}
|
|
670
|
-
|
|
671
515
|
}
|
|
672
516
|
/**
|
|
673
517
|
* Converts the specified `Cause<Maybe<A>>` to an `Maybe<Cause<A>>` by
|
|
@@ -675,119 +519,84 @@ class FCOStackFrameBothRight {
|
|
|
675
519
|
*
|
|
676
520
|
* @tsplus getter fncts.Cause flipCauseMaybe
|
|
677
521
|
*/
|
|
678
|
-
|
|
679
|
-
|
|
680
522
|
function flipCauseOption(self) {
|
|
681
523
|
const stack = tsplus_module_16.makeStack();
|
|
682
524
|
stack.push(new FCOStackFrameDone());
|
|
683
525
|
let result;
|
|
684
526
|
let c = self;
|
|
685
|
-
|
|
686
527
|
recursion: while (stack.hasNext) {
|
|
687
528
|
// eslint-disable-next-line no-constant-condition
|
|
688
529
|
pushing: while (true) {
|
|
689
530
|
switch (c._tag) {
|
|
690
|
-
case "Empty"
|
|
691
|
-
/* CauseTag.Empty */
|
|
692
|
-
:
|
|
531
|
+
case "Empty" /* CauseTag.Empty */:
|
|
693
532
|
result = tsplus_module_5.just(empty_1());
|
|
694
533
|
break pushing;
|
|
695
|
-
|
|
696
|
-
case "Interrupt"
|
|
697
|
-
/* CauseTag.Interrupt */
|
|
698
|
-
:
|
|
534
|
+
case "Interrupt" /* CauseTag.Interrupt */:
|
|
699
535
|
result = tsplus_module_5.just(interrupt_1(c.id, tsplus_module_8.none));
|
|
700
536
|
break pushing;
|
|
701
|
-
|
|
702
|
-
case "Halt"
|
|
703
|
-
/* CauseTag.Halt */
|
|
704
|
-
:
|
|
537
|
+
case "Halt" /* CauseTag.Halt */:
|
|
705
538
|
result = tsplus_module_5.just(c);
|
|
706
539
|
break pushing;
|
|
707
|
-
|
|
708
|
-
case "Fail"
|
|
709
|
-
/* CauseTag.Fail */
|
|
710
|
-
:
|
|
540
|
+
case "Fail" /* CauseTag.Fail */:
|
|
711
541
|
result = tsplus_module_9.match(() => tsplus_module_5.nothing(), r => tsplus_module_5.just(fail_1(r, tsplus_module_8.none)))(c.value);
|
|
712
542
|
break pushing;
|
|
713
|
-
|
|
714
|
-
case "Then"
|
|
715
|
-
/* CauseTag.Then */
|
|
716
|
-
:
|
|
543
|
+
case "Then" /* CauseTag.Then */:
|
|
717
544
|
stack.push(new FCOStackFrameThenLeft(c));
|
|
718
545
|
c = c.left;
|
|
719
546
|
continue pushing;
|
|
720
|
-
|
|
721
|
-
case "Both"
|
|
722
|
-
/* CauseTag.Both */
|
|
723
|
-
:
|
|
547
|
+
case "Both" /* CauseTag.Both */:
|
|
724
548
|
stack.push(new FCOStackFrameBothLeft(c));
|
|
725
549
|
c = c.left;
|
|
726
550
|
continue pushing;
|
|
727
551
|
}
|
|
728
|
-
}
|
|
729
|
-
|
|
730
|
-
|
|
552
|
+
}
|
|
553
|
+
// eslint-disable-next-line no-constant-condition
|
|
731
554
|
popping: while (true) {
|
|
732
555
|
const top = stack.pop();
|
|
733
|
-
|
|
734
556
|
switch (top._tag) {
|
|
735
557
|
case "FCOStackFrameDone":
|
|
736
558
|
return result;
|
|
737
|
-
|
|
738
559
|
case "FCOStackFrameThenLeft":
|
|
739
560
|
c = top.cause.right;
|
|
740
561
|
stack.push(new FCOStackFrameThenRight(top.cause, result));
|
|
741
562
|
continue recursion;
|
|
742
|
-
|
|
743
563
|
case "FCOStackFrameThenRight":
|
|
744
564
|
{
|
|
745
565
|
const l = top.leftResult;
|
|
746
|
-
|
|
747
566
|
if (tsplus_module_11.isJust(l) && tsplus_module_11.isJust(result)) {
|
|
748
567
|
result = tsplus_module_5.just(then_1(l.value, result.value));
|
|
749
568
|
}
|
|
750
|
-
|
|
751
569
|
if (tsplus_module_11.isNothing(l) && tsplus_module_11.isJust(result)) {
|
|
752
570
|
result = tsplus_module_5.just(result.value);
|
|
753
571
|
}
|
|
754
|
-
|
|
755
572
|
if (tsplus_module_11.isJust(l) && tsplus_module_11.isNothing(result)) {
|
|
756
573
|
result = tsplus_module_5.just(l.value);
|
|
757
574
|
}
|
|
758
|
-
|
|
759
575
|
result = tsplus_module_5.nothing();
|
|
760
576
|
continue popping;
|
|
761
577
|
}
|
|
762
|
-
|
|
763
578
|
case "FCOStackFrameBothLeft":
|
|
764
579
|
c = top.cause.right;
|
|
765
580
|
stack.push(new FCOStackFrameBothRight(top.cause, result));
|
|
766
581
|
continue recursion;
|
|
767
|
-
|
|
768
582
|
case "FCOStackFrameBothRight":
|
|
769
583
|
{
|
|
770
584
|
const l = top.leftResult;
|
|
771
|
-
|
|
772
585
|
if (tsplus_module_11.isJust(l) && tsplus_module_11.isJust(result)) {
|
|
773
586
|
result = tsplus_module_5.just(both_1(l.value, result.value));
|
|
774
587
|
}
|
|
775
|
-
|
|
776
588
|
if (tsplus_module_11.isNothing(l) && tsplus_module_11.isJust(result)) {
|
|
777
589
|
result = tsplus_module_5.just(result.value);
|
|
778
590
|
}
|
|
779
|
-
|
|
780
591
|
if (tsplus_module_11.isJust(l) && tsplus_module_11.isNothing(result)) {
|
|
781
592
|
result = tsplus_module_5.just(l.value);
|
|
782
593
|
}
|
|
783
|
-
|
|
784
594
|
result = tsplus_module_5.nothing();
|
|
785
595
|
continue popping;
|
|
786
596
|
}
|
|
787
597
|
}
|
|
788
598
|
}
|
|
789
599
|
}
|
|
790
|
-
|
|
791
600
|
throw new Error("Bug");
|
|
792
601
|
}
|
|
793
602
|
/**
|
|
@@ -795,8 +604,6 @@ function flipCauseOption(self) {
|
|
|
795
604
|
*
|
|
796
605
|
* @tsplus pipeable fncts.Cause foldLeft
|
|
797
606
|
*/
|
|
798
|
-
|
|
799
|
-
|
|
800
607
|
function foldLeft_1(b, f) {
|
|
801
608
|
return self => {
|
|
802
609
|
return foldLeftLoop(self, b, f, tsplus_module_6.nil());
|
|
@@ -806,28 +613,20 @@ function foldLeft_1(b, f) {
|
|
|
806
613
|
* @internal
|
|
807
614
|
* @tsplus tailRec
|
|
808
615
|
*/
|
|
809
|
-
|
|
810
|
-
|
|
811
616
|
function foldLeftLoop(self, b, f, stack) {
|
|
812
617
|
var self_3 = self,
|
|
813
|
-
|
|
814
|
-
|
|
815
|
-
|
|
618
|
+
b_1 = b,
|
|
619
|
+
f_3 = f,
|
|
620
|
+
stack_3 = stack;
|
|
816
621
|
var self_4 = self,
|
|
817
|
-
|
|
818
|
-
|
|
819
|
-
|
|
820
|
-
|
|
622
|
+
b_2 = b,
|
|
623
|
+
f_4 = f,
|
|
624
|
+
stack_4 = stack;
|
|
821
625
|
while (1) {
|
|
822
626
|
const z = tsplus_module_12.getOrElse(() => b_1)(f_3(b_1, self_3));
|
|
823
|
-
|
|
824
627
|
switch (self_3._tag) {
|
|
825
|
-
case "Both"
|
|
826
|
-
/* CauseTag.
|
|
827
|
-
:
|
|
828
|
-
case "Then"
|
|
829
|
-
/* CauseTag.Then */
|
|
830
|
-
:
|
|
628
|
+
case "Both" /* CauseTag.Both */:
|
|
629
|
+
case "Then" /* CauseTag.Then */:
|
|
831
630
|
{
|
|
832
631
|
self_4 = self_3.left;
|
|
833
632
|
b_2 = z;
|
|
@@ -839,7 +638,6 @@ function foldLeftLoop(self, b, f, stack) {
|
|
|
839
638
|
stack_3 = stack_4;
|
|
840
639
|
continue;
|
|
841
640
|
}
|
|
842
|
-
|
|
843
641
|
default:
|
|
844
642
|
{
|
|
845
643
|
if (tsplus_module_14.isNonEmpty(stack_3)) {
|
|
@@ -853,7 +651,6 @@ function foldLeftLoop(self, b, f, stack) {
|
|
|
853
651
|
stack_3 = stack_4;
|
|
854
652
|
continue;
|
|
855
653
|
}
|
|
856
|
-
|
|
857
654
|
return z;
|
|
858
655
|
}
|
|
859
656
|
}
|
|
@@ -865,8 +662,6 @@ function foldLeftLoop(self, b, f, stack) {
|
|
|
865
662
|
* @tsplus static fncts.CauseOps halt
|
|
866
663
|
* @tsplus static fncts.Cause.HaltOps __call
|
|
867
664
|
*/
|
|
868
|
-
|
|
869
|
-
|
|
870
665
|
function halt_1(value, trace = tsplus_module_8.none) {
|
|
871
666
|
return new _definition3.Halt(value, trace);
|
|
872
667
|
}
|
|
@@ -875,8 +670,6 @@ function halt_1(value, trace = tsplus_module_8.none) {
|
|
|
875
670
|
*
|
|
876
671
|
* @tsplus getter fncts.Cause halted
|
|
877
672
|
*/
|
|
878
|
-
|
|
879
|
-
|
|
880
673
|
function halted_1(self) {
|
|
881
674
|
return tsplus_module_9.match(() => false, () => true)(haltMaybe_1(self));
|
|
882
675
|
}
|
|
@@ -885,12 +678,8 @@ function halted_1(self) {
|
|
|
885
678
|
*
|
|
886
679
|
* @tsplus getter fncts.Cause haltMaybe
|
|
887
680
|
*/
|
|
888
|
-
|
|
889
|
-
|
|
890
681
|
function haltMaybe_1(self) {
|
|
891
|
-
return find_1(c => c._tag === "Halt"
|
|
892
|
-
/* CauseTag.Halt */
|
|
893
|
-
? tsplus_module_5.just(c.value) : tsplus_module_5.nothing())(self);
|
|
682
|
+
return find_1(c => c._tag === "Halt" /* CauseTag.Halt */ ? tsplus_module_5.just(c.value) : tsplus_module_5.nothing())(self);
|
|
894
683
|
}
|
|
895
684
|
/**
|
|
896
685
|
* Constructs a `Cause` from an `Id`, representing an interruption of asynchronous computation
|
|
@@ -898,8 +687,6 @@ function haltMaybe_1(self) {
|
|
|
898
687
|
* @tsplus static fncts.CauseOps interrupt
|
|
899
688
|
* @tsplus static fncts.Cause.InterruptOps __call
|
|
900
689
|
*/
|
|
901
|
-
|
|
902
|
-
|
|
903
690
|
function interrupt_1(id, trace = tsplus_module_8.none) {
|
|
904
691
|
return new _definition3.Interrupt(id, trace);
|
|
905
692
|
}
|
|
@@ -908,66 +695,44 @@ function interrupt_1(id, trace = tsplus_module_8.none) {
|
|
|
908
695
|
*
|
|
909
696
|
* @tsplus fluent fncts.Cause isBoth
|
|
910
697
|
*/
|
|
911
|
-
|
|
912
|
-
|
|
913
698
|
function isBoth(self) {
|
|
914
|
-
return self._tag === "Both"
|
|
915
|
-
/* CauseTag.Both */
|
|
916
|
-
;
|
|
699
|
+
return self._tag === "Both" /* CauseTag.Both */;
|
|
917
700
|
}
|
|
918
701
|
/**
|
|
919
702
|
* A type-guard matching `Fail`
|
|
920
703
|
*
|
|
921
704
|
* @tsplus fluent fncts.Cause isFail
|
|
922
705
|
*/
|
|
923
|
-
|
|
924
|
-
|
|
925
706
|
function isFail_1(self) {
|
|
926
|
-
return self._tag === "Fail"
|
|
927
|
-
/* CauseTag.Fail */
|
|
928
|
-
;
|
|
707
|
+
return self._tag === "Fail" /* CauseTag.Fail */;
|
|
929
708
|
}
|
|
930
709
|
/**
|
|
931
710
|
* @tsplus fluent fncts.Cause isHalt
|
|
932
711
|
*/
|
|
933
|
-
|
|
934
|
-
|
|
935
712
|
function isHalt_1(self) {
|
|
936
|
-
return self._tag === "Halt"
|
|
937
|
-
/* CauseTag.Halt */
|
|
938
|
-
;
|
|
713
|
+
return self._tag === "Halt" /* CauseTag.Halt */;
|
|
939
714
|
}
|
|
940
715
|
/**
|
|
941
716
|
* A type-guard matching `Then`
|
|
942
717
|
*
|
|
943
718
|
* @tsplus fluent fncts.Cause isThen
|
|
944
719
|
*/
|
|
945
|
-
|
|
946
|
-
|
|
947
720
|
function isThen(self) {
|
|
948
|
-
return self._tag === "Then"
|
|
949
|
-
/* CauseTag.Then */
|
|
950
|
-
;
|
|
721
|
+
return self._tag === "Then" /* CauseTag.Then */;
|
|
951
722
|
}
|
|
952
723
|
/**
|
|
953
724
|
* A type-guard matching `Interrupt`
|
|
954
725
|
*
|
|
955
726
|
* @tsplus fluent fncts.Cause isInterrupt
|
|
956
727
|
*/
|
|
957
|
-
|
|
958
|
-
|
|
959
728
|
function isInterrupt_1(self) {
|
|
960
|
-
return self._tag === "Interrupt"
|
|
961
|
-
/* CauseTag.Interrupt */
|
|
962
|
-
;
|
|
729
|
+
return self._tag === "Interrupt" /* CauseTag.Interrupt */;
|
|
963
730
|
}
|
|
964
731
|
/**
|
|
965
732
|
* Determines if the `Cause` contains an interruption.
|
|
966
733
|
*
|
|
967
734
|
* @tsplus getter fncts.Cause isInterrupted
|
|
968
735
|
*/
|
|
969
|
-
|
|
970
|
-
|
|
971
736
|
function isInterrupted_1(self) {
|
|
972
737
|
return tsplus_module_11.isJust(find_1(cause => isInterrupt_1(cause) ? tsplus_module_5.just(cause) : tsplus_module_5.nothing())(self));
|
|
973
738
|
}
|
|
@@ -976,22 +741,13 @@ function isInterrupted_1(self) {
|
|
|
976
741
|
*
|
|
977
742
|
* @tsplus getter fncts.Cause isTraced
|
|
978
743
|
*/
|
|
979
|
-
|
|
980
|
-
|
|
981
744
|
function isTraced(self) {
|
|
982
745
|
return tsplus_module_11.isJust(find_1(cause => {
|
|
983
746
|
switch (cause._tag) {
|
|
984
|
-
case "Halt"
|
|
985
|
-
/* CauseTag.
|
|
986
|
-
|
|
987
|
-
case "Fail"
|
|
988
|
-
/* CauseTag.Fail */
|
|
989
|
-
:
|
|
990
|
-
case "Interrupt"
|
|
991
|
-
/* CauseTag.Interrupt */
|
|
992
|
-
:
|
|
747
|
+
case "Halt" /* CauseTag.Halt */:
|
|
748
|
+
case "Fail" /* CauseTag.Fail */:
|
|
749
|
+
case "Interrupt" /* CauseTag.Interrupt */:
|
|
993
750
|
return cause.trace !== tsplus_module_8.none ? tsplus_module_5.just(undefined) : tsplus_module_5.nothing();
|
|
994
|
-
|
|
995
751
|
default:
|
|
996
752
|
return tsplus_module_5.nothing();
|
|
997
753
|
}
|
|
@@ -1002,8 +758,6 @@ function isTraced(self) {
|
|
|
1002
758
|
*
|
|
1003
759
|
* @tsplus getter fncts.Cause interrupted
|
|
1004
760
|
*/
|
|
1005
|
-
|
|
1006
|
-
|
|
1007
761
|
function interrupted(self) {
|
|
1008
762
|
return tsplus_module_9.match(() => false, () => true)(interruptOption_1(self));
|
|
1009
763
|
}
|
|
@@ -1012,12 +766,8 @@ function interrupted(self) {
|
|
|
1012
766
|
*
|
|
1013
767
|
* @tsplus getter fncts.Cause interruptOption
|
|
1014
768
|
*/
|
|
1015
|
-
|
|
1016
|
-
|
|
1017
769
|
function interruptOption_1(self) {
|
|
1018
|
-
return find_1(c => c._tag === "Interrupt"
|
|
1019
|
-
/* CauseTag.Interrupt */
|
|
1020
|
-
? tsplus_module_5.just(c.id) : tsplus_module_5.nothing())(self);
|
|
770
|
+
return find_1(c => c._tag === "Interrupt" /* CauseTag.Interrupt */ ? tsplus_module_5.just(c.id) : tsplus_module_5.nothing())(self);
|
|
1021
771
|
}
|
|
1022
772
|
/**
|
|
1023
773
|
* Returns a set of interruptors, fibers that interrupted the fiber described
|
|
@@ -1025,12 +775,8 @@ function interruptOption_1(self) {
|
|
|
1025
775
|
*
|
|
1026
776
|
* @tsplus getter fncts.Cause interruptors
|
|
1027
777
|
*/
|
|
1028
|
-
|
|
1029
|
-
|
|
1030
778
|
function interruptors_1(self) {
|
|
1031
|
-
return foldLeft_1(tsplus_module_19.
|
|
1032
|
-
/* CauseTag.Interrupt */
|
|
1033
|
-
? tsplus_module_5.just(tsplus_module_19.add(c.id)(s)) : tsplus_module_5.nothing())(self);
|
|
779
|
+
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);
|
|
1034
780
|
}
|
|
1035
781
|
/**
|
|
1036
782
|
* Determines if the `Cause` contains only interruptions and not any `Halt` or
|
|
@@ -1038,8 +784,6 @@ function interruptors_1(self) {
|
|
|
1038
784
|
*
|
|
1039
785
|
* @tsplus getter fncts.Cause interruptedOnly
|
|
1040
786
|
*/
|
|
1041
|
-
|
|
1042
|
-
|
|
1043
787
|
function interruptedOnly(self) {
|
|
1044
788
|
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));
|
|
1045
789
|
}
|
|
@@ -1049,8 +793,6 @@ function interruptedOnly(self) {
|
|
|
1049
793
|
*
|
|
1050
794
|
* @tsplus getter fncts.Cause keepDefects
|
|
1051
795
|
*/
|
|
1052
|
-
|
|
1053
|
-
|
|
1054
796
|
function keepDefects(self) {
|
|
1055
797
|
return tsplus_module_13.fold({
|
|
1056
798
|
Empty: () => tsplus_module_5.nothing(),
|
|
@@ -1085,8 +827,6 @@ function keepDefects(self) {
|
|
|
1085
827
|
/**
|
|
1086
828
|
* @tsplus pipeable fncts.Cause map
|
|
1087
829
|
*/
|
|
1088
|
-
|
|
1089
|
-
|
|
1090
830
|
function map_1(f) {
|
|
1091
831
|
return self => {
|
|
1092
832
|
return flatMap_1(e => fail_1(f(e), tsplus_module_8.none))(self);
|
|
@@ -1095,8 +835,6 @@ function map_1(f) {
|
|
|
1095
835
|
/**
|
|
1096
836
|
* @tsplus pipeable fncts.Cause mapTrace
|
|
1097
837
|
*/
|
|
1098
|
-
|
|
1099
|
-
|
|
1100
838
|
function mapTrace_1(f) {
|
|
1101
839
|
return self => {
|
|
1102
840
|
return tsplus_module_13.fold({
|
|
@@ -1114,8 +852,6 @@ function mapTrace_1(f) {
|
|
|
1114
852
|
* @tsplus static fncts.CauseOps stackless
|
|
1115
853
|
* @tsplus static fncts.Cause.StacklessOps __call
|
|
1116
854
|
*/
|
|
1117
|
-
|
|
1118
|
-
|
|
1119
855
|
function stackless_1(cause, stackless) {
|
|
1120
856
|
return new _definition3.Stackless(cause, stackless);
|
|
1121
857
|
}
|
|
@@ -1124,8 +860,6 @@ function stackless_1(cause, stackless) {
|
|
|
1124
860
|
*
|
|
1125
861
|
* @tsplus getter fncts.Cause stripFailures
|
|
1126
862
|
*/
|
|
1127
|
-
|
|
1128
|
-
|
|
1129
863
|
function stripFailures(self) {
|
|
1130
864
|
return tsplus_module_13.fold({
|
|
1131
865
|
Empty: () => empty_1(),
|
|
@@ -1144,8 +878,6 @@ function stripFailures(self) {
|
|
|
1144
878
|
*
|
|
1145
879
|
* @tsplus pipeable fncts.Cause stripSomeDefects
|
|
1146
880
|
*/
|
|
1147
|
-
|
|
1148
|
-
|
|
1149
881
|
function stripSomeDefects(p) {
|
|
1150
882
|
return self => {
|
|
1151
883
|
return tsplus_module_13.fold({
|
|
@@ -1159,70 +891,41 @@ function stripSomeDefects(p) {
|
|
|
1159
891
|
})(self);
|
|
1160
892
|
};
|
|
1161
893
|
}
|
|
1162
|
-
|
|
1163
894
|
function sequenceCauseEitherEval(self) {
|
|
1164
895
|
switch (self._tag) {
|
|
1165
|
-
case "Empty"
|
|
1166
|
-
/* CauseTag.Empty */
|
|
1167
|
-
:
|
|
896
|
+
case "Empty" /* CauseTag.Empty */:
|
|
1168
897
|
{
|
|
1169
898
|
return tsplus_module_1.now(tsplus_module_10.left(empty_1()));
|
|
1170
899
|
}
|
|
1171
|
-
|
|
1172
|
-
case "Interrupt"
|
|
1173
|
-
/* CauseTag.Interrupt */
|
|
1174
|
-
:
|
|
900
|
+
case "Interrupt" /* CauseTag.Interrupt */:
|
|
1175
901
|
{
|
|
1176
902
|
return tsplus_module_1.now(tsplus_module_10.left(self));
|
|
1177
903
|
}
|
|
1178
|
-
|
|
1179
|
-
case "Fail"
|
|
1180
|
-
/* CauseTag.Fail */
|
|
1181
|
-
:
|
|
904
|
+
case "Fail" /* CauseTag.Fail */:
|
|
1182
905
|
{
|
|
1183
906
|
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));
|
|
1184
907
|
}
|
|
1185
|
-
|
|
1186
|
-
case "Halt"
|
|
1187
|
-
/* CauseTag.Halt */
|
|
1188
|
-
:
|
|
908
|
+
case "Halt" /* CauseTag.Halt */:
|
|
1189
909
|
{
|
|
1190
910
|
return tsplus_module_1.now(tsplus_module_10.left(self));
|
|
1191
911
|
}
|
|
1192
|
-
|
|
1193
|
-
case "Then"
|
|
1194
|
-
/* CauseTag.Then */
|
|
1195
|
-
:
|
|
912
|
+
case "Then" /* CauseTag.Then */:
|
|
1196
913
|
{
|
|
1197
914
|
return tsplus_module_2.zipWith(tsplus_module_1.defer(() => sequenceCauseEitherEval(self.right)), (lefts, rights) => {
|
|
1198
915
|
void 0;
|
|
1199
916
|
void 0;
|
|
1200
|
-
return lefts._tag === "Left"
|
|
1201
|
-
/* EitherTag.Left */
|
|
1202
|
-
? rights._tag === "Right"
|
|
1203
|
-
/* EitherTag.Right */
|
|
1204
|
-
? tsplus_module_10.right(rights.right) : tsplus_module_10.left(then_1(lefts.left, rights.left)) : tsplus_module_10.right(lefts.right);
|
|
917
|
+
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);
|
|
1205
918
|
})(tsplus_module_1.defer(() => sequenceCauseEitherEval(self.left)));
|
|
1206
919
|
}
|
|
1207
|
-
|
|
1208
|
-
case "Both"
|
|
1209
|
-
/* CauseTag.Both */
|
|
1210
|
-
:
|
|
920
|
+
case "Both" /* CauseTag.Both */:
|
|
1211
921
|
{
|
|
1212
922
|
return tsplus_module_2.zipWith(tsplus_module_1.defer(() => sequenceCauseEitherEval(self.right)), (lefts, rights) => {
|
|
1213
923
|
void 0;
|
|
1214
924
|
void 0;
|
|
1215
|
-
return lefts._tag === "Left"
|
|
1216
|
-
/* EitherTag.Left */
|
|
1217
|
-
? rights._tag === "Right"
|
|
1218
|
-
/* EitherTag.Right */
|
|
1219
|
-
? tsplus_module_10.right(rights.right) : tsplus_module_10.left(both_1(lefts.left, rights.left)) : tsplus_module_10.right(lefts.right);
|
|
925
|
+
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);
|
|
1220
926
|
})(tsplus_module_1.defer(() => sequenceCauseEitherEval(self.left)));
|
|
1221
927
|
}
|
|
1222
|
-
|
|
1223
|
-
case "Stackless"
|
|
1224
|
-
/* CauseTag.Stackless */
|
|
1225
|
-
:
|
|
928
|
+
case "Stackless" /* CauseTag.Stackless */:
|
|
1226
929
|
{
|
|
1227
930
|
return tsplus_module_2.map(_ => tsplus_module_18.mapLeft(cause => stackless_1(cause, self.stackless))(_))(tsplus_module_1.defer(() => sequenceCauseEitherEval(self.cause)));
|
|
1228
931
|
}
|
|
@@ -1233,79 +936,44 @@ function sequenceCauseEitherEval(self) {
|
|
|
1233
936
|
*
|
|
1234
937
|
* @tsplus getter fncts.Cause sequenceCauseEither
|
|
1235
938
|
*/
|
|
1236
|
-
|
|
1237
|
-
|
|
1238
939
|
function sequenceCauseEither(self) {
|
|
1239
940
|
return tsplus_module_4.run(sequenceCauseEitherEval(self));
|
|
1240
941
|
}
|
|
1241
|
-
|
|
1242
942
|
function sequenceCauseMaybeEval(self) {
|
|
1243
943
|
switch (self._tag) {
|
|
1244
|
-
case "Empty"
|
|
1245
|
-
/* CauseTag.Empty */
|
|
1246
|
-
:
|
|
944
|
+
case "Empty" /* CauseTag.Empty */:
|
|
1247
945
|
{
|
|
1248
946
|
return tsplus_module_1.now(tsplus_module_5.just(empty_1()));
|
|
1249
947
|
}
|
|
1250
|
-
|
|
1251
|
-
case "Interrupt"
|
|
1252
|
-
/* CauseTag.Interrupt */
|
|
1253
|
-
:
|
|
948
|
+
case "Interrupt" /* CauseTag.Interrupt */:
|
|
1254
949
|
{
|
|
1255
950
|
return tsplus_module_1.now(tsplus_module_5.just(self));
|
|
1256
951
|
}
|
|
1257
|
-
|
|
1258
|
-
case "Fail"
|
|
1259
|
-
/* CauseTag.Fail */
|
|
1260
|
-
:
|
|
952
|
+
case "Fail" /* CauseTag.Fail */:
|
|
1261
953
|
{
|
|
1262
954
|
return tsplus_module_1.now(tsplus_module_12.map(e => fail_1(e, tsplus_module_8.none))(self.value));
|
|
1263
955
|
}
|
|
1264
|
-
|
|
1265
|
-
case "Halt"
|
|
1266
|
-
/* CauseTag.Halt */
|
|
1267
|
-
:
|
|
956
|
+
case "Halt" /* CauseTag.Halt */:
|
|
1268
957
|
{
|
|
1269
958
|
return tsplus_module_1.now(tsplus_module_5.just(self));
|
|
1270
959
|
}
|
|
1271
|
-
|
|
1272
|
-
case "Then"
|
|
1273
|
-
/* CauseTag.Then */
|
|
1274
|
-
:
|
|
960
|
+
case "Then" /* CauseTag.Then */:
|
|
1275
961
|
{
|
|
1276
962
|
return tsplus_module_2.zipWith(tsplus_module_1.defer(() => sequenceCauseMaybeEval(self.right)), (lefts, rights) => {
|
|
1277
963
|
void 0;
|
|
1278
964
|
void 0;
|
|
1279
|
-
return lefts._tag === "Just"
|
|
1280
|
-
/* MaybeTag.Just */
|
|
1281
|
-
? rights._tag === "Just"
|
|
1282
|
-
/* MaybeTag.Just */
|
|
1283
|
-
? tsplus_module_5.just(then_1(lefts.value, rights.value)) : lefts : rights._tag === "Just"
|
|
1284
|
-
/* MaybeTag.Just */
|
|
1285
|
-
? rights : tsplus_module_5.nothing();
|
|
965
|
+
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();
|
|
1286
966
|
})(tsplus_module_1.defer(() => sequenceCauseMaybeEval(self.left)));
|
|
1287
967
|
}
|
|
1288
|
-
|
|
1289
|
-
case "Both"
|
|
1290
|
-
/* CauseTag.Both */
|
|
1291
|
-
:
|
|
968
|
+
case "Both" /* CauseTag.Both */:
|
|
1292
969
|
{
|
|
1293
970
|
return tsplus_module_2.zipWith(tsplus_module_1.defer(() => sequenceCauseMaybeEval(self.right)), (lefts, rights) => {
|
|
1294
971
|
void 0;
|
|
1295
972
|
void 0;
|
|
1296
|
-
return lefts._tag === "Just"
|
|
1297
|
-
/* MaybeTag.Just */
|
|
1298
|
-
? rights._tag === "Just"
|
|
1299
|
-
/* MaybeTag.Just */
|
|
1300
|
-
? tsplus_module_5.just(both_1(lefts.value, rights.value)) : lefts : rights._tag === "Just"
|
|
1301
|
-
/* MaybeTag.Just */
|
|
1302
|
-
? rights : tsplus_module_5.nothing();
|
|
973
|
+
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();
|
|
1303
974
|
})(tsplus_module_1.defer(() => sequenceCauseMaybeEval(self.left)));
|
|
1304
975
|
}
|
|
1305
|
-
|
|
1306
|
-
case "Stackless"
|
|
1307
|
-
/* CauseTag.Stackless */
|
|
1308
|
-
:
|
|
976
|
+
case "Stackless" /* CauseTag.Stackless */:
|
|
1309
977
|
{
|
|
1310
978
|
return tsplus_module_2.map(_ => tsplus_module_12.map(cause => stackless_1(cause, self.stackless))(_))(tsplus_module_1.defer(() => sequenceCauseMaybeEval(self.cause)));
|
|
1311
979
|
}
|
|
@@ -1316,8 +984,6 @@ function sequenceCauseMaybeEval(self) {
|
|
|
1316
984
|
*
|
|
1317
985
|
* @tsplus getter fncts.Cause sequenceCauseMaybe
|
|
1318
986
|
*/
|
|
1319
|
-
|
|
1320
|
-
|
|
1321
987
|
function sequenceCauseMaybe(self) {
|
|
1322
988
|
return tsplus_module_4.run(sequenceCauseMaybeEval(self));
|
|
1323
989
|
}
|
|
@@ -1327,11 +993,9 @@ function sequenceCauseMaybe(self) {
|
|
|
1327
993
|
*
|
|
1328
994
|
* @tsplus pipeable fncts.Cause squashWith
|
|
1329
995
|
*/
|
|
1330
|
-
|
|
1331
|
-
|
|
1332
996
|
function squashWith(f) {
|
|
1333
997
|
return self => {
|
|
1334
|
-
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.
|
|
998
|
+
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)))));
|
|
1335
999
|
};
|
|
1336
1000
|
}
|
|
1337
1001
|
/**
|
|
@@ -1342,8 +1006,6 @@ function squashWith(f) {
|
|
|
1342
1006
|
* @tsplus static fncts.CauseOps then
|
|
1343
1007
|
* @tsplus static fncts.Cause.ThenOps __call
|
|
1344
1008
|
*/
|
|
1345
|
-
|
|
1346
|
-
|
|
1347
1009
|
function then_1(left, right) {
|
|
1348
1010
|
return tsplus_module_3.isEmpty(left) ? right : tsplus_module_3.isEmpty(right) ? left : new _definition3.Then(left, right);
|
|
1349
1011
|
}
|
|
@@ -1355,8 +1017,6 @@ function then_1(left, right) {
|
|
|
1355
1017
|
* @tsplus static fncts.CauseOps traced
|
|
1356
1018
|
* @tsplus static fncts.Cause.TracedOps __call
|
|
1357
1019
|
*/
|
|
1358
|
-
|
|
1359
|
-
|
|
1360
1020
|
function traced_1(cause, trace) {
|
|
1361
1021
|
return mapTrace_1(t => tsplus_module_22.combine(trace)(t))(cause);
|
|
1362
1022
|
}
|
|
@@ -1365,8 +1025,6 @@ function traced_1(cause, trace) {
|
|
|
1365
1025
|
*
|
|
1366
1026
|
* @tsplus getter fncts.Cause untraced
|
|
1367
1027
|
*/
|
|
1368
|
-
|
|
1369
|
-
|
|
1370
1028
|
function untraced(self) {
|
|
1371
1029
|
return mapTrace_1(() => tsplus_module_8.none)(self);
|
|
1372
1030
|
}
|