functype 0.4.1 → 0.8.0

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.
Files changed (152) hide show
  1. package/dist/chunk-2I2NKDFN.mjs +1 -0
  2. package/dist/chunk-3Y43FJKZ.mjs +1 -0
  3. package/dist/chunk-4AEODSGH.mjs +1 -0
  4. package/dist/chunk-4PGXHDAS.js +1 -0
  5. package/dist/chunk-E3BAZBU2.js +1 -0
  6. package/dist/chunk-E6RS47F7.js +1 -0
  7. package/dist/chunk-FMHIRYL5.mjs +1 -0
  8. package/dist/chunk-GPS3OL5F.mjs +1 -0
  9. package/dist/chunk-HJAAA6CD.mjs +1 -0
  10. package/dist/chunk-KWPKGISB.js +1 -0
  11. package/dist/chunk-OXLZ6UIZ.js +1 -0
  12. package/dist/chunk-PMZTOIT2.js +1 -0
  13. package/dist/chunk-REXFLQTJ.js +1 -0
  14. package/dist/chunk-TVCOFH5I.js +1 -0
  15. package/dist/chunk-VK5GL6NM.mjs +1 -0
  16. package/dist/chunk-VUD7L2T6.mjs +1 -0
  17. package/dist/chunk-WDHUQRFT.js +1 -0
  18. package/dist/chunk-ZMF3MVW7.mjs +1 -0
  19. package/dist/collections/index.d.mts +1 -1
  20. package/dist/collections/index.d.ts +1 -1
  21. package/dist/either/Either.d.mts +1 -1
  22. package/dist/either/Either.d.ts +1 -1
  23. package/dist/either/Either.js +1 -1
  24. package/dist/either/Either.mjs +1 -1
  25. package/dist/either/index.d.mts +1 -1
  26. package/dist/either/index.d.ts +1 -1
  27. package/dist/either/index.js +1 -1
  28. package/dist/either/index.mjs +1 -1
  29. package/dist/error/ParseError.d.mts +6 -2
  30. package/dist/error/ParseError.d.ts +6 -2
  31. package/dist/error/ParseError.js +1 -1
  32. package/dist/error/ParseError.mjs +1 -1
  33. package/dist/functor/index.d.mts +11 -11
  34. package/dist/functor/index.d.ts +11 -11
  35. package/dist/index-BB5a793T.d.mts +208 -0
  36. package/dist/index-DyWcaZaG.d.ts +208 -0
  37. package/dist/index.d.mts +3 -3
  38. package/dist/index.d.ts +3 -3
  39. package/dist/index.js +1 -1
  40. package/dist/index.mjs +1 -1
  41. package/dist/iterable/Seq.d.mts +1 -1
  42. package/dist/iterable/Seq.d.ts +1 -1
  43. package/dist/iterable/Seq.js +1 -1
  44. package/dist/iterable/Seq.mjs +1 -1
  45. package/dist/iterable/index.d.mts +1 -1
  46. package/dist/iterable/index.d.ts +1 -1
  47. package/dist/iterable/index.js +1 -1
  48. package/dist/iterable/index.mjs +1 -1
  49. package/dist/list/List.d.mts +1 -1
  50. package/dist/list/List.d.ts +1 -1
  51. package/dist/list/List.js +1 -1
  52. package/dist/list/List.mjs +1 -1
  53. package/dist/list/index.d.mts +1 -1
  54. package/dist/list/index.d.ts +1 -1
  55. package/dist/list/index.js +1 -1
  56. package/dist/list/index.mjs +1 -1
  57. package/dist/map/Map.d.mts +1 -1
  58. package/dist/map/Map.d.ts +1 -1
  59. package/dist/map/Map.js +1 -1
  60. package/dist/map/Map.mjs +1 -1
  61. package/dist/map/index.d.mts +1 -1
  62. package/dist/map/index.d.ts +1 -1
  63. package/dist/map/index.js +1 -1
  64. package/dist/map/index.mjs +1 -1
  65. package/dist/map/shim.js +1 -1
  66. package/dist/map/shim.mjs +1 -1
  67. package/dist/option/Option.d.mts +1 -1
  68. package/dist/option/Option.d.ts +1 -1
  69. package/dist/option/Option.js +1 -1
  70. package/dist/option/Option.mjs +1 -1
  71. package/dist/option/index.d.mts +1 -1
  72. package/dist/option/index.d.ts +1 -1
  73. package/dist/option/index.js +1 -1
  74. package/dist/option/index.mjs +1 -1
  75. package/dist/set/Set.d.mts +1 -1
  76. package/dist/set/Set.d.ts +1 -1
  77. package/dist/set/Set.js +1 -1
  78. package/dist/set/Set.mjs +1 -1
  79. package/dist/set/index.d.mts +1 -1
  80. package/dist/set/index.d.ts +1 -1
  81. package/dist/set/index.js +1 -1
  82. package/dist/set/index.mjs +1 -1
  83. package/dist/set/shim.js +1 -1
  84. package/dist/set/shim.mjs +1 -1
  85. package/dist/try/Try.d.mts +1 -1
  86. package/dist/try/Try.d.ts +1 -1
  87. package/dist/try/Try.js +1 -1
  88. package/dist/try/Try.mjs +1 -1
  89. package/dist/try/index.d.mts +1 -1
  90. package/dist/try/index.d.ts +1 -1
  91. package/dist/try/index.js +1 -1
  92. package/dist/try/index.mjs +1 -1
  93. package/dist/tuple/Tuple.d.mts +7 -15
  94. package/dist/tuple/Tuple.d.ts +7 -15
  95. package/dist/tuple/Tuple.js +1 -1
  96. package/dist/tuple/Tuple.mjs +1 -1
  97. package/dist/tuple/index.d.mts +0 -1
  98. package/dist/tuple/index.d.ts +0 -1
  99. package/dist/tuple/index.js +1 -1
  100. package/dist/tuple/index.mjs +1 -1
  101. package/dist/util/index.d.mts +1 -1
  102. package/dist/util/index.d.ts +1 -1
  103. package/dist/util/index.js +1 -1
  104. package/dist/util/index.mjs +1 -1
  105. package/dist/util/isIterable.js +1 -1
  106. package/dist/util/isIterable.mjs +1 -1
  107. package/lib/collections/index.d.ts +6 -6
  108. package/lib/either/Either.d.ts +28 -28
  109. package/lib/either/index.d.ts +1 -1
  110. package/lib/error/ParseError.d.ts +6 -2
  111. package/lib/functor/index.d.ts +10 -10
  112. package/lib/index.d.ts +7 -4
  113. package/lib/iterable/Seq.d.ts +27 -24
  114. package/lib/iterable/index.d.ts +7 -7
  115. package/lib/list/List.d.ts +19 -21
  116. package/lib/list/index.d.ts +4 -3
  117. package/lib/map/Map.d.ts +14 -35
  118. package/lib/map/index.d.ts +1 -1
  119. package/lib/option/Option.d.ts +28 -40
  120. package/lib/option/index.d.ts +6 -5
  121. package/lib/set/Set.d.ts +15 -18
  122. package/lib/set/index.d.ts +1 -1
  123. package/lib/try/Try.d.ts +24 -18
  124. package/lib/try/index.d.ts +1 -1
  125. package/lib/tuple/Tuple.d.ts +6 -13
  126. package/lib/tuple/index.d.ts +5 -1
  127. package/lib/util/index.d.ts +1 -1
  128. package/package.json +6 -6
  129. package/dist/chunk-2XH6TPQK.mjs +0 -1
  130. package/dist/chunk-3APFKSCC.js +0 -1
  131. package/dist/chunk-63PL65AF.js +0 -1
  132. package/dist/chunk-6FZZWNOL.js +0 -1
  133. package/dist/chunk-74TKYQJS.mjs +0 -0
  134. package/dist/chunk-CFYIJKWF.mjs +0 -1
  135. package/dist/chunk-E35CYHY2.mjs +0 -1
  136. package/dist/chunk-HH4VYR73.js +0 -1
  137. package/dist/chunk-HOO2EPER.mjs +0 -1
  138. package/dist/chunk-I4BEM5D2.js +0 -1
  139. package/dist/chunk-J4OZ7K3I.mjs +0 -1
  140. package/dist/chunk-JR557W27.mjs +0 -1
  141. package/dist/chunk-O2XFH626.js +0 -1
  142. package/dist/chunk-R7GOBZSO.mjs +0 -1
  143. package/dist/chunk-RLT5VF56.mjs +0 -1
  144. package/dist/chunk-SKJIJETA.js +0 -1
  145. package/dist/chunk-TYHKMGLC.mjs +0 -1
  146. package/dist/chunk-V5UFW2E4.js +0 -1
  147. package/dist/chunk-XKON5UBC.js +0 -1
  148. package/dist/chunk-XVHCBGUW.js +0 -1
  149. package/dist/chunk-Z2XAS3AB.mjs +0 -1
  150. package/dist/chunk-ZTL76QDL.js +0 -1
  151. package/dist/index-BIu07QR3.d.ts +0 -232
  152. package/dist/index-DC8arpKk.d.mts +0 -232
@@ -0,0 +1,208 @@
1
+ import { Type, Functor } from './functor/index.js';
2
+ import { Tuple } from './tuple/Tuple.js';
3
+ import './tuple/index.js';
4
+
5
+ declare const Some: <T extends Type>(value: T) => Option<T>;
6
+ declare const None: <T extends Type>() => Option<T>;
7
+ type Option<T extends Type> = {
8
+ readonly _tag: "Some" | "None";
9
+ readonly value: T | undefined;
10
+ isEmpty: boolean;
11
+ get(): T;
12
+ getOrElse(defaultValue: T): T;
13
+ orElse(alternative: Option<T>): Option<T>;
14
+ map<U extends Type>(f: (value: T) => U): Option<U>;
15
+ flatMap<U extends Type>(f: (value: T) => Option<U>): Option<U>;
16
+ reduce<U>(f: (acc: U, value: T) => U): U;
17
+ reduceRight<U>(f: (acc: U, value: T) => U): U;
18
+ foldLeft<B>(z: B): (op: (b: B, a: T) => B) => B;
19
+ foldRight<B>(z: B): (op: (a: T, b: B) => B) => B;
20
+ toList(): _Iterable_<T>;
21
+ contains(value: T): boolean;
22
+ size: number;
23
+ valueOf(): {
24
+ _tag: "Some" | "None";
25
+ value?: T;
26
+ };
27
+ toString(): string;
28
+ } & Traversable<T> & Functor<T> & Typeable;
29
+ declare const Option: <T extends Type>(value: T | null | undefined) => Option<T>;
30
+ declare const match$2: <T extends Type, U>(option: Option<T>, patterns: {
31
+ Some: (value: T) => U;
32
+ None: () => U;
33
+ }) => U;
34
+
35
+ declare const option: <T extends Type>(value?: T) => Option<T>;
36
+ declare const some: <T extends Type>(value: T) => Option<T>;
37
+ declare const none: <T extends Type>() => Option<T>;
38
+
39
+ declare const createSeq: <A>(values?: Iterable<A> | _Iterable_<A>) => Seq<A>;
40
+ type Seq<A> = {
41
+ readonly length: number;
42
+ readonly [Symbol.iterator]: () => Iterator<A>;
43
+ map: <B>(f: (a: A) => B) => Seq<B>;
44
+ flatMap: <B>(f: (a: A) => _Iterable_<B>) => Seq<B>;
45
+ forEach: (f: (a: A) => void) => void;
46
+ count: (p: (x: A) => boolean) => number;
47
+ exists: (p: (a: A) => boolean) => boolean;
48
+ filter: (p: (a: A) => boolean) => Seq<A>;
49
+ filterNot: (p: (a: A) => boolean) => Seq<A>;
50
+ find: (p: (a: A) => boolean) => Option<A>;
51
+ readonly head: A;
52
+ readonly headOption: Option<A>;
53
+ readonly isEmpty: boolean;
54
+ readonly size: number;
55
+ toArray: () => A[];
56
+ reduce: (f: (prev: A, curr: A) => A) => A;
57
+ reduceRight: (f: (prev: A, curr: A) => A) => A;
58
+ foldLeft: <B>(z: B) => (op: (b: B, a: A) => B) => B;
59
+ foldRight: <B>(z: B) => (op: (a: A, b: B) => B) => B;
60
+ valueOf: () => {
61
+ values: A[];
62
+ };
63
+ } & _Iterable_<A>;
64
+ declare const Seq: <A>(values?: Iterable<A> | _Iterable_<A>) => Seq<A>;
65
+
66
+ type _Iterable_<A extends Type> = {
67
+ count(p: (x: A) => boolean): number;
68
+ find(p: (a: A) => boolean): Option<A>;
69
+ forEach(f: (a: A) => void): void;
70
+ exists(p: (a: A) => boolean): boolean;
71
+ filter(p: (a: A) => boolean): _Iterable_<A>;
72
+ filterNot(p: (a: A) => boolean): _Iterable_<A>;
73
+ reduce(f: (b: A, a: A) => A): A;
74
+ reduceRight(f: (b: A, a: A) => A): A;
75
+ foldLeft<B>(z: B): (op: (b: B, a: A) => B) => B;
76
+ foldRight<B>(z: B): (op: (a: A, b: B) => B) => B;
77
+ get head(): A;
78
+ get headOption(): Option<A>;
79
+ get isEmpty(): boolean;
80
+ map<B extends Type>(f: (a: A) => B): _Iterable_<B>;
81
+ flatMap<B extends Type>(f: (a: A) => _Iterable_<B> | Iterable<B>): _Iterable_<B>;
82
+ get size(): number;
83
+ toArray(): readonly A[];
84
+ } & Functor<A>;
85
+
86
+ type Set<A> = {
87
+ add: (value: A) => Set<A>;
88
+ remove: (value: A) => Set<A>;
89
+ contains: (value: A) => boolean;
90
+ has: (value: A) => boolean;
91
+ map: <B>(f: (a: A) => B) => Set<B>;
92
+ flatMap: <B>(f: (a: A) => _Iterable_<B>) => Set<B>;
93
+ toList: () => List<A>;
94
+ toSet: () => Set<A>;
95
+ toString: () => string;
96
+ } & _Iterable_<A> & Collection<A>;
97
+ declare const Set: <A>(iterable?: Iterable<A> | _Iterable_<A>) => Set<A>;
98
+
99
+ type Converters<A> = {
100
+ toList(): List<A>;
101
+ toSet(): Set<A>;
102
+ toString(): string;
103
+ };
104
+ type Collection<A> = Converters<A>;
105
+
106
+ type List<A> = {
107
+ add: (item: A) => List<A>;
108
+ map: <B>(f: (a: A) => B) => List<B>;
109
+ flatMap: <B>(f: (a: A) => _Iterable_<B>) => List<B>;
110
+ remove: (value: A) => List<A>;
111
+ contains: (value: A) => boolean;
112
+ removeAt: (index: number) => List<A>;
113
+ get: (index: number) => Option<A>;
114
+ concat: (other: List<A>) => List<A>;
115
+ toList: () => List<A>;
116
+ toSet: () => Set<A>;
117
+ toString: () => string;
118
+ valueOf: () => {
119
+ values: A[];
120
+ };
121
+ } & ArrayLike<A> & _Iterable_<A> & Collection<A>;
122
+ declare const List: <A>(values?: Iterable<A> | _Iterable_<A>) => List<A>;
123
+
124
+ declare const list: <T extends Type>(items: T[] | undefined) => List<T>;
125
+
126
+ type Either<L extends Type, R extends Type> = {
127
+ readonly _tag: "Left" | "Right";
128
+ value: L | R;
129
+ isLeft: () => boolean;
130
+ isRight: () => boolean;
131
+ map: <U extends Type>(f: (value: R) => U) => Either<L, U>;
132
+ flatMap: <U extends Type>(f: (value: R) => Either<L, U>) => Either<L, U>;
133
+ toOption: () => Option<R>;
134
+ toList: () => List<R>;
135
+ valueOf: () => {
136
+ _tag: "Left" | "Right";
137
+ value: L | R;
138
+ };
139
+ toString: () => string;
140
+ } & Functor<R> & Typeable;
141
+ declare const Right: <L, R>(value: R) => Either<L, R>;
142
+ declare const Left: <L, R>(value: L) => Either<L, R>;
143
+ declare const isRight: <L, R>(either: Either<L, R>) => either is Either<L, R> & {
144
+ value: R;
145
+ };
146
+ declare const isLeft: <L, R>(either: Either<L, R>) => either is Either<L, R> & {
147
+ value: L;
148
+ };
149
+ declare const tryCatch: <L, R>(f: () => R, onError: (error: unknown) => L) => Either<L, R>;
150
+ declare const match$1: <L, R, U>(either: Either<L, R>, patterns: {
151
+ Left: (value: L) => U;
152
+ Right: (value: R) => U;
153
+ }) => U;
154
+
155
+ declare const left: <L, R>(value: L) => Either<L, R>;
156
+ declare const right: <L, R>(value: R) => Either<L, R>;
157
+
158
+ type SafeTraversable<K, V> = Omit<Traversable<Tuple<[K, V]>>, "map" | "flatMap">;
159
+ type Map<K, V> = {
160
+ add(item: Tuple<[K, V]>): Map<K, V>;
161
+ remove(value: K): Map<K, V>;
162
+ map<U>(f: (value: V) => U): Map<K, U>;
163
+ flatMap<K2, V2>(f: (entry: Tuple<[K, V]>) => _Iterable_<[K2, V2]>): Map<K2, V2>;
164
+ get(key: K): Option<V>;
165
+ getOrElse(key: K, defaultValue: V): V;
166
+ orElse(key: K, alternative: Option<V>): Option<V>;
167
+ } & SafeTraversable<K, V> & Collection<Tuple<[K, V]>>;
168
+ declare const Map: <K, V>(entries?: readonly (readonly [K, V])[] | IterableIterator<[K, V]> | null) => Map<K, V>;
169
+
170
+ type Try<T> = {
171
+ readonly _tag: "Success" | "Failure";
172
+ readonly value: T | undefined;
173
+ readonly error: Error | undefined;
174
+ isSuccess: () => boolean;
175
+ isFailure: () => boolean;
176
+ getOrElse: (defaultValue: T) => T;
177
+ orElse: (alternative: Try<T>) => Try<T>;
178
+ toEither: () => Either<Error, T>;
179
+ map: <U>(f: (value: T) => U) => Try<U>;
180
+ flatMap: <U>(f: (value: T) => Try<U>) => Try<U>;
181
+ valueOf: () => {
182
+ _tag: "Success" | "Failure";
183
+ value?: T;
184
+ error?: Error;
185
+ };
186
+ toString: () => string;
187
+ } & Typeable;
188
+ declare const Try: <T>(f: () => T) => Try<T>;
189
+ declare const match: <T, U>(tryValue: Try<T>, patterns: {
190
+ Success: (value: T) => U;
191
+ Failure: (error: Error) => U;
192
+ }) => U;
193
+
194
+ type Traversable<A extends Type> = Functor<A> & {
195
+ get size(): number;
196
+ get isEmpty(): boolean;
197
+ contains(value: A): boolean;
198
+ reduce(f: (b: A, a: A) => A): A;
199
+ reduceRight(f: (b: A, a: A) => A): A;
200
+ foldLeft<B>(z: B): (op: (b: B, a: A) => B) => B;
201
+ foldRight<B>(z: B): (op: (a: A, b: B) => B) => B;
202
+ };
203
+
204
+ type Typeable = {
205
+ _tag: Type;
206
+ };
207
+
208
+ export { type Converters as C, type Either as E, List as L, Map as M, None as N, Option as O, Right as R, Some as S, Try as T, type _Iterable_ as _, Seq as a, Set as b, createSeq as c, type Collection as d, Left as e, isLeft as f, match$1 as g, left as h, isRight as i, match as j, type Traversable as k, list as l, match$2 as m, none as n, option as o, type Typeable as p, right as r, some as s, tryCatch as t };
package/dist/index.d.mts CHANGED
@@ -1,4 +1,4 @@
1
- export { ArrayType, SingleType, Type, _AbstractFunctor_, _ArrayFunctor_, _Functor_ } from './functor/index.mjs';
2
- export { E as Either, h as Left, L as List, N as None, R as Right, a as Seq, d as Set, S as Some, T as Try, b as _Iterable_, f as _List_, g as _Map_, _ as _Option_, c as _Set_, m as _Traversable_, k as _Try_, i as iMap, j as left, l as list, n as none, o as option, r as right, s as some } from './index-DC8arpKk.mjs';
1
+ export { AbstractFunctor, ArrayFunctor, ArrayType, Functor, SingleType, Type } from './functor/index.mjs';
2
+ export { E as Either, e as Left, L as List, M as Map, N as None, O as Option, R as Right, a as Seq, b as Set, S as Some, k as Traversable, T as Try, p as Typeable, _ as _Iterable_, h as left, l as list, n as none, o as option, r as right, s as some } from './index-BB5a793T.mjs';
3
3
  export { t, tuple } from './tuple/index.mjs';
4
- export { Tuple, _Tuple_ } from './tuple/Tuple.mjs';
4
+ export { Tuple } from './tuple/Tuple.mjs';
package/dist/index.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- export { ArrayType, SingleType, Type, _AbstractFunctor_, _ArrayFunctor_, _Functor_ } from './functor/index.js';
2
- export { E as Either, h as Left, L as List, N as None, R as Right, a as Seq, d as Set, S as Some, T as Try, b as _Iterable_, f as _List_, g as _Map_, _ as _Option_, c as _Set_, m as _Traversable_, k as _Try_, i as iMap, j as left, l as list, n as none, o as option, r as right, s as some } from './index-BIu07QR3.js';
1
+ export { AbstractFunctor, ArrayFunctor, ArrayType, Functor, SingleType, Type } from './functor/index.js';
2
+ export { E as Either, e as Left, L as List, M as Map, N as None, O as Option, R as Right, a as Seq, b as Set, S as Some, k as Traversable, T as Try, p as Typeable, _ as _Iterable_, h as left, l as list, n as none, o as option, r as right, s as some } from './index-DyWcaZaG.js';
3
3
  export { t, tuple } from './tuple/index.js';
4
- export { Tuple, _Tuple_ } from './tuple/Tuple.js';
4
+ export { Tuple } from './tuple/Tuple.js';
package/dist/index.js CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports, "__esModule", {value: true});require('./chunk-6BEXQNLZ.js');var _chunkI4BEM5D2js = require('./chunk-I4BEM5D2.js');require('./chunk-ZOH672YH.js');var _chunk6FZZWNOLjs = require('./chunk-6FZZWNOL.js');var _chunkSKJIJETAjs = require('./chunk-SKJIJETA.js');var _chunkV5UFW2E4js = require('./chunk-V5UFW2E4.js');require('./chunk-5VTXJIR3.js');var _chunk63PL65AFjs = require('./chunk-63PL65AF.js');var _chunkHH4VYR73js = require('./chunk-HH4VYR73.js');var _chunkXKON5UBCjs = require('./chunk-XKON5UBC.js');require('./chunk-3VJERXBP.js');require('./chunk-XORABVON.js');require('./chunk-XVHCBGUW.js');var _chunk3APFKSCCjs = require('./chunk-3APFKSCC.js');require('./chunk-BNNK42JC.js');require('./chunk-O2XFH626.js');exports.Left = _chunkHH4VYR73js.b; exports.List = _chunkXKON5UBCjs.b; exports.None = _chunk3APFKSCCjs.b; exports.Right = _chunkHH4VYR73js.a; exports.Seq = _chunk3APFKSCCjs.f; exports.Set = _chunkXKON5UBCjs.a; exports.Some = _chunk3APFKSCCjs.a; exports.Try = _chunkI4BEM5D2js.a; exports.Tuple = _chunkV5UFW2E4js.a; exports.iMap = _chunk6FZZWNOLjs.a; exports.left = _chunk63PL65AFjs.a; exports.list = _chunkXKON5UBCjs.c; exports.none = _chunk3APFKSCCjs.e; exports.option = _chunk3APFKSCCjs.c; exports.right = _chunk63PL65AFjs.b; exports.some = _chunk3APFKSCCjs.d; exports.t = _chunkSKJIJETAjs.a; exports.tuple = _chunkSKJIJETAjs.b;
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});require('./chunk-6BEXQNLZ.js');var _chunkPMZTOIT2js = require('./chunk-PMZTOIT2.js');require('./chunk-ZOH672YH.js');var _chunkREXFLQTJjs = require('./chunk-REXFLQTJ.js');var _chunkE3BAZBU2js = require('./chunk-E3BAZBU2.js');var _chunkOXLZ6UIZjs = require('./chunk-OXLZ6UIZ.js');require('./chunk-5VTXJIR3.js');var _chunk4PGXHDASjs = require('./chunk-4PGXHDAS.js');var _chunkTVCOFH5Ijs = require('./chunk-TVCOFH5I.js');var _chunkKWPKGISBjs = require('./chunk-KWPKGISB.js');require('./chunk-3VJERXBP.js');require('./chunk-XORABVON.js');var _chunkWDHUQRFTjs = require('./chunk-WDHUQRFT.js');require('./chunk-BNNK42JC.js');exports.Left = _chunkTVCOFH5Ijs.b; exports.List = _chunkKWPKGISBjs.b; exports.Map = _chunkREXFLQTJjs.a; exports.None = _chunkWDHUQRFTjs.b; exports.Option = _chunkWDHUQRFTjs.c; exports.Right = _chunkTVCOFH5Ijs.a; exports.Seq = _chunkWDHUQRFTjs.i; exports.Set = _chunkKWPKGISBjs.a; exports.Some = _chunkWDHUQRFTjs.a; exports.Try = _chunkPMZTOIT2js.a; exports.Tuple = _chunkOXLZ6UIZjs.a; exports.left = _chunk4PGXHDASjs.a; exports.list = _chunkKWPKGISBjs.c; exports.none = _chunkWDHUQRFTjs.g; exports.option = _chunkWDHUQRFTjs.e; exports.right = _chunk4PGXHDASjs.b; exports.some = _chunkWDHUQRFTjs.f; exports.t = _chunkE3BAZBU2js.a; exports.tuple = _chunkE3BAZBU2js.b;
package/dist/index.mjs CHANGED
@@ -1 +1 @@
1
- import"./chunk-Q4H3PCBH.mjs";import{a as c}from"./chunk-RLT5VF56.mjs";import"./chunk-3OHJLCSR.mjs";import{a as n}from"./chunk-R7GOBZSO.mjs";import{a as B,b}from"./chunk-HOO2EPER.mjs";import{a}from"./chunk-2XH6TPQK.mjs";import"./chunk-377WQNCB.mjs";import{a as u,b as _}from"./chunk-J4OZ7K3I.mjs";import{a as i,b as l}from"./chunk-Z2XAS3AB.mjs";import{a as m,b as A,c as x}from"./chunk-E35CYHY2.mjs";import"./chunk-HA5XD5KC.mjs";import"./chunk-V2J3R5IU.mjs";import"./chunk-74TKYQJS.mjs";import{a as o,b as e,c as r,d as t,e as p,f}from"./chunk-TYHKMGLC.mjs";import"./chunk-RRAIFS3D.mjs";import"./chunk-JR557W27.mjs";export{l as Left,A as List,e as None,i as Right,f as Seq,m as Set,o as Some,c as Try,a as Tuple,n as iMap,u as left,x as list,p as none,r as option,_ as right,t as some,B as t,b as tuple};
1
+ import"./chunk-Q4H3PCBH.mjs";import{a as d}from"./chunk-ZMF3MVW7.mjs";import"./chunk-3OHJLCSR.mjs";import{a as c}from"./chunk-VUD7L2T6.mjs";import{a as i,b as u}from"./chunk-4AEODSGH.mjs";import{a as y}from"./chunk-2I2NKDFN.mjs";import"./chunk-377WQNCB.mjs";import{a as n,b as l}from"./chunk-3Y43FJKZ.mjs";import{a as B,b}from"./chunk-HJAAA6CD.mjs";import{a as A,b as a,c as x}from"./chunk-GPS3OL5F.mjs";import"./chunk-HA5XD5KC.mjs";import"./chunk-V2J3R5IU.mjs";import{a as e,b as o,c as r,e as t,f as p,g as f,i as m}from"./chunk-FMHIRYL5.mjs";import"./chunk-RRAIFS3D.mjs";export{b as Left,a as List,c as Map,o as None,r as Option,B as Right,m as Seq,A as Set,e as Some,d as Try,y as Tuple,n as left,x as list,f as none,t as option,l as right,p as some,i as t,u as tuple};
@@ -1,4 +1,4 @@
1
- export { a as Seq } from '../index-DC8arpKk.mjs';
1
+ export { a as Seq, c as createSeq } from '../index-BB5a793T.mjs';
2
2
  import '../functor/index.mjs';
3
3
  import '../tuple/Tuple.mjs';
4
4
  import '../tuple/index.mjs';
@@ -1,4 +1,4 @@
1
- export { a as Seq } from '../index-BIu07QR3.js';
1
+ export { a as Seq, c as createSeq } from '../index-DyWcaZaG.js';
2
2
  import '../functor/index.js';
3
3
  import '../tuple/Tuple.js';
4
4
  import '../tuple/index.js';
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunk3APFKSCCjs = require('../chunk-3APFKSCC.js');require('../chunk-BNNK42JC.js');require('../chunk-O2XFH626.js');exports.Seq = _chunk3APFKSCCjs.f;
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunkWDHUQRFTjs = require('../chunk-WDHUQRFT.js');require('../chunk-BNNK42JC.js');exports.Seq = _chunkWDHUQRFTjs.i; exports.createSeq = _chunkWDHUQRFTjs.h;
@@ -1 +1 @@
1
- import{f as a}from"../chunk-TYHKMGLC.mjs";import"../chunk-RRAIFS3D.mjs";import"../chunk-JR557W27.mjs";export{a as Seq};
1
+ import{h as a,i as b}from"../chunk-FMHIRYL5.mjs";import"../chunk-RRAIFS3D.mjs";export{b as Seq,a as createSeq};
@@ -1,4 +1,4 @@
1
1
  import '../functor/index.mjs';
2
- export { a as Seq, b as _Iterable_ } from '../index-DC8arpKk.mjs';
2
+ export { a as Seq, _ as _Iterable_ } from '../index-BB5a793T.mjs';
3
3
  import '../tuple/Tuple.mjs';
4
4
  import '../tuple/index.mjs';
@@ -1,4 +1,4 @@
1
1
  import '../functor/index.js';
2
- export { a as Seq, b as _Iterable_ } from '../index-BIu07QR3.js';
2
+ export { a as Seq, _ as _Iterable_ } from '../index-DyWcaZaG.js';
3
3
  import '../tuple/Tuple.js';
4
4
  import '../tuple/index.js';
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports, "__esModule", {value: true});require('../chunk-XVHCBGUW.js');var _chunk3APFKSCCjs = require('../chunk-3APFKSCC.js');require('../chunk-BNNK42JC.js');require('../chunk-O2XFH626.js');exports.Seq = _chunk3APFKSCCjs.f;
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunkWDHUQRFTjs = require('../chunk-WDHUQRFT.js');require('../chunk-BNNK42JC.js');exports.Seq = _chunkWDHUQRFTjs.i;
@@ -1 +1 @@
1
- import"../chunk-74TKYQJS.mjs";import{f as a}from"../chunk-TYHKMGLC.mjs";import"../chunk-RRAIFS3D.mjs";import"../chunk-JR557W27.mjs";export{a as Seq};
1
+ import{i as a}from"../chunk-FMHIRYL5.mjs";import"../chunk-RRAIFS3D.mjs";export{a as Seq};
@@ -1,4 +1,4 @@
1
- export { L as List, f as _List_ } from '../index-DC8arpKk.mjs';
1
+ export { L as List } from '../index-BB5a793T.mjs';
2
2
  import '../functor/index.mjs';
3
3
  import '../tuple/Tuple.mjs';
4
4
  import '../tuple/index.mjs';
@@ -1,4 +1,4 @@
1
- export { L as List, f as _List_ } from '../index-BIu07QR3.js';
1
+ export { L as List } from '../index-DyWcaZaG.js';
2
2
  import '../functor/index.js';
3
3
  import '../tuple/Tuple.js';
4
4
  import '../tuple/index.js';
package/dist/list/List.js CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunkXKON5UBCjs = require('../chunk-XKON5UBC.js');require('../chunk-3VJERXBP.js');require('../chunk-XVHCBGUW.js');require('../chunk-3APFKSCC.js');require('../chunk-BNNK42JC.js');require('../chunk-O2XFH626.js');exports.List = _chunkXKON5UBCjs.b;
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunkKWPKGISBjs = require('../chunk-KWPKGISB.js');require('../chunk-3VJERXBP.js');require('../chunk-WDHUQRFT.js');require('../chunk-BNNK42JC.js');exports.List = _chunkKWPKGISBjs.b;
@@ -1 +1 @@
1
- import{b as a}from"../chunk-E35CYHY2.mjs";import"../chunk-HA5XD5KC.mjs";import"../chunk-74TKYQJS.mjs";import"../chunk-TYHKMGLC.mjs";import"../chunk-RRAIFS3D.mjs";import"../chunk-JR557W27.mjs";export{a as List};
1
+ import{b as a}from"../chunk-GPS3OL5F.mjs";import"../chunk-HA5XD5KC.mjs";import"../chunk-FMHIRYL5.mjs";import"../chunk-RRAIFS3D.mjs";export{a as List};
@@ -1,4 +1,4 @@
1
- export { L as List, f as _List_, l as list } from '../index-DC8arpKk.mjs';
2
1
  import '../functor/index.mjs';
2
+ export { L as List, l as list } from '../index-BB5a793T.mjs';
3
3
  import '../tuple/Tuple.mjs';
4
4
  import '../tuple/index.mjs';
@@ -1,4 +1,4 @@
1
- export { L as List, f as _List_, l as list } from '../index-BIu07QR3.js';
2
1
  import '../functor/index.js';
2
+ export { L as List, l as list } from '../index-DyWcaZaG.js';
3
3
  import '../tuple/Tuple.js';
4
4
  import '../tuple/index.js';
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunkXKON5UBCjs = require('../chunk-XKON5UBC.js');require('../chunk-3VJERXBP.js');require('../chunk-XVHCBGUW.js');require('../chunk-3APFKSCC.js');require('../chunk-BNNK42JC.js');require('../chunk-O2XFH626.js');exports.List = _chunkXKON5UBCjs.b; exports.list = _chunkXKON5UBCjs.c;
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunkKWPKGISBjs = require('../chunk-KWPKGISB.js');require('../chunk-3VJERXBP.js');require('../chunk-WDHUQRFT.js');require('../chunk-BNNK42JC.js');exports.List = _chunkKWPKGISBjs.b; exports.list = _chunkKWPKGISBjs.c;
@@ -1 +1 @@
1
- import{b as a,c as b}from"../chunk-E35CYHY2.mjs";import"../chunk-HA5XD5KC.mjs";import"../chunk-74TKYQJS.mjs";import"../chunk-TYHKMGLC.mjs";import"../chunk-RRAIFS3D.mjs";import"../chunk-JR557W27.mjs";export{a as List,b as list};
1
+ import{b as a,c as b}from"../chunk-GPS3OL5F.mjs";import"../chunk-HA5XD5KC.mjs";import"../chunk-FMHIRYL5.mjs";import"../chunk-RRAIFS3D.mjs";export{a as List,b as list};
@@ -1,4 +1,4 @@
1
+ export { M as Map } from '../index-BB5a793T.mjs';
1
2
  import '../tuple/Tuple.mjs';
2
- export { g as _Map_, i as iMap } from '../index-DC8arpKk.mjs';
3
3
  import '../functor/index.mjs';
4
4
  import '../tuple/index.mjs';
package/dist/map/Map.d.ts CHANGED
@@ -1,4 +1,4 @@
1
+ export { M as Map } from '../index-DyWcaZaG.js';
1
2
  import '../tuple/Tuple.js';
2
- export { g as _Map_, i as iMap } from '../index-BIu07QR3.js';
3
3
  import '../functor/index.js';
4
4
  import '../tuple/index.js';
package/dist/map/Map.js CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunk6FZZWNOLjs = require('../chunk-6FZZWNOL.js');require('../chunk-SKJIJETA.js');require('../chunk-V5UFW2E4.js');require('../chunk-5VTXJIR3.js');require('../chunk-XKON5UBC.js');require('../chunk-3VJERXBP.js');require('../chunk-XVHCBGUW.js');require('../chunk-3APFKSCC.js');require('../chunk-BNNK42JC.js');require('../chunk-O2XFH626.js');exports.iMap = _chunk6FZZWNOLjs.a;
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunkREXFLQTJjs = require('../chunk-REXFLQTJ.js');require('../chunk-E3BAZBU2.js');require('../chunk-OXLZ6UIZ.js');require('../chunk-5VTXJIR3.js');require('../chunk-KWPKGISB.js');require('../chunk-3VJERXBP.js');require('../chunk-WDHUQRFT.js');require('../chunk-BNNK42JC.js');exports.Map = _chunkREXFLQTJjs.a;
package/dist/map/Map.mjs CHANGED
@@ -1 +1 @@
1
- import{a}from"../chunk-R7GOBZSO.mjs";import"../chunk-HOO2EPER.mjs";import"../chunk-2XH6TPQK.mjs";import"../chunk-377WQNCB.mjs";import"../chunk-E35CYHY2.mjs";import"../chunk-HA5XD5KC.mjs";import"../chunk-74TKYQJS.mjs";import"../chunk-TYHKMGLC.mjs";import"../chunk-RRAIFS3D.mjs";import"../chunk-JR557W27.mjs";export{a as iMap};
1
+ import{a}from"../chunk-VUD7L2T6.mjs";import"../chunk-4AEODSGH.mjs";import"../chunk-2I2NKDFN.mjs";import"../chunk-377WQNCB.mjs";import"../chunk-GPS3OL5F.mjs";import"../chunk-HA5XD5KC.mjs";import"../chunk-FMHIRYL5.mjs";import"../chunk-RRAIFS3D.mjs";export{a as Map};
@@ -1,4 +1,4 @@
1
- export { g as _Map_, i as iMap } from '../index-DC8arpKk.mjs';
1
+ export { M as Map } from '../index-BB5a793T.mjs';
2
2
  import '../functor/index.mjs';
3
3
  import '../tuple/Tuple.mjs';
4
4
  import '../tuple/index.mjs';
@@ -1,4 +1,4 @@
1
- export { g as _Map_, i as iMap } from '../index-BIu07QR3.js';
1
+ export { M as Map } from '../index-DyWcaZaG.js';
2
2
  import '../functor/index.js';
3
3
  import '../tuple/Tuple.js';
4
4
  import '../tuple/index.js';
package/dist/map/index.js CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports, "__esModule", {value: true});require('../chunk-ZOH672YH.js');var _chunk6FZZWNOLjs = require('../chunk-6FZZWNOL.js');require('../chunk-SKJIJETA.js');require('../chunk-V5UFW2E4.js');require('../chunk-5VTXJIR3.js');require('../chunk-XKON5UBC.js');require('../chunk-3VJERXBP.js');require('../chunk-XVHCBGUW.js');require('../chunk-3APFKSCC.js');require('../chunk-BNNK42JC.js');require('../chunk-O2XFH626.js');exports.iMap = _chunk6FZZWNOLjs.a;
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});require('../chunk-ZOH672YH.js');var _chunkREXFLQTJjs = require('../chunk-REXFLQTJ.js');require('../chunk-E3BAZBU2.js');require('../chunk-OXLZ6UIZ.js');require('../chunk-5VTXJIR3.js');require('../chunk-KWPKGISB.js');require('../chunk-3VJERXBP.js');require('../chunk-WDHUQRFT.js');require('../chunk-BNNK42JC.js');exports.Map = _chunkREXFLQTJjs.a;
@@ -1 +1 @@
1
- import"../chunk-3OHJLCSR.mjs";import{a}from"../chunk-R7GOBZSO.mjs";import"../chunk-HOO2EPER.mjs";import"../chunk-2XH6TPQK.mjs";import"../chunk-377WQNCB.mjs";import"../chunk-E35CYHY2.mjs";import"../chunk-HA5XD5KC.mjs";import"../chunk-74TKYQJS.mjs";import"../chunk-TYHKMGLC.mjs";import"../chunk-RRAIFS3D.mjs";import"../chunk-JR557W27.mjs";export{a as iMap};
1
+ import"../chunk-3OHJLCSR.mjs";import{a}from"../chunk-VUD7L2T6.mjs";import"../chunk-4AEODSGH.mjs";import"../chunk-2I2NKDFN.mjs";import"../chunk-377WQNCB.mjs";import"../chunk-GPS3OL5F.mjs";import"../chunk-HA5XD5KC.mjs";import"../chunk-FMHIRYL5.mjs";import"../chunk-RRAIFS3D.mjs";export{a as Map};
package/dist/map/shim.js CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunk5VTXJIR3js = require('../chunk-5VTXJIR3.js');require('../chunk-O2XFH626.js');exports.ESMap = _chunk5VTXJIR3js.a;
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunk5VTXJIR3js = require('../chunk-5VTXJIR3.js');exports.ESMap = _chunk5VTXJIR3js.a;
package/dist/map/shim.mjs CHANGED
@@ -1 +1 @@
1
- import{a}from"../chunk-377WQNCB.mjs";import"../chunk-JR557W27.mjs";export{a as ESMap};
1
+ import{a}from"../chunk-377WQNCB.mjs";export{a as ESMap};
@@ -1,4 +1,4 @@
1
1
  import '../functor/index.mjs';
2
- export { N as None, S as Some, _ as _Option_ } from '../index-DC8arpKk.mjs';
2
+ export { N as None, O as Option, S as Some, m as match } from '../index-BB5a793T.mjs';
3
3
  import '../tuple/Tuple.mjs';
4
4
  import '../tuple/index.mjs';
@@ -1,4 +1,4 @@
1
1
  import '../functor/index.js';
2
- export { N as None, S as Some, _ as _Option_ } from '../index-BIu07QR3.js';
2
+ export { N as None, O as Option, S as Some, m as match } from '../index-DyWcaZaG.js';
3
3
  import '../tuple/Tuple.js';
4
4
  import '../tuple/index.js';
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunk3APFKSCCjs = require('../chunk-3APFKSCC.js');require('../chunk-BNNK42JC.js');require('../chunk-O2XFH626.js');exports.None = _chunk3APFKSCCjs.b; exports.Some = _chunk3APFKSCCjs.a;
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunkWDHUQRFTjs = require('../chunk-WDHUQRFT.js');require('../chunk-BNNK42JC.js');exports.None = _chunkWDHUQRFTjs.b; exports.Option = _chunkWDHUQRFTjs.c; exports.Some = _chunkWDHUQRFTjs.a; exports.match = _chunkWDHUQRFTjs.d;
@@ -1 +1 @@
1
- import{a,b}from"../chunk-TYHKMGLC.mjs";import"../chunk-RRAIFS3D.mjs";import"../chunk-JR557W27.mjs";export{b as None,a as Some};
1
+ import{a,b,c,d}from"../chunk-FMHIRYL5.mjs";import"../chunk-RRAIFS3D.mjs";export{b as None,c as Option,a as Some,d as match};
@@ -1,4 +1,4 @@
1
- export { N as None, S as Some, _ as _Option_, n as none, o as option, s as some } from '../index-DC8arpKk.mjs';
2
1
  import '../functor/index.mjs';
2
+ export { N as None, O as Option, S as Some, n as none, o as option, s as some } from '../index-BB5a793T.mjs';
3
3
  import '../tuple/Tuple.mjs';
4
4
  import '../tuple/index.mjs';
@@ -1,4 +1,4 @@
1
- export { N as None, S as Some, _ as _Option_, n as none, o as option, s as some } from '../index-BIu07QR3.js';
2
1
  import '../functor/index.js';
2
+ export { N as None, O as Option, S as Some, n as none, o as option, s as some } from '../index-DyWcaZaG.js';
3
3
  import '../tuple/Tuple.js';
4
4
  import '../tuple/index.js';
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunk3APFKSCCjs = require('../chunk-3APFKSCC.js');require('../chunk-BNNK42JC.js');require('../chunk-O2XFH626.js');exports.None = _chunk3APFKSCCjs.b; exports.Some = _chunk3APFKSCCjs.a; exports.none = _chunk3APFKSCCjs.e; exports.option = _chunk3APFKSCCjs.c; exports.some = _chunk3APFKSCCjs.d;
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunkWDHUQRFTjs = require('../chunk-WDHUQRFT.js');require('../chunk-BNNK42JC.js');exports.None = _chunkWDHUQRFTjs.b; exports.Option = _chunkWDHUQRFTjs.c; exports.Some = _chunkWDHUQRFTjs.a; exports.none = _chunkWDHUQRFTjs.g; exports.option = _chunkWDHUQRFTjs.e; exports.some = _chunkWDHUQRFTjs.f;
@@ -1 +1 @@
1
- import{a,b,c,d,e}from"../chunk-TYHKMGLC.mjs";import"../chunk-RRAIFS3D.mjs";import"../chunk-JR557W27.mjs";export{b as None,a as Some,e as none,c as option,d as some};
1
+ import{a,b,c,e as d,f as e,g as f}from"../chunk-FMHIRYL5.mjs";import"../chunk-RRAIFS3D.mjs";export{b as None,c as Option,a as Some,f as none,d as option,e as some};
@@ -1,4 +1,4 @@
1
- export { d as Set, c as _Set_ } from '../index-DC8arpKk.mjs';
1
+ export { b as Set } from '../index-BB5a793T.mjs';
2
2
  import '../functor/index.mjs';
3
3
  import '../tuple/Tuple.mjs';
4
4
  import '../tuple/index.mjs';
package/dist/set/Set.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- export { d as Set, c as _Set_ } from '../index-BIu07QR3.js';
1
+ export { b as Set } from '../index-DyWcaZaG.js';
2
2
  import '../functor/index.js';
3
3
  import '../tuple/Tuple.js';
4
4
  import '../tuple/index.js';
package/dist/set/Set.js CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunkXKON5UBCjs = require('../chunk-XKON5UBC.js');require('../chunk-3VJERXBP.js');require('../chunk-XVHCBGUW.js');require('../chunk-3APFKSCC.js');require('../chunk-BNNK42JC.js');require('../chunk-O2XFH626.js');exports.Set = _chunkXKON5UBCjs.a;
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunkKWPKGISBjs = require('../chunk-KWPKGISB.js');require('../chunk-3VJERXBP.js');require('../chunk-WDHUQRFT.js');require('../chunk-BNNK42JC.js');exports.Set = _chunkKWPKGISBjs.a;
package/dist/set/Set.mjs CHANGED
@@ -1 +1 @@
1
- import{a}from"../chunk-E35CYHY2.mjs";import"../chunk-HA5XD5KC.mjs";import"../chunk-74TKYQJS.mjs";import"../chunk-TYHKMGLC.mjs";import"../chunk-RRAIFS3D.mjs";import"../chunk-JR557W27.mjs";export{a as Set};
1
+ import{a}from"../chunk-GPS3OL5F.mjs";import"../chunk-HA5XD5KC.mjs";import"../chunk-FMHIRYL5.mjs";import"../chunk-RRAIFS3D.mjs";export{a as Set};
@@ -1,4 +1,4 @@
1
- export { d as Set, c as _Set_ } from '../index-DC8arpKk.mjs';
1
+ export { b as Set } from '../index-BB5a793T.mjs';
2
2
  import '../functor/index.mjs';
3
3
  import '../tuple/Tuple.mjs';
4
4
  import '../tuple/index.mjs';
@@ -1,4 +1,4 @@
1
- export { d as Set, c as _Set_ } from '../index-BIu07QR3.js';
1
+ export { b as Set } from '../index-DyWcaZaG.js';
2
2
  import '../functor/index.js';
3
3
  import '../tuple/Tuple.js';
4
4
  import '../tuple/index.js';
package/dist/set/index.js CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunkXKON5UBCjs = require('../chunk-XKON5UBC.js');require('../chunk-3VJERXBP.js');require('../chunk-XVHCBGUW.js');require('../chunk-3APFKSCC.js');require('../chunk-BNNK42JC.js');require('../chunk-O2XFH626.js');exports.Set = _chunkXKON5UBCjs.a;
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunkKWPKGISBjs = require('../chunk-KWPKGISB.js');require('../chunk-3VJERXBP.js');require('../chunk-WDHUQRFT.js');require('../chunk-BNNK42JC.js');exports.Set = _chunkKWPKGISBjs.a;
@@ -1 +1 @@
1
- import{a}from"../chunk-E35CYHY2.mjs";import"../chunk-HA5XD5KC.mjs";import"../chunk-74TKYQJS.mjs";import"../chunk-TYHKMGLC.mjs";import"../chunk-RRAIFS3D.mjs";import"../chunk-JR557W27.mjs";export{a as Set};
1
+ import{a}from"../chunk-GPS3OL5F.mjs";import"../chunk-HA5XD5KC.mjs";import"../chunk-FMHIRYL5.mjs";import"../chunk-RRAIFS3D.mjs";export{a as Set};
package/dist/set/shim.js CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunk3VJERXBPjs = require('../chunk-3VJERXBP.js');require('../chunk-O2XFH626.js');exports.ESSet = _chunk3VJERXBPjs.a;
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunk3VJERXBPjs = require('../chunk-3VJERXBP.js');exports.ESSet = _chunk3VJERXBPjs.a;
package/dist/set/shim.mjs CHANGED
@@ -1 +1 @@
1
- import{a}from"../chunk-HA5XD5KC.mjs";import"../chunk-JR557W27.mjs";export{a as ESSet};
1
+ import{a}from"../chunk-HA5XD5KC.mjs";export{a as ESSet};
@@ -1,4 +1,4 @@
1
- export { T as Try, k as _Try_ } from '../index-DC8arpKk.mjs';
1
+ export { T as Try, j as match } from '../index-BB5a793T.mjs';
2
2
  import '../functor/index.mjs';
3
3
  import '../tuple/Tuple.mjs';
4
4
  import '../tuple/index.mjs';
package/dist/try/Try.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- export { T as Try, k as _Try_ } from '../index-BIu07QR3.js';
1
+ export { T as Try, j as match } from '../index-DyWcaZaG.js';
2
2
  import '../functor/index.js';
3
3
  import '../tuple/Tuple.js';
4
4
  import '../tuple/index.js';
package/dist/try/Try.js CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunkI4BEM5D2js = require('../chunk-I4BEM5D2.js');require('../chunk-63PL65AF.js');require('../chunk-HH4VYR73.js');require('../chunk-XKON5UBC.js');require('../chunk-3VJERXBP.js');require('../chunk-XVHCBGUW.js');require('../chunk-3APFKSCC.js');require('../chunk-BNNK42JC.js');require('../chunk-O2XFH626.js');exports.Try = _chunkI4BEM5D2js.a;
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunkPMZTOIT2js = require('../chunk-PMZTOIT2.js');require('../chunk-4PGXHDAS.js');require('../chunk-TVCOFH5I.js');require('../chunk-KWPKGISB.js');require('../chunk-3VJERXBP.js');require('../chunk-WDHUQRFT.js');require('../chunk-BNNK42JC.js');exports.Try = _chunkPMZTOIT2js.a; exports.match = _chunkPMZTOIT2js.b;
package/dist/try/Try.mjs CHANGED
@@ -1 +1 @@
1
- import{a}from"../chunk-RLT5VF56.mjs";import"../chunk-J4OZ7K3I.mjs";import"../chunk-Z2XAS3AB.mjs";import"../chunk-E35CYHY2.mjs";import"../chunk-HA5XD5KC.mjs";import"../chunk-74TKYQJS.mjs";import"../chunk-TYHKMGLC.mjs";import"../chunk-RRAIFS3D.mjs";import"../chunk-JR557W27.mjs";export{a as Try};
1
+ import{a,b}from"../chunk-ZMF3MVW7.mjs";import"../chunk-3Y43FJKZ.mjs";import"../chunk-HJAAA6CD.mjs";import"../chunk-GPS3OL5F.mjs";import"../chunk-HA5XD5KC.mjs";import"../chunk-FMHIRYL5.mjs";import"../chunk-RRAIFS3D.mjs";export{a as Try,b as match};
@@ -1,4 +1,4 @@
1
- export { T as Try, k as _Try_ } from '../index-DC8arpKk.mjs';
1
+ export { T as Try } from '../index-BB5a793T.mjs';
2
2
  import '../functor/index.mjs';
3
3
  import '../tuple/Tuple.mjs';
4
4
  import '../tuple/index.mjs';
@@ -1,4 +1,4 @@
1
- export { T as Try, k as _Try_ } from '../index-BIu07QR3.js';
1
+ export { T as Try } from '../index-DyWcaZaG.js';
2
2
  import '../functor/index.js';
3
3
  import '../tuple/Tuple.js';
4
4
  import '../tuple/index.js';
package/dist/try/index.js CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports, "__esModule", {value: true});require('../chunk-6BEXQNLZ.js');var _chunkI4BEM5D2js = require('../chunk-I4BEM5D2.js');require('../chunk-63PL65AF.js');require('../chunk-HH4VYR73.js');require('../chunk-XKON5UBC.js');require('../chunk-3VJERXBP.js');require('../chunk-XVHCBGUW.js');require('../chunk-3APFKSCC.js');require('../chunk-BNNK42JC.js');require('../chunk-O2XFH626.js');exports.Try = _chunkI4BEM5D2js.a;
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});require('../chunk-6BEXQNLZ.js');var _chunkPMZTOIT2js = require('../chunk-PMZTOIT2.js');require('../chunk-4PGXHDAS.js');require('../chunk-TVCOFH5I.js');require('../chunk-KWPKGISB.js');require('../chunk-3VJERXBP.js');require('../chunk-WDHUQRFT.js');require('../chunk-BNNK42JC.js');exports.Try = _chunkPMZTOIT2js.a;
@@ -1 +1 @@
1
- import"../chunk-Q4H3PCBH.mjs";import{a}from"../chunk-RLT5VF56.mjs";import"../chunk-J4OZ7K3I.mjs";import"../chunk-Z2XAS3AB.mjs";import"../chunk-E35CYHY2.mjs";import"../chunk-HA5XD5KC.mjs";import"../chunk-74TKYQJS.mjs";import"../chunk-TYHKMGLC.mjs";import"../chunk-RRAIFS3D.mjs";import"../chunk-JR557W27.mjs";export{a as Try};
1
+ import"../chunk-Q4H3PCBH.mjs";import{a}from"../chunk-ZMF3MVW7.mjs";import"../chunk-3Y43FJKZ.mjs";import"../chunk-HJAAA6CD.mjs";import"../chunk-GPS3OL5F.mjs";import"../chunk-HA5XD5KC.mjs";import"../chunk-FMHIRYL5.mjs";import"../chunk-RRAIFS3D.mjs";export{a as Try};
@@ -1,20 +1,12 @@
1
- import { ArrayType, _ArrayFunctor_ } from '../functor/index.mjs';
1
+ import { ArrayType, ArrayFunctor } from '../functor/index.mjs';
2
2
 
3
- type _Tuple_<T extends ArrayType> = _ArrayFunctor_<T> & {
4
- get(index: number): T[number];
5
- getAs<U>(index: number, f?: (item: T) => boolean): U;
6
- map<U extends any[]>(f: (value: T) => U): _Tuple_<U>;
7
- flatMap<U extends any[]>(f: (value: T) => _Tuple_<U>): _Tuple_<U>;
8
- toArray(): T;
9
- };
10
- declare class Tuple<T extends ArrayType> implements _Tuple_<T> {
11
- private readonly values;
12
- constructor(values: T);
3
+ type Tuple<T extends ArrayType> = {
4
+ get<K extends number>(index: K): T[K];
13
5
  map<U extends ArrayType>(f: (value: T) => U): Tuple<U>;
14
6
  flatMap<U extends ArrayType>(f: (value: T) => Tuple<U>): Tuple<U>;
15
- get(index: number): T[number];
16
- getAs<U>(index: number, f?: (item: T) => boolean): U;
17
7
  toArray(): T;
18
- }
8
+ [Symbol.iterator](): Iterator<T[number]>;
9
+ } & ArrayFunctor<T>;
10
+ declare const Tuple: <T extends ArrayType>(values: T) => Tuple<T>;
19
11
 
20
- export { Tuple, type _Tuple_ };
12
+ export { Tuple };