happy-rusty 1.2.0 → 1.3.1

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.
@@ -0,0 +1,9 @@
1
+ /**
2
+ * Symbol for Option kind: `Some` or `None`.
3
+ */
4
+ export const OptionKindSymbol = Symbol('Option kind');
5
+
6
+ /**
7
+ * Symbol for Result kind: `Ok` or `Err`.
8
+ */
9
+ export const ResultKindSymbol = Symbol('Result kind');
package/src/mod.ts CHANGED
@@ -1,15 +1 @@
1
- export {
2
- Err,
3
- None,
4
- Ok,
5
- Some,
6
- isOption,
7
- isResult,
8
- promiseToResult,
9
- type AsyncIOResult,
10
- type AsyncOption,
11
- type AsyncResult,
12
- type IOResult,
13
- type Option,
14
- type Result
15
- } from './enum/prelude.ts';
1
+ export * from './enum/mod.ts';