pareto-core 0.1.267 → 0.1.269

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,11 @@
1
+ export * from "./__internal/sync/data_switch.js";
2
+ export * as from from "./__internal/refiner/from.js";
3
+ export * as literal from "./__internal/sync/literal.js";
4
+ import { type Value } from "../interface/__internal/schema/Value.js";
5
+ import type { Abort } from "../interface/__internal/Abort.js";
6
+ import { type List_Of_Characters } from "./serializer.js";
7
+ export type Deserializer<Result extends Value, Error extends Value> = ($: List_Of_Characters, abort: Abort<Error>) => Result;
8
+ export type Deserializer_With_Parameter<Result extends Value, Error extends Value, Parameter extends Value> = ($: List_Of_Characters, abort: Abort<Error>, $p: Parameter) => Result;
9
+ export type Deserializer_Without_Error<Result extends Value> = ($: List_Of_Characters) => Result;
10
+ export type Deserializer_Without_Error_With_Parameter<Result extends Value, Parameter extends Value> = ($: List_Of_Characters, $p: Parameter) => Result;
11
+ export declare const list_from_list_of_characters: <T extends Value>(list_of_characters: List_Of_Characters, assign_character: (character: number) => T) => import("../interface/__internal/schema/List.js").List<T>;
@@ -0,0 +1,11 @@
1
+ export * from "./__internal/sync/data_switch.js";
2
+ export * as from from "./__internal/refiner/from.js";
3
+ export * as literal from "./__internal/sync/literal.js";
4
+ import {} from "../interface/__internal/schema/Value.js";
5
+ import {} from "./serializer.js";
6
+ import * as literal from "./__internal/sync/literal.js";
7
+ export const list_from_list_of_characters = (list_of_characters, assign_character) => {
8
+ const raw = list_of_characters.raw.map(($) => assign_character($));
9
+ return literal.list(raw);
10
+ };
11
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGVzZXJpYWxpemVyLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vc3JjL2ltcGxlbWVudGF0aW9uL2Rlc2VyaWFsaXplci50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFDQSxjQUFjLGtDQUFrQyxDQUFBO0FBQ2hELE9BQU8sS0FBSyxJQUFJLE1BQU0sOEJBQThCLENBQUE7QUFDcEQsT0FBTyxLQUFLLE9BQU8sTUFBTSw4QkFBOEIsQ0FBQTtBQUN2RCxPQUFPLEVBQWMsTUFBTSx5Q0FBeUMsQ0FBQTtBQUVwRSxPQUFPLEVBQTJCLE1BQU0saUJBQWlCLENBQUE7QUFtQ3pELE9BQU8sS0FBSyxPQUFPLE1BQU0sOEJBQThCLENBQUE7QUFFdkQsTUFBTSxDQUFDLE1BQU0sNEJBQTRCLEdBQUcsQ0FDeEMsa0JBQXNDLEVBQ3RDLGdCQUEwQyxFQUNjLEVBQUU7SUFDMUQsTUFBTSxHQUFHLEdBQUcsa0JBQWtCLENBQUMsR0FBRyxDQUFDLEdBQUcsQ0FBQyxDQUFDLENBQUMsRUFBRSxFQUFFLENBQUMsZ0JBQWdCLENBQUMsQ0FBQyxDQUFDLENBQUMsQ0FBQTtJQUNsRSxPQUFPLE9BQU8sQ0FBQyxJQUFJLENBQUMsR0FBRyxDQUFDLENBQUE7QUFDNUIsQ0FBQyxDQUFBIn0=
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pareto-core",
3
- "version": "0.1.267",
3
+ "version": "0.1.269",
4
4
  "license": "Apache-2.0",
5
5
  "author": "Corno",
6
6
  "description": "the core language constructs for the Pareto programming language (in TypeScript)",