effect 3.5.7 → 3.5.9
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/dist/cjs/Context.js.map +1 -1
- package/dist/cjs/Data.js +11 -0
- package/dist/cjs/Data.js.map +1 -1
- package/dist/cjs/Effect.js +3 -3
- package/dist/cjs/Effect.js.map +1 -1
- package/dist/cjs/Either.js +3 -3
- package/dist/cjs/Hash.js +1 -1
- package/dist/cjs/Hash.js.map +1 -1
- package/dist/cjs/Micro.js +93 -41
- package/dist/cjs/Micro.js.map +1 -1
- package/dist/cjs/Option.js +3 -5
- package/dist/cjs/Option.js.map +1 -1
- package/dist/cjs/Stream.js +4 -4
- package/dist/cjs/internal/version.js +1 -1
- package/dist/dts/Context.d.ts +3 -1
- package/dist/dts/Context.d.ts.map +1 -1
- package/dist/dts/Data.d.ts.map +1 -1
- package/dist/dts/Effect.d.ts +13 -11
- package/dist/dts/Effect.d.ts.map +1 -1
- package/dist/dts/Either.d.ts +4 -4
- package/dist/dts/Micro.d.ts +60 -0
- package/dist/dts/Micro.d.ts.map +1 -1
- package/dist/dts/Option.d.ts +4 -6
- package/dist/dts/Option.d.ts.map +1 -1
- package/dist/dts/Stream.d.ts +4 -4
- package/dist/esm/Context.js.map +1 -1
- package/dist/esm/Data.js +11 -0
- package/dist/esm/Data.js.map +1 -1
- package/dist/esm/Effect.js +4 -4
- package/dist/esm/Effect.js.map +1 -1
- package/dist/esm/Either.js +4 -4
- package/dist/esm/Hash.js +1 -1
- package/dist/esm/Hash.js.map +1 -1
- package/dist/esm/Micro.js +88 -38
- package/dist/esm/Micro.js.map +1 -1
- package/dist/esm/Option.js +4 -6
- package/dist/esm/Option.js.map +1 -1
- package/dist/esm/Stream.js +5 -5
- package/dist/esm/internal/version.js +1 -1
- package/package.json +1 -1
- package/src/Context.ts +3 -1
- package/src/Data.ts +5 -0
- package/src/Effect.ts +13 -11
- package/src/Either.ts +4 -4
- package/src/Hash.ts +1 -1
- package/src/Micro.ts +117 -45
- package/src/Option.ts +4 -6
- package/src/Stream.ts +5 -5
- package/src/internal/version.ts +1 -1
package/dist/dts/Effect.d.ts
CHANGED
|
@@ -2528,7 +2528,7 @@ export declare const updateService: {
|
|
|
2528
2528
|
<A, E, R, T extends Context.Tag<any, any>>(self: Effect<A, E, R>, tag: T, f: (service: Context.Tag.Service<T>) => Context.Tag.Service<T>): Effect<A, E, R | Context.Tag.Identifier<T>>;
|
|
2529
2529
|
};
|
|
2530
2530
|
/**
|
|
2531
|
-
* The "do simulation" in allows you to write code in a more declarative style, similar to the "do notation" in other programming languages. It provides a way to define variables and perform operations on them using functions like `bind` and `let`.
|
|
2531
|
+
* The "do simulation" in Effect allows you to write code in a more declarative style, similar to the "do notation" in other programming languages. It provides a way to define variables and perform operations on them using functions like `bind` and `let`.
|
|
2532
2532
|
*
|
|
2533
2533
|
* Here's how the do simulation works:
|
|
2534
2534
|
*
|
|
@@ -2557,7 +2557,7 @@ export declare const updateService: {
|
|
|
2557
2557
|
*/
|
|
2558
2558
|
export declare const Do: Effect<{}>;
|
|
2559
2559
|
/**
|
|
2560
|
-
* The "do simulation" in allows you to write code in a more declarative style, similar to the "do notation" in other programming languages. It provides a way to define variables and perform operations on them using functions like `bind` and `let`.
|
|
2560
|
+
* The "do simulation" in Effect allows you to write code in a more declarative style, similar to the "do notation" in other programming languages. It provides a way to define variables and perform operations on them using functions like `bind` and `let`.
|
|
2561
2561
|
*
|
|
2562
2562
|
* Here's how the do simulation works:
|
|
2563
2563
|
*
|
|
@@ -2593,7 +2593,7 @@ export declare const bind: {
|
|
|
2593
2593
|
}, E1 | E2, R1 | R2>;
|
|
2594
2594
|
};
|
|
2595
2595
|
/**
|
|
2596
|
-
* The "do simulation" in allows you to write code in a more declarative style, similar to the "do notation" in other programming languages. It provides a way to define variables and perform operations on them using functions like `bind` and `let`.
|
|
2596
|
+
* The "do simulation" in Effect allows you to write code in a more declarative style, similar to the "do notation" in other programming languages. It provides a way to define variables and perform operations on them using functions like `bind` and `let`.
|
|
2597
2597
|
*
|
|
2598
2598
|
* Here's how the do simulation works:
|
|
2599
2599
|
*
|
|
@@ -2638,7 +2638,7 @@ declare const let_: {
|
|
|
2638
2638
|
};
|
|
2639
2639
|
export {
|
|
2640
2640
|
/**
|
|
2641
|
-
* The "do simulation" in allows you to write code in a more declarative style, similar to the "do notation" in other programming languages. It provides a way to define variables and perform operations on them using functions like `bind` and `let`.
|
|
2641
|
+
* The "do simulation" in Effect allows you to write code in a more declarative style, similar to the "do notation" in other programming languages. It provides a way to define variables and perform operations on them using functions like `bind` and `let`.
|
|
2642
2642
|
*
|
|
2643
2643
|
* Here's how the do simulation works:
|
|
2644
2644
|
*
|
|
@@ -4539,13 +4539,15 @@ export declare namespace Tag {
|
|
|
4539
4539
|
* @category models
|
|
4540
4540
|
*/
|
|
4541
4541
|
interface ProhibitedType {
|
|
4542
|
-
|
|
4543
|
-
|
|
4544
|
-
|
|
4545
|
-
|
|
4546
|
-
|
|
4547
|
-
|
|
4548
|
-
|
|
4542
|
+
Service?: `property "Service" is forbidden`;
|
|
4543
|
+
Identifier?: `property "Identifier" is forbidden`;
|
|
4544
|
+
_op?: `property "_op" is forbidden`;
|
|
4545
|
+
_tag?: `property "_tag" is forbidden`;
|
|
4546
|
+
of?: `property "of" is forbidden`;
|
|
4547
|
+
context?: `property "context" is forbidden`;
|
|
4548
|
+
key?: `property "key" is forbidden`;
|
|
4549
|
+
stack?: `property "stack" is forbidden`;
|
|
4550
|
+
name?: `property "name" is forbidden`;
|
|
4549
4551
|
}
|
|
4550
4552
|
/**
|
|
4551
4553
|
* @since 2.0.0
|