@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
|
@@ -16,7 +16,6 @@ exports.drop = exports.concat = void 0;
|
|
|
16
16
|
exports.dropUntil = dropUntil;
|
|
17
17
|
exports.dropWhile = dropWhile;
|
|
18
18
|
exports.elem = elem;
|
|
19
|
-
exports.exists = void 0;
|
|
20
19
|
exports.filter = filter;
|
|
21
20
|
exports.filterWithIndex = exports.filterMapWithIndex = exports.filterMap = void 0;
|
|
22
21
|
exports.find = find;
|
|
@@ -44,7 +43,7 @@ exports.partitionWithIndex = exports.partitionMapWithIndex = exports.partitionMa
|
|
|
44
43
|
exports.prepend = prepend;
|
|
45
44
|
exports.reverse = reverse;
|
|
46
45
|
exports.separate = separate;
|
|
47
|
-
exports.splitAt = void 0;
|
|
46
|
+
exports.splitAt = exports.some = void 0;
|
|
48
47
|
exports.splitWhere = splitWhere;
|
|
49
48
|
exports.tail = tail;
|
|
50
49
|
exports.take = void 0;
|
|
@@ -58,37 +57,21 @@ exports.zip = zip;
|
|
|
58
57
|
exports.zipWith = void 0;
|
|
59
58
|
exports.zipWithIndex = zipWithIndex;
|
|
60
59
|
exports.zipWithIndexOffset = void 0;
|
|
61
|
-
|
|
62
60
|
var tsplus_module_1 = /*#__PURE__*/_interopRequireWildcard( /*#__PURE__*/require("@fncts/base/data/These/constructors"));
|
|
63
|
-
|
|
64
61
|
var tsplus_module_2 = /*#__PURE__*/_interopRequireWildcard( /*#__PURE__*/require("@fncts/base/collection/immutable/Conc/api/empty"));
|
|
65
|
-
|
|
66
62
|
var tsplus_module_3 = /*#__PURE__*/_interopRequireWildcard( /*#__PURE__*/require("@fncts/base/collection/immutable/Conc/constructors"));
|
|
67
|
-
|
|
68
63
|
var tsplus_module_4 = /*#__PURE__*/_interopRequireWildcard( /*#__PURE__*/require("@fncts/base/data/Maybe/destructors"));
|
|
69
|
-
|
|
70
64
|
var tsplus_module_5 = /*#__PURE__*/_interopRequireWildcard( /*#__PURE__*/require("@fncts/base/data/Maybe/definition"));
|
|
71
|
-
|
|
72
65
|
var tsplus_module_6 = /*#__PURE__*/_interopRequireWildcard( /*#__PURE__*/require("@fncts/base/data/Maybe/constructors"));
|
|
73
|
-
|
|
74
66
|
var tsplus_module_7 = /*#__PURE__*/_interopRequireWildcard( /*#__PURE__*/require("@fncts/base/internal/Stack"));
|
|
75
|
-
|
|
76
67
|
var tsplus_module_8 = /*#__PURE__*/_interopRequireWildcard( /*#__PURE__*/require("@fncts/base/data/Either/destructors"));
|
|
77
|
-
|
|
78
68
|
var tsplus_module_9 = /*#__PURE__*/_interopRequireWildcard( /*#__PURE__*/require("@fncts/base/collection/Iterable/constructors"));
|
|
79
|
-
|
|
80
69
|
var tsplus_module_10 = /*#__PURE__*/_interopRequireWildcard( /*#__PURE__*/require("@fncts/base/data/function/api"));
|
|
81
|
-
|
|
82
70
|
var tsplus_module_11 = /*#__PURE__*/_interopRequireWildcard( /*#__PURE__*/require("@fncts/base/data/exceptions"));
|
|
83
|
-
|
|
84
71
|
var _definition2 = /*#__PURE__*/require("@fncts/base/collection/immutable/Conc/definition");
|
|
85
|
-
|
|
86
72
|
var _function = /*#__PURE__*/require("@fncts/base/data/function");
|
|
87
|
-
|
|
88
73
|
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
74
|
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
75
|
const alignWith = alignWith_1;
|
|
93
76
|
exports.alignWith = alignWith;
|
|
94
77
|
const append = append_1;
|
|
@@ -103,8 +86,8 @@ const collectWhile = collectWhile_1;
|
|
|
103
86
|
exports.collectWhile = collectWhile;
|
|
104
87
|
const concat = concat_1;
|
|
105
88
|
exports.concat = concat;
|
|
106
|
-
const
|
|
107
|
-
exports.
|
|
89
|
+
const some = some_1;
|
|
90
|
+
exports.some = some;
|
|
108
91
|
const drop = drop_1;
|
|
109
92
|
exports.drop = drop;
|
|
110
93
|
const filterMap = filterMap_1;
|
|
@@ -155,7 +138,6 @@ const zipWith = zipWith_1;
|
|
|
155
138
|
exports.zipWith = zipWith;
|
|
156
139
|
const zipWithIndexOffset = zipWithIndexOffset_1;
|
|
157
140
|
exports.zipWithIndexOffset = zipWithIndexOffset;
|
|
158
|
-
|
|
159
141
|
/**
|
|
160
142
|
* @tsplus pipeable fncts.Conc align
|
|
161
143
|
*/
|
|
@@ -167,8 +149,6 @@ function align(fb) {
|
|
|
167
149
|
/**
|
|
168
150
|
* @tsplus pipeable fncts.Conc alignWith
|
|
169
151
|
*/
|
|
170
|
-
|
|
171
|
-
|
|
172
152
|
function alignWith_1(fb, f) {
|
|
173
153
|
return self => {
|
|
174
154
|
void 0;
|
|
@@ -176,11 +156,9 @@ function alignWith_1(fb, f) {
|
|
|
176
156
|
const out = builder_1();
|
|
177
157
|
const minlen = Math.min(self.length, fb.length);
|
|
178
158
|
const maxlen = Math.max(self.length, fb.length);
|
|
179
|
-
|
|
180
159
|
for (let i = 0; i < minlen; i++) {
|
|
181
160
|
out.append(f(tsplus_module_1.both(self.get(i), fb.get(i))));
|
|
182
161
|
}
|
|
183
|
-
|
|
184
162
|
if (minlen === maxlen) {
|
|
185
163
|
return out.result();
|
|
186
164
|
} else if (self.length > fb.length) {
|
|
@@ -192,155 +170,118 @@ function alignWith_1(fb, f) {
|
|
|
192
170
|
out.append(f(tsplus_module_1.right(fb.get(i))));
|
|
193
171
|
}
|
|
194
172
|
}
|
|
195
|
-
|
|
196
173
|
return out.result();
|
|
197
174
|
};
|
|
198
175
|
}
|
|
199
176
|
/**
|
|
200
177
|
* @tsplus pipeable fncts.Conc append
|
|
201
178
|
*/
|
|
202
|
-
|
|
203
|
-
|
|
204
179
|
function append_1(a) {
|
|
205
180
|
return self => {
|
|
206
181
|
void 0;
|
|
207
182
|
return self.append(a);
|
|
208
183
|
};
|
|
209
184
|
}
|
|
210
|
-
|
|
211
185
|
class ConcBuilder {
|
|
212
186
|
constructor(conc = tsplus_module_2.empty()) {
|
|
213
187
|
this.conc = conc;
|
|
214
188
|
}
|
|
215
|
-
|
|
216
189
|
append(a) {
|
|
217
190
|
this.conc = append_1(a)(this.conc);
|
|
218
191
|
return this;
|
|
219
192
|
}
|
|
220
|
-
|
|
221
193
|
result() {
|
|
222
194
|
return this.conc;
|
|
223
195
|
}
|
|
224
|
-
|
|
225
196
|
}
|
|
226
197
|
/**
|
|
227
198
|
* @tsplus static fncts.ConcOps builder
|
|
228
199
|
*/
|
|
229
|
-
|
|
230
|
-
|
|
231
200
|
exports.ConcBuilder = ConcBuilder;
|
|
232
|
-
|
|
233
201
|
function builder_1() {
|
|
234
202
|
return new ConcBuilder(tsplus_module_2.empty());
|
|
235
203
|
}
|
|
236
204
|
/**
|
|
237
205
|
* @tsplus pipeable fncts.Conc flatMap
|
|
238
206
|
*/
|
|
239
|
-
|
|
240
|
-
|
|
241
207
|
function flatMap_1(f) {
|
|
242
208
|
return ma => {
|
|
243
209
|
void 0;
|
|
244
210
|
const iterator = ma.arrayIterator();
|
|
245
211
|
let result;
|
|
246
212
|
let out = tsplus_module_2.empty();
|
|
247
|
-
|
|
248
213
|
while (!(result = iterator.next()).done) {
|
|
249
214
|
const arr = result.value;
|
|
250
215
|
const length = arr.length;
|
|
251
|
-
|
|
252
216
|
for (let i = 0; i < length; i++) {
|
|
253
217
|
const a = arr[i];
|
|
254
218
|
out = concat_1(f(a))(out);
|
|
255
219
|
}
|
|
256
220
|
}
|
|
257
|
-
|
|
258
221
|
return out;
|
|
259
222
|
};
|
|
260
223
|
}
|
|
261
224
|
/**
|
|
262
225
|
* @tsplus static fncts.ConcOps chainRecDepthFirst
|
|
263
226
|
*/
|
|
264
|
-
|
|
265
|
-
|
|
266
227
|
function chainRecDepthFirst(a, f) {
|
|
267
228
|
let buffer = f(a);
|
|
268
229
|
let out = tsplus_module_2.empty();
|
|
269
|
-
|
|
270
230
|
while (buffer.length > 0) {
|
|
271
231
|
const e = unsafeHead_1(buffer);
|
|
272
232
|
buffer = unsafeTail_1(buffer);
|
|
273
233
|
void 0;
|
|
274
|
-
|
|
275
|
-
if (e._tag === "Left"
|
|
276
|
-
/* EitherTag.Left */
|
|
277
|
-
) {
|
|
234
|
+
if (e._tag === "Left" /* EitherTag.Left */) {
|
|
278
235
|
buffer = concat_1(buffer)(f(e.left));
|
|
279
236
|
} else {
|
|
280
237
|
out = append_1(e.right)(out);
|
|
281
238
|
}
|
|
282
239
|
}
|
|
283
|
-
|
|
284
240
|
return out;
|
|
285
241
|
}
|
|
286
242
|
/**
|
|
287
243
|
* @tsplus static fncts.ConcOps chainRecBreadthFirst
|
|
288
244
|
*/
|
|
289
|
-
|
|
290
|
-
|
|
291
245
|
function chainRecBreadthFirst(a, f) {
|
|
292
246
|
const initial = f(a);
|
|
293
247
|
let buffer = tsplus_module_2.empty();
|
|
294
248
|
let out = tsplus_module_2.empty();
|
|
295
|
-
|
|
296
249
|
function go(e) {
|
|
297
250
|
void 0;
|
|
298
|
-
|
|
299
|
-
if (e._tag === "Left"
|
|
300
|
-
/* EitherTag.Left */
|
|
301
|
-
) {
|
|
251
|
+
if (e._tag === "Left" /* EitherTag.Left */) {
|
|
302
252
|
forEach_1(ab => (buffer = append_1(ab)(buffer), undefined))(f(e.left));
|
|
303
253
|
} else {
|
|
304
254
|
out = append_1(e.right)(out);
|
|
305
255
|
}
|
|
306
256
|
}
|
|
307
|
-
|
|
308
257
|
for (const e of initial) {
|
|
309
258
|
go(e);
|
|
310
259
|
}
|
|
311
|
-
|
|
312
260
|
while (buffer.length > 0) {
|
|
313
261
|
const ab = unsafeHead_1(buffer);
|
|
314
262
|
buffer = unsafeTail_1(buffer);
|
|
315
263
|
go(ab);
|
|
316
264
|
}
|
|
317
|
-
|
|
318
265
|
return out;
|
|
319
266
|
}
|
|
320
267
|
/**
|
|
321
268
|
* @tsplus pipeable fncts.Conc chop
|
|
322
269
|
*/
|
|
323
|
-
|
|
324
|
-
|
|
325
270
|
function chop_1(f) {
|
|
326
271
|
return self => {
|
|
327
272
|
const out = builder_1();
|
|
328
273
|
let cs = self;
|
|
329
|
-
|
|
330
274
|
while (isNonEmpty_1(cs)) {
|
|
331
275
|
const [b, c] = f(cs);
|
|
332
276
|
out.append(b);
|
|
333
277
|
cs = c;
|
|
334
278
|
}
|
|
335
|
-
|
|
336
279
|
return out.result();
|
|
337
280
|
};
|
|
338
281
|
}
|
|
339
282
|
/**
|
|
340
283
|
* @tsplus pipeable fncts.Conc chunksOf
|
|
341
284
|
*/
|
|
342
|
-
|
|
343
|
-
|
|
344
285
|
function chunksOf(n) {
|
|
345
286
|
return self => {
|
|
346
287
|
return chop_1(as => splitAt_1(n)(as))(self);
|
|
@@ -351,40 +292,28 @@ function chunksOf(n) {
|
|
|
351
292
|
*
|
|
352
293
|
* @tsplus pipeable fncts.Conc collectWhile
|
|
353
294
|
*/
|
|
354
|
-
|
|
355
|
-
|
|
356
295
|
function collectWhile_1(f) {
|
|
357
296
|
return as => {
|
|
358
297
|
void 0;
|
|
359
|
-
|
|
360
298
|
switch (as._tag) {
|
|
361
|
-
case "Singleton"
|
|
362
|
-
/* ConcTag.Singleton */
|
|
363
|
-
:
|
|
299
|
+
case "Singleton" /* ConcTag.Singleton */:
|
|
364
300
|
{
|
|
365
301
|
return tsplus_module_4.match(() => tsplus_module_2.empty(), tsplus_module_3.single)(f(as.value));
|
|
366
302
|
}
|
|
367
|
-
|
|
368
|
-
case "Chunk"
|
|
369
|
-
/* ConcTag.Chunk */
|
|
370
|
-
:
|
|
303
|
+
case "Chunk" /* ConcTag.Chunk */:
|
|
371
304
|
{
|
|
372
305
|
const array = as.arrayLike();
|
|
373
306
|
let dest = tsplus_module_2.empty();
|
|
374
|
-
|
|
375
307
|
for (let i = 0; i < array.length; i++) {
|
|
376
308
|
const rhs = f(array[i]);
|
|
377
|
-
|
|
378
309
|
if (tsplus_module_5.isJust(rhs)) {
|
|
379
310
|
dest = append_1(rhs.value)(dest);
|
|
380
311
|
} else {
|
|
381
312
|
return dest;
|
|
382
313
|
}
|
|
383
314
|
}
|
|
384
|
-
|
|
385
315
|
return dest;
|
|
386
316
|
}
|
|
387
|
-
|
|
388
317
|
default:
|
|
389
318
|
{
|
|
390
319
|
return collectWhile_1(f)(as.materialize());
|
|
@@ -395,16 +324,12 @@ function collectWhile_1(f) {
|
|
|
395
324
|
/**
|
|
396
325
|
* @tsplus getter fncts.Conc compact
|
|
397
326
|
*/
|
|
398
|
-
|
|
399
|
-
|
|
400
327
|
function compact(self) {
|
|
401
328
|
return filterMap_1(_function.identity)(self);
|
|
402
329
|
}
|
|
403
330
|
/**
|
|
404
331
|
* @tsplus pipeable fncts.Conc concat
|
|
405
332
|
*/
|
|
406
|
-
|
|
407
|
-
|
|
408
333
|
function concat_1(that) {
|
|
409
334
|
return self => {
|
|
410
335
|
void 0;
|
|
@@ -415,69 +340,48 @@ function concat_1(that) {
|
|
|
415
340
|
/**
|
|
416
341
|
* @tsplus pipeable fncts.Conc elem
|
|
417
342
|
*/
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
function elem(a,
|
|
421
|
-
/** @tsplus auto */
|
|
422
|
-
E) {
|
|
343
|
+
function elem(a, /** @tsplus auto */E) {
|
|
423
344
|
return self => {
|
|
424
|
-
return
|
|
345
|
+
return some_1(el => E.equals(a)(el))(self);
|
|
425
346
|
};
|
|
426
347
|
}
|
|
427
348
|
/**
|
|
428
|
-
* @tsplus pipeable fncts.Conc
|
|
349
|
+
* @tsplus pipeable fncts.Conc some
|
|
429
350
|
*/
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
function exists_1(predicate) {
|
|
351
|
+
function some_1(predicate) {
|
|
433
352
|
return as => {
|
|
434
353
|
void 0;
|
|
435
354
|
const iterator = as.arrayIterator();
|
|
436
355
|
let exists = false;
|
|
437
356
|
let result;
|
|
438
|
-
|
|
439
357
|
while (!exists && !(result = iterator.next()).done) {
|
|
440
358
|
const array = result.value;
|
|
441
|
-
|
|
442
359
|
for (let i = 0; !exists && i < array.length; i++) {
|
|
443
360
|
exists = predicate(array[i]);
|
|
444
361
|
}
|
|
445
362
|
}
|
|
446
|
-
|
|
447
363
|
return exists;
|
|
448
364
|
};
|
|
449
365
|
}
|
|
450
366
|
/**
|
|
451
367
|
* @tsplus pipeable fncts.Conc drop
|
|
452
368
|
*/
|
|
453
|
-
|
|
454
|
-
|
|
455
369
|
function drop_1(n) {
|
|
456
370
|
return self => {
|
|
457
371
|
void 0;
|
|
458
372
|
const len = self.length;
|
|
459
|
-
|
|
460
373
|
if (len <= 0) {
|
|
461
374
|
return self;
|
|
462
375
|
} else if (n >= len) {
|
|
463
376
|
return tsplus_module_2.empty();
|
|
464
377
|
} else {
|
|
465
378
|
switch (self._tag) {
|
|
466
|
-
case "Slice"
|
|
467
|
-
/* ConcTag.Slice */
|
|
468
|
-
:
|
|
379
|
+
case "Slice" /* ConcTag.Slice */:
|
|
469
380
|
return new _definition2.Slice(self.conc, self.offset + n, self.l - n);
|
|
470
|
-
|
|
471
|
-
case "Singleton"
|
|
472
|
-
/* ConcTag.Singleton */
|
|
473
|
-
:
|
|
381
|
+
case "Singleton" /* ConcTag.Singleton */:
|
|
474
382
|
return n > 0 ? tsplus_module_2.empty() : self;
|
|
475
|
-
|
|
476
|
-
case "Empty"
|
|
477
|
-
/* ConcTag.Empty */
|
|
478
|
-
:
|
|
383
|
+
case "Empty" /* ConcTag.Empty */:
|
|
479
384
|
return tsplus_module_2.empty();
|
|
480
|
-
|
|
481
385
|
default:
|
|
482
386
|
return new _definition2.Slice(self, n, len - n);
|
|
483
387
|
}
|
|
@@ -487,60 +391,45 @@ function drop_1(n) {
|
|
|
487
391
|
/**
|
|
488
392
|
* @tsplus pipeable fncts.Conc dropUntil
|
|
489
393
|
*/
|
|
490
|
-
|
|
491
|
-
|
|
492
394
|
function dropUntil(p) {
|
|
493
395
|
return self => {
|
|
494
396
|
let cont = true;
|
|
495
397
|
let i = 0;
|
|
496
|
-
|
|
497
398
|
for (const elem of self) {
|
|
498
399
|
if (!cont) {
|
|
499
400
|
break;
|
|
500
401
|
}
|
|
501
|
-
|
|
502
402
|
i++;
|
|
503
403
|
cont = !p(elem);
|
|
504
404
|
}
|
|
505
|
-
|
|
506
405
|
return drop_1(i)(self);
|
|
507
406
|
};
|
|
508
407
|
}
|
|
509
408
|
/**
|
|
510
409
|
* @tsplus pipeable fncts.Conc dropWhile
|
|
511
410
|
*/
|
|
512
|
-
|
|
513
|
-
|
|
514
411
|
function dropWhile(p) {
|
|
515
412
|
return self => {
|
|
516
413
|
void 0;
|
|
517
|
-
|
|
518
414
|
switch (self._tag) {
|
|
519
|
-
case "Chunk"
|
|
520
|
-
/* ConcTag.Chunk */
|
|
521
|
-
:
|
|
415
|
+
case "Chunk" /* ConcTag.Chunk */:
|
|
522
416
|
{
|
|
523
417
|
const arr = self.arrayLike();
|
|
524
418
|
let i = 0;
|
|
525
|
-
|
|
526
419
|
while (i < arr.length && p(arr[i])) {
|
|
527
420
|
i++;
|
|
528
421
|
}
|
|
529
|
-
|
|
530
422
|
return drop_1(i)(self);
|
|
531
423
|
}
|
|
532
|
-
|
|
533
424
|
default:
|
|
534
425
|
{
|
|
535
426
|
const iterator = self.arrayIterator();
|
|
536
427
|
let result;
|
|
537
428
|
let cont = true;
|
|
538
429
|
let i = 0;
|
|
539
|
-
|
|
540
430
|
while (cont && !(result = iterator.next()).done) {
|
|
541
431
|
const array = result.value;
|
|
542
432
|
let j = 0;
|
|
543
|
-
|
|
544
433
|
while (cont && j < array.length) {
|
|
545
434
|
if (p(array[j])) {
|
|
546
435
|
i++;
|
|
@@ -550,13 +439,11 @@ function dropWhile(p) {
|
|
|
550
439
|
}
|
|
551
440
|
}
|
|
552
441
|
}
|
|
553
|
-
|
|
554
442
|
return drop_1(i)(self);
|
|
555
443
|
}
|
|
556
444
|
}
|
|
557
445
|
};
|
|
558
446
|
}
|
|
559
|
-
|
|
560
447
|
function filter(p) {
|
|
561
448
|
return self => {
|
|
562
449
|
return filterWithIndex_1((_, a) => p(a))(self);
|
|
@@ -565,8 +452,6 @@ function filter(p) {
|
|
|
565
452
|
/**
|
|
566
453
|
* @tsplus pipeable fncts.Conc filterMap
|
|
567
454
|
*/
|
|
568
|
-
|
|
569
|
-
|
|
570
455
|
function filterMap_1(f) {
|
|
571
456
|
return self => {
|
|
572
457
|
return filterMapWithIndex_1((_, a) => f(a))(self);
|
|
@@ -575,8 +460,6 @@ function filterMap_1(f) {
|
|
|
575
460
|
/**
|
|
576
461
|
* @tsplus pipeable fncts.Conc filterMapWithIndex
|
|
577
462
|
*/
|
|
578
|
-
|
|
579
|
-
|
|
580
463
|
function filterMapWithIndex_1(f) {
|
|
581
464
|
return self => {
|
|
582
465
|
void 0;
|
|
@@ -584,87 +467,62 @@ function filterMapWithIndex_1(f) {
|
|
|
584
467
|
const out = builder_1();
|
|
585
468
|
let result;
|
|
586
469
|
let i = 0;
|
|
587
|
-
|
|
588
470
|
while (!(result = iterator.next()).done) {
|
|
589
471
|
const array = result.value;
|
|
590
|
-
|
|
591
472
|
for (let j = 0; j < array.length; j++) {
|
|
592
473
|
const ob = f(i, array[j]);
|
|
593
|
-
|
|
594
474
|
if (tsplus_module_5.isJust(ob)) {
|
|
595
475
|
out.append(ob.value);
|
|
596
476
|
}
|
|
597
|
-
|
|
598
477
|
i++;
|
|
599
478
|
}
|
|
600
479
|
}
|
|
601
|
-
|
|
602
480
|
return out.result();
|
|
603
481
|
};
|
|
604
482
|
}
|
|
605
|
-
|
|
606
483
|
function filterWithIndex_1(p) {
|
|
607
484
|
return self => {
|
|
608
485
|
void 0;
|
|
609
|
-
|
|
610
486
|
switch (self._tag) {
|
|
611
|
-
case "Empty"
|
|
612
|
-
/* ConcTag.Empty */
|
|
613
|
-
:
|
|
487
|
+
case "Empty" /* ConcTag.Empty */:
|
|
614
488
|
{
|
|
615
489
|
return _definition2._Empty;
|
|
616
490
|
}
|
|
617
|
-
|
|
618
|
-
case "Chunk"
|
|
619
|
-
/* ConcTag.Chunk */
|
|
620
|
-
:
|
|
491
|
+
case "Chunk" /* ConcTag.Chunk */:
|
|
621
492
|
{
|
|
622
493
|
const arr = self.arrayLike();
|
|
623
494
|
let builder = tsplus_module_2.empty();
|
|
624
|
-
|
|
625
495
|
for (let i = 0; i < arr.length; i++) {
|
|
626
496
|
const a = arr[i];
|
|
627
|
-
|
|
628
497
|
if (p(i, a)) {
|
|
629
498
|
builder = append_1(a)(builder);
|
|
630
499
|
}
|
|
631
500
|
}
|
|
632
|
-
|
|
633
501
|
return builder;
|
|
634
502
|
}
|
|
635
|
-
|
|
636
|
-
case "Singleton"
|
|
637
|
-
/* ConcTag.Singleton */
|
|
638
|
-
:
|
|
503
|
+
case "Singleton" /* ConcTag.Singleton */:
|
|
639
504
|
{
|
|
640
505
|
if (p(0, self.value)) {
|
|
641
506
|
return self;
|
|
642
507
|
}
|
|
643
|
-
|
|
644
508
|
return _definition2._Empty;
|
|
645
509
|
}
|
|
646
|
-
|
|
647
510
|
default:
|
|
648
511
|
{
|
|
649
512
|
const iterator = self.arrayIterator();
|
|
650
513
|
let out = tsplus_module_2.empty();
|
|
651
514
|
let result;
|
|
652
515
|
let i = 0;
|
|
653
|
-
|
|
654
516
|
while (!(result = iterator.next()).done) {
|
|
655
517
|
const array = result.value;
|
|
656
|
-
|
|
657
518
|
for (let j = 0; j < array.length; j++) {
|
|
658
519
|
const a = array[j];
|
|
659
|
-
|
|
660
520
|
if (p(i, a)) {
|
|
661
521
|
out = append_1(a)(out);
|
|
662
522
|
}
|
|
663
|
-
|
|
664
523
|
i++;
|
|
665
524
|
}
|
|
666
525
|
}
|
|
667
|
-
|
|
668
526
|
return out;
|
|
669
527
|
}
|
|
670
528
|
}
|
|
@@ -673,36 +531,28 @@ function filterWithIndex_1(p) {
|
|
|
673
531
|
/**
|
|
674
532
|
* @tsplus pipeable fncts.Conc find
|
|
675
533
|
*/
|
|
676
|
-
|
|
677
|
-
|
|
678
534
|
function find(f) {
|
|
679
535
|
return self => {
|
|
680
536
|
void 0;
|
|
681
537
|
const iterator = self.arrayIterator();
|
|
682
538
|
let out = tsplus_module_6.nothing();
|
|
683
539
|
let result;
|
|
684
|
-
|
|
685
540
|
while (tsplus_module_5.isNothing(out) && !(result = iterator.next()).done) {
|
|
686
541
|
const array = result.value;
|
|
687
542
|
const length = array.length;
|
|
688
|
-
|
|
689
543
|
for (let i = 0; tsplus_module_5.isNothing(out) && i < length; i++) {
|
|
690
544
|
const a = array[i];
|
|
691
|
-
|
|
692
545
|
if (f(a)) {
|
|
693
546
|
out = tsplus_module_6.just(a);
|
|
694
547
|
}
|
|
695
548
|
}
|
|
696
549
|
}
|
|
697
|
-
|
|
698
550
|
return out;
|
|
699
551
|
};
|
|
700
552
|
}
|
|
701
553
|
/**
|
|
702
554
|
* @tsplus getter fncts.Conc flatten
|
|
703
555
|
*/
|
|
704
|
-
|
|
705
|
-
|
|
706
556
|
function flatten(self) {
|
|
707
557
|
return flatMap_1(_function.identity)(self);
|
|
708
558
|
}
|
|
@@ -712,8 +562,6 @@ function flatten(self) {
|
|
|
712
562
|
*
|
|
713
563
|
* @tsplus pipeable fncts.Conc foldLeftWhile
|
|
714
564
|
*/
|
|
715
|
-
|
|
716
|
-
|
|
717
565
|
function foldLeftWhile(b, p, f) {
|
|
718
566
|
return as => {
|
|
719
567
|
void 0;
|
|
@@ -721,24 +569,19 @@ function foldLeftWhile(b, p, f) {
|
|
|
721
569
|
let s = b;
|
|
722
570
|
let cont = p(s);
|
|
723
571
|
let result;
|
|
724
|
-
|
|
725
572
|
while (cont && !(result = iterator.next()).done) {
|
|
726
573
|
const array = result.value;
|
|
727
|
-
|
|
728
574
|
for (let i = 0; cont && i < array.length; i++) {
|
|
729
575
|
s = f(s, array[i]);
|
|
730
576
|
cont = p(s);
|
|
731
577
|
}
|
|
732
578
|
}
|
|
733
|
-
|
|
734
579
|
return s;
|
|
735
580
|
};
|
|
736
581
|
}
|
|
737
582
|
/**
|
|
738
583
|
* @tsplus pipeable fncts.Conc foldLeft
|
|
739
584
|
*/
|
|
740
|
-
|
|
741
|
-
|
|
742
585
|
function foldLeft_1(b, f) {
|
|
743
586
|
return self => {
|
|
744
587
|
return foldLeftWithIndex_1(b, (_, b, a) => f(b, a))(self);
|
|
@@ -747,8 +590,6 @@ function foldLeft_1(b, f) {
|
|
|
747
590
|
/**
|
|
748
591
|
* @tsplus pipeable fncts.Conc foldLeftWithIndex
|
|
749
592
|
*/
|
|
750
|
-
|
|
751
|
-
|
|
752
593
|
function foldLeftWithIndex_1(b, f) {
|
|
753
594
|
return self => {
|
|
754
595
|
void 0;
|
|
@@ -756,27 +597,20 @@ function foldLeftWithIndex_1(b, f) {
|
|
|
756
597
|
let out = b;
|
|
757
598
|
let result;
|
|
758
599
|
let i = 0;
|
|
759
|
-
|
|
760
600
|
while (!(result = iterator.next()).done) {
|
|
761
601
|
const array = result.value;
|
|
762
|
-
|
|
763
602
|
for (let j = 0; j < array.length; j++) {
|
|
764
603
|
out = f(i, out, array[j]);
|
|
765
604
|
i++;
|
|
766
605
|
}
|
|
767
606
|
}
|
|
768
|
-
|
|
769
607
|
return out;
|
|
770
608
|
};
|
|
771
609
|
}
|
|
772
610
|
/**
|
|
773
611
|
* @tsplus pipeable fncts.Conc foldMap
|
|
774
612
|
*/
|
|
775
|
-
|
|
776
|
-
|
|
777
|
-
function foldMap(f,
|
|
778
|
-
/** @tsplus auto */
|
|
779
|
-
M) {
|
|
613
|
+
function foldMap(f, /** @tsplus auto */M) {
|
|
780
614
|
return fa => {
|
|
781
615
|
return foldMapWithIndex_1((_, a) => f(a), M)(fa);
|
|
782
616
|
};
|
|
@@ -784,20 +618,14 @@ M) {
|
|
|
784
618
|
/**
|
|
785
619
|
* @tsplus pipeable fncts.Conc foldMapWithIndex
|
|
786
620
|
*/
|
|
787
|
-
|
|
788
|
-
|
|
789
|
-
function foldMapWithIndex_1(f,
|
|
790
|
-
/** @tsplus auto */
|
|
791
|
-
M) {
|
|
621
|
+
function foldMapWithIndex_1(f, /** @tsplus auto */M) {
|
|
792
622
|
return fa => {
|
|
793
|
-
return foldLeftWithIndex_1(M.nat, (i, b, a) => M.combine(
|
|
623
|
+
return foldLeftWithIndex_1(M.nat, (i, b, a) => M.combine(f(i, a))(b))(fa);
|
|
794
624
|
};
|
|
795
625
|
}
|
|
796
626
|
/**
|
|
797
627
|
* @tsplus pipeable fncts.Conc foldRight
|
|
798
628
|
*/
|
|
799
|
-
|
|
800
|
-
|
|
801
629
|
function foldRight(b, f) {
|
|
802
630
|
return fa => {
|
|
803
631
|
return foldRightWithIndex_1(b, (_, a, b) => f(a, b))(fa);
|
|
@@ -806,8 +634,6 @@ function foldRight(b, f) {
|
|
|
806
634
|
/**
|
|
807
635
|
* @tsplus pipeable fncts.Conc foldRightWithIndex
|
|
808
636
|
*/
|
|
809
|
-
|
|
810
|
-
|
|
811
637
|
function foldRightWithIndex_1(b, f) {
|
|
812
638
|
return self => {
|
|
813
639
|
void 0;
|
|
@@ -815,24 +641,19 @@ function foldRightWithIndex_1(b, f) {
|
|
|
815
641
|
let out = b;
|
|
816
642
|
let result;
|
|
817
643
|
let i = self.length - 1;
|
|
818
|
-
|
|
819
644
|
while (!(result = iterator.next()).done) {
|
|
820
645
|
const array = result.value;
|
|
821
|
-
|
|
822
646
|
for (let j = array.length - 1; j >= 0; j--) {
|
|
823
|
-
out = f(i, array[
|
|
647
|
+
out = f(i, array[j], out);
|
|
824
648
|
i--;
|
|
825
649
|
}
|
|
826
650
|
}
|
|
827
|
-
|
|
828
651
|
return out;
|
|
829
652
|
};
|
|
830
653
|
}
|
|
831
654
|
/**
|
|
832
655
|
* @tsplus pipeable fncts.Conc forEach
|
|
833
656
|
*/
|
|
834
|
-
|
|
835
|
-
|
|
836
657
|
function forEach_1(f) {
|
|
837
658
|
return self => {
|
|
838
659
|
void 0;
|
|
@@ -842,8 +663,6 @@ function forEach_1(f) {
|
|
|
842
663
|
/**
|
|
843
664
|
* @tsplus pipeable fncts.Conc forEachWithIndex
|
|
844
665
|
*/
|
|
845
|
-
|
|
846
|
-
|
|
847
666
|
function forEachWithIndex(f) {
|
|
848
667
|
return self => {
|
|
849
668
|
void 0;
|
|
@@ -853,8 +672,6 @@ function forEachWithIndex(f) {
|
|
|
853
672
|
/**
|
|
854
673
|
* @tsplus pipeable fncts.Conc get
|
|
855
674
|
*/
|
|
856
|
-
|
|
857
|
-
|
|
858
675
|
function get(n) {
|
|
859
676
|
return as => {
|
|
860
677
|
return tsplus_module_6.tryCatch(() => unsafeGet_1(n)(as));
|
|
@@ -863,62 +680,46 @@ function get(n) {
|
|
|
863
680
|
/**
|
|
864
681
|
* @tsplus getter fncts.Conc head
|
|
865
682
|
*/
|
|
866
|
-
|
|
867
|
-
|
|
868
683
|
function head(self) {
|
|
869
684
|
void 0;
|
|
870
|
-
|
|
871
685
|
if (isEmpty_1(self)) {
|
|
872
686
|
return tsplus_module_6.nothing();
|
|
873
687
|
}
|
|
874
|
-
|
|
875
688
|
return tsplus_module_6.just(self.get(0));
|
|
876
689
|
}
|
|
877
690
|
/**
|
|
878
691
|
* @tsplus getter fncts.Conc init
|
|
879
692
|
*/
|
|
880
|
-
|
|
881
|
-
|
|
882
693
|
function init(self) {
|
|
883
694
|
if (isEmpty_1(self)) {
|
|
884
695
|
return tsplus_module_6.nothing();
|
|
885
696
|
}
|
|
886
|
-
|
|
887
697
|
return tsplus_module_6.just(take_1(self.length - 1)(self));
|
|
888
698
|
}
|
|
889
699
|
/**
|
|
890
700
|
* @tsplus pipeable fncts.Conc join
|
|
891
701
|
*/
|
|
892
|
-
|
|
893
|
-
|
|
894
702
|
function join(separator) {
|
|
895
703
|
return self => {
|
|
896
704
|
if (self.length === 0) {
|
|
897
705
|
return "";
|
|
898
706
|
}
|
|
899
|
-
|
|
900
707
|
return foldLeft_1(unsafeGet_1(0)(self), (b, s) => b + separator + s)(unsafeTail_1(self));
|
|
901
708
|
};
|
|
902
709
|
}
|
|
903
710
|
/**
|
|
904
711
|
* @tsplus getter fncts.Conc last
|
|
905
712
|
*/
|
|
906
|
-
|
|
907
|
-
|
|
908
713
|
function last(self) {
|
|
909
714
|
void 0;
|
|
910
|
-
|
|
911
715
|
if (isEmpty_1(self)) {
|
|
912
716
|
return tsplus_module_6.nothing();
|
|
913
717
|
}
|
|
914
|
-
|
|
915
718
|
return tsplus_module_6.just(self.get(self.length - 1));
|
|
916
719
|
}
|
|
917
720
|
/**
|
|
918
721
|
* @tsplus pipeable fncts.Conc map
|
|
919
722
|
*/
|
|
920
|
-
|
|
921
|
-
|
|
922
723
|
function map(f) {
|
|
923
724
|
return self => {
|
|
924
725
|
return mapWithIndex_1((_, a) => f(a))(self);
|
|
@@ -929,8 +730,6 @@ function map(f) {
|
|
|
929
730
|
*
|
|
930
731
|
* @tsplus pipeable fncts.Conc mapAccum
|
|
931
732
|
*/
|
|
932
|
-
|
|
933
|
-
|
|
934
733
|
function mapAccum(s, f) {
|
|
935
734
|
return self => {
|
|
936
735
|
void 0;
|
|
@@ -938,11 +737,9 @@ function mapAccum(s, f) {
|
|
|
938
737
|
const out = builder_1();
|
|
939
738
|
let state = s;
|
|
940
739
|
let result;
|
|
941
|
-
|
|
942
740
|
while (!(result = iterator.next()).done) {
|
|
943
741
|
const array = result.value;
|
|
944
742
|
const length = array.length;
|
|
945
|
-
|
|
946
743
|
for (let i = 0; i < length; i++) {
|
|
947
744
|
const a = array[i];
|
|
948
745
|
const tup = f(state, a);
|
|
@@ -950,55 +747,41 @@ function mapAccum(s, f) {
|
|
|
950
747
|
state = tup[0];
|
|
951
748
|
}
|
|
952
749
|
}
|
|
953
|
-
|
|
954
|
-
return (0, _function.tuple)(s, out.result());
|
|
750
|
+
return (0, _function.tuple)(state, out.result());
|
|
955
751
|
};
|
|
956
752
|
}
|
|
957
|
-
|
|
958
753
|
function mapArrayLike(as, len, startIndex, f) {
|
|
959
754
|
let bs = tsplus_module_2.empty();
|
|
960
|
-
|
|
961
755
|
for (let i = 0; i < len; i++) {
|
|
962
756
|
bs = append_1(f(i + startIndex, as[i]))(bs);
|
|
963
757
|
}
|
|
964
|
-
|
|
965
758
|
return bs;
|
|
966
759
|
}
|
|
967
|
-
|
|
968
760
|
function mapArrayLikeReverse(as, len, endIndex, f) {
|
|
969
761
|
let bs = tsplus_module_2.empty();
|
|
970
|
-
|
|
971
762
|
for (let i = _definition2.BUFFER_SIZE - len, j = len - 1; i < _definition2.BUFFER_SIZE; i++, j--) {
|
|
972
763
|
bs = append_1(f(endIndex - j, as[i]))(bs);
|
|
973
764
|
}
|
|
974
|
-
|
|
975
765
|
return bs;
|
|
976
766
|
}
|
|
977
|
-
|
|
978
767
|
class DoneFrame {
|
|
979
768
|
constructor() {
|
|
980
769
|
this._tag = "Done";
|
|
981
770
|
}
|
|
982
|
-
|
|
983
771
|
}
|
|
984
|
-
|
|
985
772
|
class ConcatLeftFrame {
|
|
986
773
|
constructor(conc, currentIndex) {
|
|
987
774
|
this.conc = conc;
|
|
988
775
|
this.currentIndex = currentIndex;
|
|
989
776
|
this._tag = "ConcatLeft";
|
|
990
777
|
}
|
|
991
|
-
|
|
992
778
|
}
|
|
993
|
-
|
|
994
779
|
class ConcatRightFrame {
|
|
995
780
|
constructor(leftResult) {
|
|
996
781
|
this.leftResult = leftResult;
|
|
997
782
|
this._tag = "ConcatRight";
|
|
998
783
|
}
|
|
999
|
-
|
|
1000
784
|
}
|
|
1001
|
-
|
|
1002
785
|
class AppendFrame {
|
|
1003
786
|
constructor(buffer, bufferUsed, startIndex) {
|
|
1004
787
|
this.buffer = buffer;
|
|
@@ -1006,22 +789,17 @@ class AppendFrame {
|
|
|
1006
789
|
this.startIndex = startIndex;
|
|
1007
790
|
this._tag = "Append";
|
|
1008
791
|
}
|
|
1009
|
-
|
|
1010
792
|
}
|
|
1011
|
-
|
|
1012
793
|
class PrependFrame {
|
|
1013
794
|
constructor(pre, end) {
|
|
1014
795
|
this.pre = pre;
|
|
1015
796
|
this.end = end;
|
|
1016
797
|
this._tag = "Prepend";
|
|
1017
798
|
}
|
|
1018
|
-
|
|
1019
799
|
}
|
|
1020
800
|
/**
|
|
1021
801
|
* @tsplus pipeable fncts.Conc mapWithIndex
|
|
1022
802
|
*/
|
|
1023
|
-
|
|
1024
|
-
|
|
1025
803
|
function mapWithIndex_1(f) {
|
|
1026
804
|
return self => {
|
|
1027
805
|
let current = self;
|
|
@@ -1029,111 +807,81 @@ function mapWithIndex_1(f) {
|
|
|
1029
807
|
const stack = tsplus_module_7.makeStack();
|
|
1030
808
|
stack.push(new DoneFrame());
|
|
1031
809
|
let result = tsplus_module_2.empty();
|
|
1032
|
-
|
|
1033
810
|
recursion: while (stack.hasNext) {
|
|
1034
811
|
// eslint-disable-next-line no-constant-condition
|
|
1035
812
|
pushing: while (true) {
|
|
1036
813
|
void 0;
|
|
1037
|
-
|
|
1038
814
|
switch (current._tag) {
|
|
1039
|
-
case "Singleton"
|
|
1040
|
-
/* ConcTag.Singleton */
|
|
1041
|
-
:
|
|
815
|
+
case "Singleton" /* ConcTag.Singleton */:
|
|
1042
816
|
{
|
|
1043
817
|
result = new _definition2.Singleton(f(index++, current.value));
|
|
1044
818
|
break pushing;
|
|
1045
819
|
}
|
|
1046
|
-
|
|
1047
|
-
case "Empty"
|
|
1048
|
-
/* ConcTag.Empty */
|
|
1049
|
-
:
|
|
820
|
+
case "Empty" /* ConcTag.Empty */:
|
|
1050
821
|
{
|
|
1051
822
|
result = _definition2._Empty;
|
|
1052
823
|
break pushing;
|
|
1053
824
|
}
|
|
1054
|
-
|
|
1055
|
-
case "Chunk"
|
|
1056
|
-
/* ConcTag.Chunk */
|
|
1057
|
-
:
|
|
825
|
+
case "Chunk" /* ConcTag.Chunk */:
|
|
1058
826
|
{
|
|
1059
827
|
result = new _definition2.Chunk(current._array.map((a, i) => f(i + index, a)));
|
|
1060
828
|
index += current.length;
|
|
1061
829
|
break pushing;
|
|
1062
830
|
}
|
|
1063
|
-
|
|
1064
|
-
case "Concat"
|
|
1065
|
-
/* ConcTag.Concat */
|
|
1066
|
-
:
|
|
831
|
+
case "Concat" /* ConcTag.Concat */:
|
|
1067
832
|
{
|
|
1068
833
|
stack.push(new ConcatLeftFrame(current, index));
|
|
1069
834
|
current = current.left;
|
|
1070
835
|
continue pushing;
|
|
1071
836
|
}
|
|
1072
|
-
|
|
1073
|
-
case "AppendN"
|
|
1074
|
-
/* ConcTag.AppendN */
|
|
1075
|
-
:
|
|
837
|
+
case "AppendN" /* ConcTag.AppendN */:
|
|
1076
838
|
{
|
|
1077
839
|
stack.push(new AppendFrame(current.buffer, current.bufferUsed, index));
|
|
1078
840
|
current = current.start;
|
|
1079
841
|
continue pushing;
|
|
1080
842
|
}
|
|
1081
|
-
|
|
1082
|
-
case "PrependN"
|
|
1083
|
-
/* ConcTag.PrependN */
|
|
1084
|
-
:
|
|
843
|
+
case "PrependN" /* ConcTag.PrependN */:
|
|
1085
844
|
{
|
|
1086
845
|
stack.push(new PrependFrame(mapArrayLikeReverse(current.buffer, current.bufferUsed, index + current.bufferUsed - 1, f), current.end));
|
|
1087
846
|
index += current.bufferUsed;
|
|
1088
847
|
break pushing;
|
|
1089
848
|
}
|
|
1090
|
-
|
|
1091
|
-
case "Slice"
|
|
1092
|
-
/* ConcTag.Slice */
|
|
1093
|
-
:
|
|
849
|
+
case "Slice" /* ConcTag.Slice */:
|
|
1094
850
|
{
|
|
1095
851
|
let r = tsplus_module_2.empty();
|
|
1096
|
-
|
|
1097
852
|
for (let i = 0; i < current.length; i++) {
|
|
1098
|
-
r = append_1(f(i + index, current
|
|
853
|
+
r = append_1(f(i + index, current.get(i)))(r);
|
|
1099
854
|
}
|
|
1100
|
-
|
|
1101
855
|
result = r;
|
|
1102
856
|
index += current.length;
|
|
1103
857
|
break pushing;
|
|
1104
858
|
}
|
|
1105
859
|
}
|
|
1106
|
-
}
|
|
1107
|
-
|
|
1108
|
-
|
|
860
|
+
}
|
|
861
|
+
// eslint-disable-next-line no-constant-condition
|
|
1109
862
|
popping: while (true) {
|
|
1110
863
|
const top = stack.pop();
|
|
1111
|
-
|
|
1112
864
|
switch (top._tag) {
|
|
1113
865
|
case "Done":
|
|
1114
866
|
{
|
|
1115
867
|
return result;
|
|
1116
868
|
}
|
|
1117
|
-
|
|
1118
869
|
case "ConcatLeft":
|
|
1119
870
|
{
|
|
1120
871
|
current = top.conc.right;
|
|
1121
872
|
stack.push(new ConcatRightFrame(result));
|
|
1122
873
|
continue recursion;
|
|
1123
874
|
}
|
|
1124
|
-
|
|
1125
875
|
case "ConcatRight":
|
|
1126
876
|
{
|
|
1127
877
|
result = concat_1(result)(top.leftResult);
|
|
1128
878
|
continue popping;
|
|
1129
879
|
}
|
|
1130
|
-
|
|
1131
880
|
case "Append":
|
|
1132
881
|
{
|
|
1133
882
|
result = concat_1(mapArrayLike(top.buffer, top.bufferUsed, index, f))(result);
|
|
1134
883
|
continue popping;
|
|
1135
884
|
}
|
|
1136
|
-
|
|
1137
885
|
case "Prepend":
|
|
1138
886
|
{
|
|
1139
887
|
current = top.end;
|
|
@@ -1143,15 +891,12 @@ function mapWithIndex_1(f) {
|
|
|
1143
891
|
}
|
|
1144
892
|
}
|
|
1145
893
|
}
|
|
1146
|
-
|
|
1147
894
|
throw new Error("bug");
|
|
1148
895
|
};
|
|
1149
896
|
}
|
|
1150
897
|
/**
|
|
1151
898
|
* @tsplus getter fncts.Conc isEmpty
|
|
1152
899
|
*/
|
|
1153
|
-
|
|
1154
|
-
|
|
1155
900
|
function isEmpty_1(self) {
|
|
1156
901
|
void 0;
|
|
1157
902
|
return self.length === 0;
|
|
@@ -1159,12 +904,9 @@ function isEmpty_1(self) {
|
|
|
1159
904
|
/**
|
|
1160
905
|
* @tsplus getter fncts.Conc isNonEmpty
|
|
1161
906
|
*/
|
|
1162
|
-
|
|
1163
|
-
|
|
1164
907
|
function isNonEmpty_1(conc) {
|
|
1165
908
|
return !isEmpty_1(conc);
|
|
1166
909
|
}
|
|
1167
|
-
|
|
1168
910
|
function partition(p) {
|
|
1169
911
|
return self => {
|
|
1170
912
|
return partitionWithIndex_1((_, a) => p(a))(self);
|
|
@@ -1173,8 +915,6 @@ function partition(p) {
|
|
|
1173
915
|
/**
|
|
1174
916
|
* @tsplus pipeable fncts.Conc partitionMap
|
|
1175
917
|
*/
|
|
1176
|
-
|
|
1177
|
-
|
|
1178
918
|
function partitionMap_1(f) {
|
|
1179
919
|
return self => {
|
|
1180
920
|
return partitionMapWithIndex_1((_, a) => f(a))(self);
|
|
@@ -1183,8 +923,6 @@ function partitionMap_1(f) {
|
|
|
1183
923
|
/**
|
|
1184
924
|
* @tsplus pipeable fncts.Conc partitionMapWithIndex
|
|
1185
925
|
*/
|
|
1186
|
-
|
|
1187
|
-
|
|
1188
926
|
function partitionMapWithIndex_1(f) {
|
|
1189
927
|
return fa => {
|
|
1190
928
|
void 0;
|
|
@@ -1193,21 +931,17 @@ function partitionMapWithIndex_1(f) {
|
|
|
1193
931
|
const right = builder_1();
|
|
1194
932
|
let result;
|
|
1195
933
|
let i = 0;
|
|
1196
|
-
|
|
1197
934
|
while (!(result = iterator.next()).done) {
|
|
1198
935
|
const array = result.value;
|
|
1199
|
-
|
|
1200
936
|
for (let j = 0; j < array.length; j++) {
|
|
1201
937
|
const eab = f(i, array[j]);
|
|
1202
938
|
tsplus_module_8.match(b => left.append(b), c => right.append(c))(eab);
|
|
1203
939
|
i++;
|
|
1204
940
|
}
|
|
1205
941
|
}
|
|
1206
|
-
|
|
1207
942
|
return [left.result(), right.result()];
|
|
1208
943
|
};
|
|
1209
944
|
}
|
|
1210
|
-
|
|
1211
945
|
function partitionWithIndex_1(p) {
|
|
1212
946
|
return self => {
|
|
1213
947
|
void 0;
|
|
@@ -1216,31 +950,24 @@ function partitionWithIndex_1(p) {
|
|
|
1216
950
|
const right = builder_1();
|
|
1217
951
|
let result;
|
|
1218
952
|
let i = 0;
|
|
1219
|
-
|
|
1220
953
|
while (!(result = iterator.next()).done) {
|
|
1221
954
|
const array = result.value;
|
|
1222
|
-
|
|
1223
955
|
for (let j = 0; j < array.length; j++) {
|
|
1224
956
|
const a = array[j];
|
|
1225
|
-
|
|
1226
957
|
if (p(i, a)) {
|
|
1227
958
|
right.append(a);
|
|
1228
959
|
} else {
|
|
1229
960
|
left.append(a);
|
|
1230
961
|
}
|
|
1231
|
-
|
|
1232
962
|
i++;
|
|
1233
963
|
}
|
|
1234
964
|
}
|
|
1235
|
-
|
|
1236
965
|
return [left.result(), right.result()];
|
|
1237
966
|
};
|
|
1238
967
|
}
|
|
1239
968
|
/**
|
|
1240
969
|
* @tsplus pipeable fncts.Conc prepend
|
|
1241
970
|
*/
|
|
1242
|
-
|
|
1243
|
-
|
|
1244
971
|
function prepend(a) {
|
|
1245
972
|
return self => {
|
|
1246
973
|
void 0;
|
|
@@ -1250,8 +977,6 @@ function prepend(a) {
|
|
|
1250
977
|
/**
|
|
1251
978
|
* @tsplus getter fncts.Conc reverse
|
|
1252
979
|
*/
|
|
1253
|
-
|
|
1254
|
-
|
|
1255
980
|
function reverse(self) {
|
|
1256
981
|
void 0;
|
|
1257
982
|
const arr = self.arrayLike();
|
|
@@ -1279,16 +1004,12 @@ function reverse(self) {
|
|
|
1279
1004
|
/**
|
|
1280
1005
|
* @tsplus getter fncts.Conc separate
|
|
1281
1006
|
*/
|
|
1282
|
-
|
|
1283
|
-
|
|
1284
1007
|
function separate(self) {
|
|
1285
1008
|
return partitionMap_1(_function.identity)(self);
|
|
1286
1009
|
}
|
|
1287
1010
|
/**
|
|
1288
1011
|
* @tsplus pipeable fncts.Conc splitAt
|
|
1289
1012
|
*/
|
|
1290
|
-
|
|
1291
|
-
|
|
1292
1013
|
function splitAt_1(n) {
|
|
1293
1014
|
return self => {
|
|
1294
1015
|
return [take_1(n)(self), drop_1(n)(self)];
|
|
@@ -1299,8 +1020,6 @@ function splitAt_1(n) {
|
|
|
1299
1020
|
*
|
|
1300
1021
|
* @tsplus pipeable fncts.Conc splitWhere
|
|
1301
1022
|
*/
|
|
1302
|
-
|
|
1303
|
-
|
|
1304
1023
|
function splitWhere(f) {
|
|
1305
1024
|
return self => {
|
|
1306
1025
|
void 0;
|
|
@@ -1308,15 +1027,12 @@ function splitWhere(f) {
|
|
|
1308
1027
|
let next;
|
|
1309
1028
|
let cont = true;
|
|
1310
1029
|
let i = 0;
|
|
1311
|
-
|
|
1312
1030
|
while (cont && (next = iterator.next()) && !next.done) {
|
|
1313
1031
|
const array = next.value;
|
|
1314
1032
|
const len = array.length;
|
|
1315
1033
|
let j = 0;
|
|
1316
|
-
|
|
1317
1034
|
while (cont && j < len) {
|
|
1318
1035
|
const a = array[j];
|
|
1319
|
-
|
|
1320
1036
|
if (f(a)) {
|
|
1321
1037
|
cont = false;
|
|
1322
1038
|
} else {
|
|
@@ -1325,27 +1041,21 @@ function splitWhere(f) {
|
|
|
1325
1041
|
}
|
|
1326
1042
|
}
|
|
1327
1043
|
}
|
|
1328
|
-
|
|
1329
1044
|
return splitAt_1(i)(self);
|
|
1330
1045
|
};
|
|
1331
1046
|
}
|
|
1332
1047
|
/**
|
|
1333
1048
|
* @tsplus getter fncts.Conc tail
|
|
1334
1049
|
*/
|
|
1335
|
-
|
|
1336
|
-
|
|
1337
1050
|
function tail(conc) {
|
|
1338
1051
|
if (isEmpty_1(conc)) {
|
|
1339
1052
|
return tsplus_module_6.nothing();
|
|
1340
1053
|
}
|
|
1341
|
-
|
|
1342
1054
|
return tsplus_module_6.just(drop_1(1)(conc));
|
|
1343
1055
|
}
|
|
1344
1056
|
/**
|
|
1345
1057
|
* @tsplus pipeable fncts.Conc take
|
|
1346
1058
|
*/
|
|
1347
|
-
|
|
1348
|
-
|
|
1349
1059
|
function take_1(n) {
|
|
1350
1060
|
return self => {
|
|
1351
1061
|
void 0;
|
|
@@ -1355,38 +1065,28 @@ function take_1(n) {
|
|
|
1355
1065
|
/**
|
|
1356
1066
|
* @tsplus pipeable fncts.Conc takeWhile
|
|
1357
1067
|
*/
|
|
1358
|
-
|
|
1359
|
-
|
|
1360
1068
|
function takeWhile(p) {
|
|
1361
1069
|
return self => {
|
|
1362
1070
|
void 0;
|
|
1363
|
-
|
|
1364
1071
|
switch (self._tag) {
|
|
1365
|
-
case "Chunk"
|
|
1366
|
-
/* ConcTag.Chunk */
|
|
1367
|
-
:
|
|
1072
|
+
case "Chunk" /* ConcTag.Chunk */:
|
|
1368
1073
|
{
|
|
1369
1074
|
const arr = self.arrayLike();
|
|
1370
1075
|
let i = 0;
|
|
1371
|
-
|
|
1372
1076
|
while (i < arr.length && p(arr[i])) {
|
|
1373
1077
|
i++;
|
|
1374
1078
|
}
|
|
1375
|
-
|
|
1376
1079
|
return self.take(i);
|
|
1377
1080
|
}
|
|
1378
|
-
|
|
1379
1081
|
default:
|
|
1380
1082
|
{
|
|
1381
1083
|
const iterator = self.arrayIterator();
|
|
1382
1084
|
let result;
|
|
1383
1085
|
let cont = true;
|
|
1384
1086
|
let i = 0;
|
|
1385
|
-
|
|
1386
1087
|
while (cont && !(result = iterator.next()).done) {
|
|
1387
1088
|
const array = result.value;
|
|
1388
1089
|
let j = 0;
|
|
1389
|
-
|
|
1390
1090
|
while (cont && j < array.length) {
|
|
1391
1091
|
if (!p(array[j])) {
|
|
1392
1092
|
cont = false;
|
|
@@ -1396,37 +1096,27 @@ function takeWhile(p) {
|
|
|
1396
1096
|
}
|
|
1397
1097
|
}
|
|
1398
1098
|
}
|
|
1399
|
-
|
|
1400
1099
|
return self.take(i);
|
|
1401
1100
|
}
|
|
1402
1101
|
}
|
|
1403
1102
|
};
|
|
1404
1103
|
}
|
|
1405
|
-
|
|
1406
1104
|
const traverse = G => f => self => _traverse_1(self)(G)(f);
|
|
1407
|
-
|
|
1408
1105
|
exports.traverse = traverse;
|
|
1409
|
-
|
|
1410
1106
|
const traverseWithIndex = G => f => self => _traverseWithIndex_1(self)(G)(f);
|
|
1411
|
-
|
|
1412
1107
|
exports.traverseWithIndex = traverseWithIndex;
|
|
1413
|
-
|
|
1414
1108
|
function _traverseWithIndex_1(self) {
|
|
1415
1109
|
return G => f => foldLeftWithIndex_1(G.pure(tsplus_module_2.empty()), (i, fbs, a) => G.zipWith(f(i, a), (bs, b) => append_1(b)(bs))(fbs))(self);
|
|
1416
1110
|
}
|
|
1417
1111
|
/**
|
|
1418
1112
|
* @tsplus getter fncts.Conc traverse
|
|
1419
1113
|
*/
|
|
1420
|
-
|
|
1421
|
-
|
|
1422
1114
|
function _traverse_1(self) {
|
|
1423
1115
|
return G => f => _traverseWithIndex_1(self)(G)((_, a) => f(a));
|
|
1424
1116
|
}
|
|
1425
1117
|
/**
|
|
1426
1118
|
* @tsplus getter fncts.Conc toBuffer
|
|
1427
1119
|
*/
|
|
1428
|
-
|
|
1429
|
-
|
|
1430
1120
|
function toBuffer(self) {
|
|
1431
1121
|
void 0;
|
|
1432
1122
|
return self.arrayLike();
|
|
@@ -1434,15 +1124,11 @@ function toBuffer(self) {
|
|
|
1434
1124
|
/**
|
|
1435
1125
|
* @tsplus static fncts.ConcOps unfold
|
|
1436
1126
|
*/
|
|
1437
|
-
|
|
1438
|
-
|
|
1439
1127
|
function unfold(b, f) {
|
|
1440
1128
|
const out = builder_1();
|
|
1441
1129
|
let bb = b;
|
|
1442
|
-
|
|
1443
1130
|
while (true) {
|
|
1444
1131
|
const mt = f(bb);
|
|
1445
|
-
|
|
1446
1132
|
if (tsplus_module_5.isJust(mt)) {
|
|
1447
1133
|
const [a, b] = mt.value;
|
|
1448
1134
|
out.append(a);
|
|
@@ -1456,8 +1142,6 @@ function unfold(b, f) {
|
|
|
1456
1142
|
* @tsplus pipeable fncts.Conc unsafeGet
|
|
1457
1143
|
* @tsplus pipeable-index fncts.Conc
|
|
1458
1144
|
*/
|
|
1459
|
-
|
|
1460
|
-
|
|
1461
1145
|
function unsafeGet_1(n) {
|
|
1462
1146
|
return self => {
|
|
1463
1147
|
void 0;
|
|
@@ -1473,8 +1157,6 @@ function unsafeGet_1(n) {
|
|
|
1473
1157
|
*
|
|
1474
1158
|
* @tsplus getter fncts.Conc unsafeHead
|
|
1475
1159
|
*/
|
|
1476
|
-
|
|
1477
|
-
|
|
1478
1160
|
function unsafeHead_1(as) {
|
|
1479
1161
|
void 0;
|
|
1480
1162
|
return as.get(0);
|
|
@@ -1486,20 +1168,15 @@ function unsafeHead_1(as) {
|
|
|
1486
1168
|
*
|
|
1487
1169
|
* @tsplus getter fncts.Conc unsafeTail
|
|
1488
1170
|
*/
|
|
1489
|
-
|
|
1490
|
-
|
|
1491
1171
|
function unsafeTail_1(self) {
|
|
1492
1172
|
if (self.length === 0) {
|
|
1493
1173
|
throw new tsplus_module_11.ArrayIndexOutOfBoundsError("Chunk.unsafeTail access to 1");
|
|
1494
1174
|
}
|
|
1495
|
-
|
|
1496
1175
|
return drop_1(1)(self);
|
|
1497
1176
|
}
|
|
1498
1177
|
/**
|
|
1499
1178
|
* @tsplus pipeable fncts.Conc unsafeUpdateAt
|
|
1500
1179
|
*/
|
|
1501
|
-
|
|
1502
|
-
|
|
1503
1180
|
function unsafeUpdateAt_1(i, a) {
|
|
1504
1181
|
return self => {
|
|
1505
1182
|
void 0;
|
|
@@ -1509,8 +1186,6 @@ function unsafeUpdateAt_1(i, a) {
|
|
|
1509
1186
|
/**
|
|
1510
1187
|
* @tsplus pipeable fncts.Conc updateAt
|
|
1511
1188
|
*/
|
|
1512
|
-
|
|
1513
|
-
|
|
1514
1189
|
function updateAt(i, a) {
|
|
1515
1190
|
return self => {
|
|
1516
1191
|
try {
|
|
@@ -1523,8 +1198,6 @@ function updateAt(i, a) {
|
|
|
1523
1198
|
/**
|
|
1524
1199
|
* @tsplus pipeable fncts.Conc zip
|
|
1525
1200
|
*/
|
|
1526
|
-
|
|
1527
|
-
|
|
1528
1201
|
function zip(fb) {
|
|
1529
1202
|
return self => {
|
|
1530
1203
|
return zipWith_1(fb, _function.tuple)(self);
|
|
@@ -1533,14 +1206,11 @@ function zip(fb) {
|
|
|
1533
1206
|
/**
|
|
1534
1207
|
* @tsplus pipeable fncts.Conc zipWith
|
|
1535
1208
|
*/
|
|
1536
|
-
|
|
1537
|
-
|
|
1538
1209
|
function zipWith_1(fb, f) {
|
|
1539
1210
|
return self => {
|
|
1540
1211
|
void 0;
|
|
1541
1212
|
void 0;
|
|
1542
1213
|
const length = Math.min(self.length, fb.length);
|
|
1543
|
-
|
|
1544
1214
|
if (length === 0) {
|
|
1545
1215
|
return tsplus_module_2.empty();
|
|
1546
1216
|
} else {
|
|
@@ -1554,7 +1224,6 @@ function zipWith_1(fb, f) {
|
|
|
1554
1224
|
let i = 0;
|
|
1555
1225
|
let j = 0;
|
|
1556
1226
|
let k = 0;
|
|
1557
|
-
|
|
1558
1227
|
while (i < length) {
|
|
1559
1228
|
if (j < leftLength && k < rightLength) {
|
|
1560
1229
|
const a = left.value[j];
|
|
@@ -1572,7 +1241,6 @@ function zipWith_1(fb, f) {
|
|
|
1572
1241
|
k = 0;
|
|
1573
1242
|
}
|
|
1574
1243
|
}
|
|
1575
|
-
|
|
1576
1244
|
return out.result();
|
|
1577
1245
|
}
|
|
1578
1246
|
};
|
|
@@ -1580,16 +1248,12 @@ function zipWith_1(fb, f) {
|
|
|
1580
1248
|
/**
|
|
1581
1249
|
* @tsplus getter fncts.Conc zipWithIndex
|
|
1582
1250
|
*/
|
|
1583
|
-
|
|
1584
|
-
|
|
1585
1251
|
function zipWithIndex(self) {
|
|
1586
1252
|
return zipWithIndexOffset_1(0)(self);
|
|
1587
1253
|
}
|
|
1588
1254
|
/**
|
|
1589
1255
|
* @tsplus pipeable fncts.Conc zipWithIndexOffset
|
|
1590
1256
|
*/
|
|
1591
|
-
|
|
1592
|
-
|
|
1593
1257
|
function zipWithIndexOffset_1(offset) {
|
|
1594
1258
|
return as => {
|
|
1595
1259
|
void 0;
|
|
@@ -1597,16 +1261,13 @@ function zipWithIndexOffset_1(offset) {
|
|
|
1597
1261
|
let next;
|
|
1598
1262
|
let i = offset;
|
|
1599
1263
|
const out = builder_1();
|
|
1600
|
-
|
|
1601
1264
|
while (!(next = iterator.next()).done) {
|
|
1602
1265
|
const array = next.value;
|
|
1603
1266
|
const len = array.length;
|
|
1604
|
-
|
|
1605
1267
|
for (let j = 0; i < len; j++, i++) {
|
|
1606
1268
|
out.append([array[j], i]);
|
|
1607
1269
|
}
|
|
1608
1270
|
}
|
|
1609
|
-
|
|
1610
1271
|
return out.result();
|
|
1611
1272
|
};
|
|
1612
1273
|
}
|