pareto 0.74.0 → 0.75.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.
- package/auto.dist/auto.bin/auto.boekhouding.bin.js +8 -18
- package/auto.dist/data/boekhouding.data.js +8 -18
- package/auto.dist/index.js +8 -18
- package/auto.dist/public/modules/filesystem_naming/implementations/create_Valid_File_Name.alg.js +8 -18
- package/auto.dist/public/modules/fountain_pen_indented_file_2_fountain_pen_indented_file_with_escaped_texts/auto.api.d.ts +1 -1
- package/auto.dist/public/modules/fountain_pen_indented_file_2_fountain_pen_indented_file_with_escaped_texts/auto.implementation.d.ts +1 -1
- package/auto.dist/public/modules/fountain_pen_indented_file_2_fountain_pen_indented_file_with_escaped_texts/auto.implementation.js +4 -4
- package/auto.dist/public/modules/fountain_pen_indented_file_2_fountain_pen_indented_file_with_escaped_texts/auto.provided_interface_glossary.d.ts +1 -1
- package/auto.dist/public/modules/fountain_pen_indented_file_2_fountain_pen_indented_file_with_escaped_texts/auto.provided_interface_glossary.shadow.d.ts +1 -1
- package/auto.dist/public/modules/fountain_pen_indented_file_2_fountain_pen_indented_file_with_escaped_texts/implementations/transform_Block_2_Block.alg.d.ts +2 -0
- package/auto.dist/public/modules/fountain_pen_indented_file_2_fountain_pen_indented_file_with_escaped_texts/implementations/transform_Block_2_Block.alg.js +55 -0
- package/auto.dist/public/modules/main/implementations/temp$_compile$_boekhouding.alg.js +13 -23
- package/auto.dist/public/modules/pareto_3gl_high_2_lines/implementations/compilation_Unit_2_Indented_Lines.alg.js +12 -22
- package/auto.dist/public/modules/typescript_intermediate_2_fountain_pen_indented_file/auto.api.d.ts +1 -1
- package/auto.dist/public/modules/typescript_intermediate_2_fountain_pen_indented_file/auto.implementation.d.ts +1 -1
- package/auto.dist/public/modules/typescript_intermediate_2_fountain_pen_indented_file/auto.implementation.js +4 -4
- package/auto.dist/public/modules/typescript_intermediate_2_fountain_pen_indented_file/auto.provided_interface_glossary.d.ts +1 -1
- package/auto.dist/public/modules/typescript_intermediate_2_fountain_pen_indented_file/auto.provided_interface_glossary.shadow.d.ts +1 -1
- package/auto.dist/public/modules/typescript_intermediate_2_fountain_pen_indented_file/implementations/createApostrophedString.alg.js +8 -18
- package/auto.dist/public/modules/typescript_intermediate_2_fountain_pen_indented_file/implementations/createBacktickedString.alg.js +8 -18
- package/auto.dist/public/modules/typescript_intermediate_2_fountain_pen_indented_file/implementations/createQuotedString.alg.js +8 -18
- package/auto.dist/public/modules/typescript_intermediate_2_fountain_pen_indented_file/implementations/transform_Block_2_Block.alg.d.ts +2 -0
- package/auto.dist/public/modules/typescript_intermediate_2_fountain_pen_indented_file/implementations/transform_Block_2_Block.alg.js +85 -0
- package/auto.dist/public/modules/typescript_naming/implementations/createIdentifier.alg.js +12 -22
- package/auto.pareto/$.data.ts +1 -1
- package/auto.pareto/auto.dependencies/index.ts +3 -3
- package/auto.pareto/auto.dependencies/pareto-pure/$.data.ts +17 -7
- package/auto.pareto/auto.dependencies/pareto-pure/auto.dependencies/index.ts +1 -1
- package/auto.pareto/auto.dependencies/pareto-pure/auto.dependencies/pareto-standard-library/$.data.ts +2 -2
- package/auto.pareto/auto.dependencies/pareto-pure/auto.dependencies/pareto-standard-library/modules/array/api.data.ts +25 -8
- package/auto.pareto/auto.dependencies/pareto-pure/auto.dependencies/pareto-standard-library/modules/array/glossary.data.ts +17 -17
- package/auto.pareto/auto.dependencies/pareto-pure/auto.dependencies/pareto-standard-library/modules/boolean/api.data.ts +23 -9
- package/auto.pareto/auto.dependencies/pareto-pure/auto.dependencies/pareto-standard-library/modules/boolean/glossary.data.ts +5 -5
- package/auto.pareto/auto.dependencies/pareto-pure/auto.dependencies/pareto-standard-library/modules/buildInterfaceInitializers/api.data.ts +5 -5
- package/auto.pareto/auto.dependencies/pareto-pure/auto.dependencies/pareto-standard-library/modules/buildInterfaceInitializers/glossary.data.ts +11 -11
- package/auto.pareto/auto.dependencies/pareto-pure/auto.dependencies/pareto-standard-library/modules/dictionary/api.data.ts +46 -41
- package/auto.pareto/auto.dependencies/pareto-pure/auto.dependencies/pareto-standard-library/modules/dictionary/glossary.data.ts +19 -19
- package/auto.pareto/auto.dependencies/pareto-pure/auto.dependencies/pareto-standard-library/modules/number/api.data.ts +24 -9
- package/auto.pareto/auto.dependencies/pareto-pure/auto.dependencies/pareto-standard-library/modules/number/glossary.data.ts +7 -11
- package/auto.pareto/auto.dependencies/pareto-pure/auto.dependencies/pareto-standard-library/modules/optional/api.data.ts +8 -4
- package/auto.pareto/auto.dependencies/pareto-pure/auto.dependencies/pareto-standard-library/modules/optional/glossary.data.ts +5 -5
- package/auto.pareto/auto.dependencies/pareto-pure/auto.dependencies/pareto-standard-library/modules/resolve/api.data.ts +2 -2
- package/auto.pareto/auto.dependencies/pareto-pure/auto.dependencies/pareto-standard-library/modules/resolve/glossary.data.ts +3 -3
- package/auto.pareto/auto.dependencies/pareto-pure/auto.dependencies/pareto-standard-library/modules/string/api.data.ts +29 -15
- package/auto.pareto/auto.dependencies/pareto-pure/auto.dependencies/pareto-standard-library/modules/string/glossary.data.ts +16 -16
- package/auto.pareto/auto.dependencies/pareto-pure/auto.dependencies/pareto-standard-library/modules/tostring/api.data.ts +2 -2
- package/auto.pareto/auto.dependencies/pareto-pure/auto.dependencies/pareto-standard-library/modules/tostring/glossary.data.ts +3 -3
- package/auto.pareto/auto.dependencies/pareto-pure/glossaries/astn.data.ts +5 -5
- package/auto.pareto/auto.dependencies/pareto-pure/glossaries/auto.alan_light.temp_in_between.data.ts +1 -1
- package/auto.pareto/auto.dependencies/pareto-pure/glossaries/auto.boekhouding.constrained_with_terminal_values.data.ts +1 -1
- package/auto.pareto/auto.dependencies/pareto-pure/glossaries/auto.boekhouding.possibly_constrained.data.ts +1 -1
- package/auto.pareto/auto.dependencies/pareto-pure/glossaries/auto.boekhouding.unconstrained_with_annotations.data.ts +1 -1
- package/auto.pareto/auto.dependencies/pareto-pure/glossaries/auto.grammar.temp_in_between.data.ts +1 -1
- package/auto.pareto/auto.dependencies/pareto-pure/glossaries/auto.graphviz.temp_in_between.data.ts +1 -1
- package/auto.pareto/auto.dependencies/pareto-pure/glossaries/auto.html.temp_in_between.data.ts +1 -1
- package/auto.pareto/auto.dependencies/pareto-pure/glossaries/auto.liana_resolver.constrained_with_terminal_values.data.ts +1 -1
- package/auto.pareto/auto.dependencies/pareto-pure/glossaries/auto.liana_resolver.temp_in_between.data.ts +1 -1
- package/auto.pareto/auto.dependencies/pareto-pure/glossaries/auto.liana_schema.temp_in_between.data.ts +1 -1
- package/auto.pareto/auto.dependencies/pareto-pure/glossaries/auto.pareto_3gl_high.temp_in_between.data.ts +1 -1
- package/auto.pareto/auto.dependencies/pareto-pure/glossaries/auto.pareto_4gl_type_system.temp_in_between.data.ts +1 -1
- package/auto.pareto/auto.dependencies/pareto-pure/glossaries/auto.pareto_4gl_typescript.temp_in_between.data.ts +1 -1
- package/auto.pareto/auto.dependencies/pareto-pure/glossaries/auto.railroad_diagram.temp_in_between.data.ts +241 -0
- package/auto.pareto/auto.dependencies/pareto-pure/glossaries/auto.semantic_versioning.temp_in_between.data.ts +1 -1
- package/auto.pareto/auto.dependencies/pareto-pure/glossaries/fountain_pen_directory.data.ts +4 -4
- package/auto.pareto/auto.dependencies/pareto-pure/glossaries/fountain_pen_indented_file.data.ts +5 -5
- package/auto.pareto/auto.dependencies/pareto-pure/glossaries/fountain_pen_indented_file_with_escaped_strings.data.ts +5 -5
- package/auto.pareto/auto.dependencies/pareto-pure/glossaries/liana_project.data.ts +12 -12
- package/auto.pareto/auto.dependencies/pareto-pure/glossaries/lines.data.ts +3 -3
- package/auto.pareto/auto.dependencies/pareto-pure/glossaries/testresult.data.ts +37 -37
- package/auto.pareto/auto.dependencies/pareto-pure/glossaries/text.data.ts +3 -3
- package/auto.pareto/auto.dependencies/pareto-pure/glossaries/typescript_intermediate.data.ts +11 -11
- package/auto.pareto/auto.dependencies/pareto-pure/glossaries/xml.data.ts +9 -9
- package/auto.pareto/auto.dependencies/pareto-pure/modules/alan_light_2_fountain_pen_indented_file_with_escaped_strings/api.data.ts +5 -3
- package/auto.pareto/auto.dependencies/pareto-pure/modules/alan_light_2_fountain_pen_indented_file_with_escaped_strings/glossary.data.ts +4 -4
- package/auto.pareto/auto.dependencies/pareto-pure/modules/astn_2_fountain_pen_indented_file_with_escaped_strings/api.data.ts +3 -3
- package/auto.pareto/auto.dependencies/pareto-pure/modules/astn_2_fountain_pen_indented_file_with_escaped_strings/glossary.data.ts +4 -4
- package/auto.pareto/auto.dependencies/pareto-pure/modules/fountain_pen_indented_file_2_fountain_pen_indented_file/api.data.ts +3 -3
- package/auto.pareto/auto.dependencies/pareto-pure/modules/fountain_pen_indented_file_2_fountain_pen_indented_file/glossary.data.ts +5 -5
- package/auto.pareto/auto.dependencies/pareto-pure/modules/fountain_pen_lines_2_lines/api.data.ts +4 -4
- package/auto.pareto/auto.dependencies/pareto-pure/modules/fountain_pen_lines_2_lines/glossary.data.ts +6 -6
- package/auto.pareto/auto.dependencies/pareto-pure/modules/graphviz_2_fountain_pen_indented_file_with_escaped_strings/api.data.ts +3 -3
- package/auto.pareto/auto.dependencies/pareto-pure/modules/graphviz_2_fountain_pen_indented_file_with_escaped_strings/glossary.data.ts +4 -4
- package/auto.pareto/auto.dependencies/pareto-pure/modules/html_2_xml/api.data.ts +5 -3
- package/auto.pareto/auto.dependencies/pareto-pure/modules/html_2_xml/glossary.data.ts +4 -4
- package/auto.pareto/auto.dependencies/pareto-pure/modules/liana_project_2_pareto_3gl_high/api.data.ts +5 -3
- package/auto.pareto/auto.dependencies/pareto-pure/modules/liana_project_2_pareto_3gl_high/glossary.data.ts +3 -3
- package/auto.pareto/auto.dependencies/pareto-pure/modules/liana_schema_2_alan_light/api.data.ts +3 -3
- package/auto.pareto/auto.dependencies/pareto-pure/modules/liana_schema_2_alan_light/glossary.data.ts +3 -3
- package/auto.pareto/auto.dependencies/pareto-pure/modules/liana_schema_2_pareto_3gl_high/api.data.ts +4 -4
- package/auto.pareto/auto.dependencies/pareto-pure/modules/liana_schema_2_pareto_3gl_high/glossary.data.ts +3 -3
- package/auto.pareto/auto.dependencies/pareto-pure/modules/liana_schema_2_pareto_4gl_type_system/api.data.ts +3 -3
- package/auto.pareto/auto.dependencies/pareto-pure/modules/liana_schema_2_pareto_4gl_type_system/glossary.data.ts +15 -15
- package/auto.pareto/auto.dependencies/pareto-pure/modules/pareto_3gl_high_2_typescript_intermediate/api.data.ts +3 -3
- package/auto.pareto/auto.dependencies/pareto-pure/modules/pareto_3gl_high_2_typescript_intermediate/glossary.data.ts +6 -6
- package/auto.pareto/auto.dependencies/pareto-pure/modules/pareto_4gl_type_system_2_graphviz/api.data.ts +3 -3
- package/auto.pareto/auto.dependencies/pareto-pure/modules/pareto_4gl_type_system_2_graphviz/glossary.data.ts +4 -4
- package/auto.pareto/auto.dependencies/pareto-pure/modules/pareto_4gl_type_system_2_indented_file_with_escaped_strings/api.data.ts +3 -3
- package/auto.pareto/auto.dependencies/pareto-pure/modules/pareto_4gl_type_system_2_indented_file_with_escaped_strings/glossary.data.ts +4 -4
- package/auto.pareto/auto.dependencies/pareto-pure/modules/pareto_4gl_type_system_2_pareto_3gl_high/api.data.ts +5 -3
- package/auto.pareto/auto.dependencies/pareto-pure/modules/pareto_4gl_type_system_2_pareto_3gl_high/glossary.data.ts +5 -5
- package/auto.pareto/auto.dependencies/pareto-pure/modules/pareto_4gl_type_system_2_typescript_intermediate/api.data.ts +3 -3
- package/auto.pareto/auto.dependencies/pareto-pure/modules/pareto_4gl_type_system_2_typescript_intermediate/glossary.data.ts +4 -4
- package/auto.pareto/auto.dependencies/pareto-pure/modules/pareto_4gl_typescript_2_fountain_pen_directory/api.data.ts +3 -3
- package/auto.pareto/auto.dependencies/pareto-pure/modules/pareto_4gl_typescript_2_fountain_pen_directory/glossary.data.ts +6 -6
- package/auto.pareto/auto.dependencies/pareto-pure/modules/semantic_versioning_from_text/api.data.ts +5 -3
- package/auto.pareto/auto.dependencies/pareto-pure/modules/semantic_versioning_from_text/glossary.data.ts +4 -4
- package/auto.pareto/auto.dependencies/pareto-pure/modules/testresult_2_testresult/api.data.ts +6 -6
- package/auto.pareto/auto.dependencies/pareto-pure/modules/testresult_2_testresult/glossary.data.ts +37 -37
- package/auto.pareto/auto.dependencies/pareto-standard-library/$.data.ts +2 -2
- package/auto.pareto/auto.dependencies/pareto-standard-library/modules/array/api.data.ts +25 -8
- package/auto.pareto/auto.dependencies/pareto-standard-library/modules/array/glossary.data.ts +17 -17
- package/auto.pareto/auto.dependencies/pareto-standard-library/modules/boolean/api.data.ts +23 -9
- package/auto.pareto/auto.dependencies/pareto-standard-library/modules/boolean/glossary.data.ts +5 -5
- package/auto.pareto/auto.dependencies/pareto-standard-library/modules/buildInterfaceInitializers/api.data.ts +5 -5
- package/auto.pareto/auto.dependencies/pareto-standard-library/modules/buildInterfaceInitializers/glossary.data.ts +11 -11
- package/auto.pareto/auto.dependencies/pareto-standard-library/modules/dictionary/api.data.ts +46 -41
- package/auto.pareto/auto.dependencies/pareto-standard-library/modules/dictionary/glossary.data.ts +19 -19
- package/auto.pareto/auto.dependencies/pareto-standard-library/modules/number/api.data.ts +24 -9
- package/auto.pareto/auto.dependencies/pareto-standard-library/modules/number/glossary.data.ts +7 -11
- package/auto.pareto/auto.dependencies/pareto-standard-library/modules/optional/api.data.ts +8 -4
- package/auto.pareto/auto.dependencies/pareto-standard-library/modules/optional/glossary.data.ts +5 -5
- package/auto.pareto/auto.dependencies/pareto-standard-library/modules/resolve/api.data.ts +2 -2
- package/auto.pareto/auto.dependencies/pareto-standard-library/modules/resolve/glossary.data.ts +3 -3
- package/auto.pareto/auto.dependencies/pareto-standard-library/modules/string/api.data.ts +29 -15
- package/auto.pareto/auto.dependencies/pareto-standard-library/modules/string/glossary.data.ts +16 -16
- package/auto.pareto/auto.dependencies/pareto-standard-library/modules/tostring/api.data.ts +2 -2
- package/auto.pareto/auto.dependencies/pareto-standard-library/modules/tostring/glossary.data.ts +3 -3
- package/auto.pareto/auto.dependencies/pareto-subatomic-library/$.data.ts +2 -2
- package/auto.pareto/auto.dependencies/pareto-subatomic-library/glossaries/lines.data.ts +3 -3
- package/auto.pareto/auto.dependencies/pareto-subatomic-library/modules/array/api.data.ts +33 -12
- package/auto.pareto/auto.dependencies/pareto-subatomic-library/modules/array/glossary.data.ts +9 -9
- package/auto.pareto/auto.dependencies/pareto-subatomic-library/modules/dictionary/api.data.ts +19 -15
- package/auto.pareto/auto.dependencies/pareto-subatomic-library/modules/dictionary/glossary.data.ts +5 -5
- package/auto.pareto/auto.dependencies/pareto-subatomic-library/modules/filesystem/api.data.ts +6 -4
- package/auto.pareto/auto.dependencies/pareto-subatomic-library/modules/filesystem/glossary.data.ts +7 -7
- package/auto.pareto/auto.dependencies/pareto-subatomic-library/modules/json/api.data.ts +13 -10
- package/auto.pareto/auto.dependencies/pareto-subatomic-library/modules/json/glossary.data.ts +3 -3
- package/auto.pareto/auto.dependencies/pareto-subatomic-library/modules/numerical_predicates/api.data.ts +15 -7
- package/auto.pareto/auto.dependencies/pareto-subatomic-library/modules/numerical_predicates/glossary.data.ts +7 -7
- package/auto.pareto/auto.dependencies/pareto-subatomic-library/modules/string/api.data.ts +56 -20
- package/auto.pareto/auto.dependencies/pareto-subatomic-library/modules/string/glossary.data.ts +29 -29
- package/auto.pareto/modules/filesystem_naming/api.data.ts +8 -3
- package/auto.pareto/modules/filesystem_naming/glossary.data.ts +5 -5
- package/auto.pareto/modules/fountain_pen_indented_file_2_fountain_pen_indented_file_with_escaped_texts/api.data.ts +3 -3
- package/auto.pareto/modules/fountain_pen_indented_file_2_fountain_pen_indented_file_with_escaped_texts/glossary.data.ts +3 -3
- package/auto.pareto/modules/main/api.data.ts +5 -3
- package/auto.pareto/modules/main/glossary.data.ts +4 -4
- package/auto.pareto/modules/pareto_3gl_high_2_lines/api.data.ts +5 -6
- package/auto.pareto/modules/pareto_3gl_high_2_lines/glossary.data.ts +4 -4
- package/auto.pareto/modules/typescript_intermediate_2_fountain_pen_indented_file/api.data.ts +15 -11
- package/auto.pareto/modules/typescript_intermediate_2_fountain_pen_indented_file/glossary.data.ts +4 -4
- package/auto.pareto/modules/typescript_naming/api.data.ts +14 -16
- package/auto.pareto/modules/typescript_naming/glossary.data.ts +3 -3
- package/package.json +9 -9
- package/auto.dist/public/modules/fountain_pen_indented_file_2_fountain_pen_indented_file_with_escaped_texts/implementations/map_Block_2_Block.alg.d.ts +0 -2
- package/auto.dist/public/modules/fountain_pen_indented_file_2_fountain_pen_indented_file_with_escaped_texts/implementations/map_Block_2_Block.alg.js +0 -65
- package/auto.dist/public/modules/typescript_intermediate_2_fountain_pen_indented_file/implementations/map_Block_2_Block.alg.d.ts +0 -2
- package/auto.dist/public/modules/typescript_intermediate_2_fountain_pen_indented_file/implementations/map_Block_2_Block.alg.js +0 -95
- package/auto.pareto/auto.dependencies/pareto-pure/glossaries/auto.liana_resolver.possibly_constrained.data.ts +0 -1050
- package/auto.pareto/auto.dependencies/pareto-pure/glossaries/auto.liana_resolver.unconstrained_with_annotations.data.ts +0 -1035
package/auto.pareto/auto.dependencies/pareto-pure/modules/testresult_2_testresult/glossary.data.ts
CHANGED
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
imp,
|
|
11
11
|
integer,
|
|
12
12
|
list,
|
|
13
|
-
|
|
13
|
+
prop,
|
|
14
14
|
nothing,
|
|
15
15
|
optional,
|
|
16
16
|
parametrizedType,
|
|
@@ -25,9 +25,9 @@ import {
|
|
|
25
25
|
sInterface,
|
|
26
26
|
sInterfaceMethod,
|
|
27
27
|
sInterfaceReference,
|
|
28
|
-
} from "pareto-pure/auto.dist/public/shorthands/
|
|
28
|
+
} from "pareto-pure/auto.dist/public/shorthands/pareto_4gl_type_system.sh"
|
|
29
29
|
|
|
30
|
-
import * as g_glossary from "pareto-pure/auto.dist/public/auto.glossaries/auto.
|
|
30
|
+
import * as g_glossary from "pareto-pure/auto.dist/public/auto.glossaries/auto.pareto_4gl_type_system"
|
|
31
31
|
|
|
32
32
|
const d = pd.d
|
|
33
33
|
|
|
@@ -53,70 +53,70 @@ export const $: g_glossary.D.Glossary = {
|
|
|
53
53
|
}),
|
|
54
54
|
'data types': d({
|
|
55
55
|
"Library": type(group({
|
|
56
|
-
"public":
|
|
57
|
-
"private":
|
|
56
|
+
"public": prop(component(typeReference("Module Set"))),
|
|
57
|
+
"private": prop(component(typeReference("Module Set"))),
|
|
58
58
|
})),
|
|
59
59
|
"Module Set": type(dictionary(component(typeReference("Module")))),
|
|
60
60
|
"Module": type(dictionary(component(typeReference("Algorithm")))),
|
|
61
61
|
"Algorithm": type(group({
|
|
62
|
-
"location":
|
|
63
|
-
"tests":
|
|
62
|
+
"location": prop(component(typeReference("Source Location"))),
|
|
63
|
+
"tests": prop(optional(dictionary(component(typeReference("Test"))))),
|
|
64
64
|
})),
|
|
65
65
|
"Source Location": type(group({
|
|
66
|
-
"file":
|
|
67
|
-
"line":
|
|
68
|
-
"column":
|
|
66
|
+
"file": prop(text()),
|
|
67
|
+
"line": prop(integer()),
|
|
68
|
+
"column": prop(integer()),
|
|
69
69
|
})),
|
|
70
70
|
"Test": type(list(component(typeReference("Error")))),
|
|
71
71
|
"Error": type(stateGroup({
|
|
72
72
|
"content": component(typeReference("Compare Error"))
|
|
73
73
|
})),
|
|
74
74
|
"Compare Error": type(group({
|
|
75
|
-
"location":
|
|
76
|
-
"path":
|
|
77
|
-
"type":
|
|
75
|
+
"location": prop(component(typeReference("Source Location"))),
|
|
76
|
+
"path": prop(text()),
|
|
77
|
+
"type": prop(stateGroup({
|
|
78
78
|
"wrong number": group({
|
|
79
|
-
"found":
|
|
79
|
+
"found": prop(integer()),
|
|
80
80
|
}),
|
|
81
81
|
"wrong text": group({
|
|
82
|
-
"found":
|
|
82
|
+
"found": prop(text()),
|
|
83
83
|
}),
|
|
84
84
|
"wrong boolean": group({
|
|
85
|
-
"found":
|
|
85
|
+
"found": prop(boolean())
|
|
86
86
|
}),
|
|
87
87
|
"optional value expected not to be set": nothing(),
|
|
88
88
|
"optional value expected to be set": nothing(),
|
|
89
89
|
"not the right state": group({
|
|
90
|
-
"found":
|
|
90
|
+
"found": prop(text())
|
|
91
91
|
}),
|
|
92
92
|
"not enough elements": nothing(),
|
|
93
93
|
"too many elements": nothing(),
|
|
94
94
|
"superfluous entries": group({
|
|
95
|
-
"keys":
|
|
95
|
+
"keys": prop(dictionary(nothing()))
|
|
96
96
|
}),
|
|
97
97
|
"missing dictionary entry": group({
|
|
98
|
-
"key":
|
|
98
|
+
"key": prop(text()),
|
|
99
99
|
}),
|
|
100
100
|
})),
|
|
101
101
|
|
|
102
102
|
})),
|
|
103
103
|
"Summary": type(group({
|
|
104
|
-
"number of tests":
|
|
105
|
-
"number of missing tests":
|
|
106
|
-
"number of errors":
|
|
104
|
+
"number of tests": prop(integer()),
|
|
105
|
+
"number of missing tests": prop(integer()),
|
|
106
|
+
"number of errors": prop(integer()),
|
|
107
107
|
})),
|
|
108
108
|
|
|
109
109
|
"String": type(text()),
|
|
110
110
|
|
|
111
111
|
"intLibrary": type(group({
|
|
112
|
-
"public":
|
|
113
|
-
"private":
|
|
112
|
+
"public": prop(component(typeReference("intModule Set"))),
|
|
113
|
+
"private": prop(component(typeReference("intModule Set"))),
|
|
114
114
|
})),
|
|
115
115
|
"intModule Set": type(dictionary(component(typeReference("intModule")))),
|
|
116
116
|
"intModule": type(dictionary(component(typeReference("intAlgorithm")))),
|
|
117
117
|
"intAlgorithm": type(group({
|
|
118
|
-
"location":
|
|
119
|
-
"status":
|
|
118
|
+
"location": prop(component(typeReference("Source Location"))),
|
|
119
|
+
"status": prop(stateGroup({
|
|
120
120
|
"no tests": nothing(),
|
|
121
121
|
"skipped": nothing(),
|
|
122
122
|
"has tests": dictionary(component(typeReference("intTest"))),
|
|
@@ -133,25 +133,25 @@ export const $: g_glossary.D.Glossary = {
|
|
|
133
133
|
"success": nothing(), // green
|
|
134
134
|
})),
|
|
135
135
|
"annotatedLibrary": type(group({
|
|
136
|
-
"public":
|
|
137
|
-
"private":
|
|
136
|
+
"public": prop(component(typeReference("annotatedModule Set"))),
|
|
137
|
+
"private": prop(component(typeReference("annotatedModule Set"))),
|
|
138
138
|
})),
|
|
139
139
|
"annotatedModule Set": type(group({
|
|
140
|
-
"status":
|
|
141
|
-
"modules":
|
|
140
|
+
"status": prop(component(typeReference("annotatedStatus"))),
|
|
141
|
+
"modules": prop(dictionary(component(typeReference("annotatedModule")))),
|
|
142
142
|
})),
|
|
143
143
|
"annotatedModule": type(group({
|
|
144
|
-
"status":
|
|
145
|
-
"algorithms":
|
|
144
|
+
"status": prop(component(typeReference("annotatedStatus"))),
|
|
145
|
+
"algorithms": prop(dictionary(component(typeReference("annotatedAlgorithm")))),
|
|
146
146
|
})),
|
|
147
147
|
"annotatedAlgorithm": type(group({
|
|
148
|
-
"location":
|
|
149
|
-
"status":
|
|
150
|
-
"tests":
|
|
148
|
+
"location": prop(component(typeReference("Source Location"))),
|
|
149
|
+
"status": prop(component(typeReference("annotatedStatus"))),
|
|
150
|
+
"tests": prop(dictionary(component(typeReference("annotatedTest")))),
|
|
151
151
|
})),
|
|
152
152
|
"annotatedTest": type(group({
|
|
153
|
-
"status":
|
|
154
|
-
"errors":
|
|
153
|
+
"status": prop(component(typeReference("annotatedStatus"))),
|
|
154
|
+
"errors": prop(list(component(typeReference("Error")))),
|
|
155
155
|
})),
|
|
156
156
|
}),
|
|
157
157
|
},
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import * as pd from 'pareto-core-data'
|
|
2
2
|
|
|
3
|
-
import * as g_project from "pareto-pure/auto.dist/public/auto.glossaries/auto.
|
|
3
|
+
import * as g_project from "pareto-pure/auto.dist/public/auto.glossaries/auto.pareto_4gl_type_system"
|
|
4
4
|
|
|
5
5
|
const d = pd.d
|
|
6
|
-
import { } from "pareto-pure/auto.dist/public/shorthands/
|
|
6
|
+
import { } from "pareto-pure/auto.dist/public/shorthands/pareto_4gl_type_system.sh"
|
|
7
7
|
|
|
8
8
|
import { $ as d_array } from "./modules/array/api.data"
|
|
9
9
|
import { $ as d_boolean } from "./modules/boolean/api.data"
|
|
@@ -1,20 +1,37 @@
|
|
|
1
1
|
import * as pd from 'pareto-core-data'
|
|
2
2
|
|
|
3
|
-
import { algorithm, algref, api } from "pareto-pure/auto.dist/public/shorthands/
|
|
3
|
+
import { algorithm, algref, api } from "pareto-pure/auto.dist/public/shorthands/pareto_4gl_type_system.sh"
|
|
4
4
|
|
|
5
|
-
import * as g_project from "pareto-pure/auto.dist/public/auto.glossaries/auto.
|
|
5
|
+
import * as g_project from "pareto-pure/auto.dist/public/auto.glossaries/auto.pareto_4gl_type_system"
|
|
6
6
|
|
|
7
7
|
import { $ as glos } from "./glossary.data"
|
|
8
8
|
|
|
9
9
|
export const $: g_project.D.API = api(
|
|
10
10
|
glos,
|
|
11
11
|
{
|
|
12
|
-
"flattenArrayOfArrays": algorithm(
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
"
|
|
16
|
-
|
|
17
|
-
|
|
12
|
+
"flattenArrayOfArrays": algorithm([
|
|
13
|
+
`flatten an array of arrays`,
|
|
14
|
+
], "FlattenArrayOfArrays", {}),
|
|
15
|
+
"append": algorithm([
|
|
16
|
+
`append an element to the end of an array`,
|
|
17
|
+
], "Append", {}),
|
|
18
|
+
"prepend": algorithm([
|
|
19
|
+
`prepend an element to the beginning of an array`
|
|
20
|
+
], "Prepend", {}),
|
|
21
|
+
"zip": algorithm([
|
|
22
|
+
`zip two arrays together`,
|
|
23
|
+
`the length of the resulting array is the length of the shortest input array`
|
|
24
|
+
], "Zip", {}),
|
|
25
|
+
"flattenTree": algorithm([
|
|
26
|
+
`flatten a tree of values`,
|
|
27
|
+
`every node can be either an array, nothing or a value`
|
|
28
|
+
], "FlattenTree", {}),
|
|
29
|
+
"unsafeSortTopologically": algorithm([
|
|
30
|
+
`sort a dictionary topologically`,
|
|
31
|
+
`the dictionary entries contains a value and a dictionary without values (only keys) that represent the dependencies`,
|
|
32
|
+
`if a circular dependency is detected, a panic is thrown`,
|
|
33
|
+
`the result is an array of key/value pairs`
|
|
34
|
+
], "SortTopologically", {}),
|
|
18
35
|
|
|
19
36
|
}
|
|
20
37
|
)
|
package/auto.pareto/auto.dependencies/pareto-standard-library/modules/array/glossary.data.ts
CHANGED
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
group,
|
|
10
10
|
integer,
|
|
11
11
|
list,
|
|
12
|
-
|
|
12
|
+
prop,
|
|
13
13
|
nothing,
|
|
14
14
|
optional,
|
|
15
15
|
parametrizedType,
|
|
@@ -19,9 +19,9 @@ import {
|
|
|
19
19
|
type,
|
|
20
20
|
typeParameter,
|
|
21
21
|
typeReference,
|
|
22
|
-
} from "pareto-pure/auto.dist/public/shorthands/
|
|
22
|
+
} from "pareto-pure/auto.dist/public/shorthands/pareto_4gl_type_system.sh"
|
|
23
23
|
|
|
24
|
-
import * as g_glossary from "pareto-pure/auto.dist/public/auto.glossaries/auto.
|
|
24
|
+
import * as g_glossary from "pareto-pure/auto.dist/public/auto.glossaries/auto.pareto_4gl_type_system"
|
|
25
25
|
|
|
26
26
|
const d = pd.d
|
|
27
27
|
|
|
@@ -42,8 +42,8 @@ export const $: g_glossary.D.Glossary = {
|
|
|
42
42
|
"ZippedArray": parametrizedType(
|
|
43
43
|
{ "Benchmark": null, "Focus": null },
|
|
44
44
|
list(group({
|
|
45
|
-
"benchmark":
|
|
46
|
-
"focus":
|
|
45
|
+
"benchmark": prop(component(typeParameter("Benchmark"))),
|
|
46
|
+
"focus": prop(component(typeParameter("Focus"))),
|
|
47
47
|
}))
|
|
48
48
|
),
|
|
49
49
|
|
|
@@ -55,22 +55,22 @@ export const $: g_glossary.D.Glossary = {
|
|
|
55
55
|
"AppendParameters": parametrizedType(
|
|
56
56
|
{ "Type": null },
|
|
57
57
|
group({
|
|
58
|
-
"array":
|
|
59
|
-
"element":
|
|
58
|
+
"array": prop(component(typeReference("Array", { "Type": typeParameter("Type") }))),
|
|
59
|
+
"element": prop(component(typeParameter("Type"))),
|
|
60
60
|
})
|
|
61
61
|
),
|
|
62
62
|
"PrependParameters": parametrizedType(
|
|
63
63
|
{ "Type": null },
|
|
64
64
|
group({
|
|
65
|
-
"array":
|
|
66
|
-
"element":
|
|
65
|
+
"array": prop(component(typeReference("Array", { "Type": typeParameter("Type") }))),
|
|
66
|
+
"element": prop(component(typeParameter("Type"))),
|
|
67
67
|
})
|
|
68
68
|
),
|
|
69
69
|
"ArrayTuple": parametrizedType(
|
|
70
70
|
{ "Benchmark": null, "Focus": null },
|
|
71
71
|
group({
|
|
72
|
-
"benchmark":
|
|
73
|
-
"focus":
|
|
72
|
+
"benchmark": prop(component(typeReference("Array", { "Type": typeParameter("Benchmark") }))),
|
|
73
|
+
"focus": prop(component(typeReference("Array", { "Type": typeParameter("Focus") }))),
|
|
74
74
|
})
|
|
75
75
|
),
|
|
76
76
|
"Nested": parametrizedType({ "Type": null }, stateGroup({
|
|
@@ -80,20 +80,20 @@ export const $: g_glossary.D.Glossary = {
|
|
|
80
80
|
})),
|
|
81
81
|
// "Array": parametrizedType({ "Type": null }, list(component(typeReference("KeyValuePair", { "Type": typeParameter("Type") })))),
|
|
82
82
|
// "KeyValuePair": parametrizedType({ "Type": null }, group({
|
|
83
|
-
// "key":
|
|
84
|
-
// "value":
|
|
83
|
+
// "key": prop(text()),
|
|
84
|
+
// "value": prop(component(typeParameter("Type"))),
|
|
85
85
|
// })),
|
|
86
86
|
|
|
87
87
|
"DependencyDictionary": parametrizedType({ "Type": null }, dictionary(group({
|
|
88
|
-
"value":
|
|
89
|
-
"dependencies":
|
|
88
|
+
"value": prop(component(typeParameter("Type"))),
|
|
89
|
+
"dependencies": prop(dictionary(nothing())),
|
|
90
90
|
}))),
|
|
91
91
|
|
|
92
92
|
|
|
93
93
|
"KeyValuePairArray": parametrizedType({ "Type": null }, list(component(typeReference("KeyValuePair", { "Type": typeParameter("Type") })))),
|
|
94
94
|
"KeyValuePair": parametrizedType({ "Type": null }, group({
|
|
95
|
-
"key":
|
|
96
|
-
"value":
|
|
95
|
+
"key": prop(text()),
|
|
96
|
+
"value": prop(component(typeParameter("Type"))),
|
|
97
97
|
})),
|
|
98
98
|
|
|
99
99
|
}),
|
|
@@ -1,20 +1,34 @@
|
|
|
1
1
|
import * as pd from 'pareto-core-data'
|
|
2
2
|
|
|
3
|
-
import { algorithm, algref, api } from "pareto-pure/auto.dist/public/shorthands/
|
|
3
|
+
import { algorithm, algref, api } from "pareto-pure/auto.dist/public/shorthands/pareto_4gl_type_system.sh"
|
|
4
4
|
|
|
5
|
-
import * as g_project from "pareto-pure/auto.dist/public/auto.glossaries/auto.
|
|
5
|
+
import * as g_project from "pareto-pure/auto.dist/public/auto.glossaries/auto.pareto_4gl_type_system"
|
|
6
6
|
|
|
7
7
|
import { $ as glos } from "./glossary.data"
|
|
8
8
|
|
|
9
9
|
export const $: g_project.D.API = api(
|
|
10
10
|
glos,
|
|
11
11
|
{
|
|
12
|
-
"array and": algorithm(
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
"
|
|
16
|
-
|
|
17
|
-
"
|
|
18
|
-
"
|
|
12
|
+
"array and": algorithm([
|
|
13
|
+
`return true if all input values are true, false otherwise`,
|
|
14
|
+
], "Array And", {}),
|
|
15
|
+
"array or": algorithm([
|
|
16
|
+
`return true if at least one of the input values is true, false otherwise`,
|
|
17
|
+
], "Array Or", {}),
|
|
18
|
+
"array xor": algorithm([
|
|
19
|
+
`return true if an odd number of input values is true, false otherwise`,
|
|
20
|
+
], "Array Xor", {}),
|
|
21
|
+
"and": algorithm([
|
|
22
|
+
`return true if both input values are true, false otherwise`,
|
|
23
|
+
], "And", {}),
|
|
24
|
+
"or": algorithm([
|
|
25
|
+
`return true if at least one of the input values is true, false otherwise`,
|
|
26
|
+
], "Or", {}),
|
|
27
|
+
"xor": algorithm([
|
|
28
|
+
`return true if exactly one of the input values is true, false otherwise`,
|
|
29
|
+
], "Xor", {}),
|
|
30
|
+
"not": algorithm([
|
|
31
|
+
`return true if the input value is false, false otherwise`,
|
|
32
|
+
], "Not", {}),
|
|
19
33
|
}
|
|
20
34
|
)
|
package/auto.pareto/auto.dependencies/pareto-standard-library/modules/boolean/glossary.data.ts
CHANGED
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
group,
|
|
10
10
|
integer,
|
|
11
11
|
list,
|
|
12
|
-
|
|
12
|
+
prop,
|
|
13
13
|
nothing,
|
|
14
14
|
optional,
|
|
15
15
|
parametrizedType,
|
|
@@ -19,9 +19,9 @@ import {
|
|
|
19
19
|
type,
|
|
20
20
|
typeParameter,
|
|
21
21
|
typeReference,
|
|
22
|
-
} from "pareto-pure/auto.dist/public/shorthands/
|
|
22
|
+
} from "pareto-pure/auto.dist/public/shorthands/pareto_4gl_type_system.sh"
|
|
23
23
|
|
|
24
|
-
import * as g_glossary from "pareto-pure/auto.dist/public/auto.glossaries/auto.
|
|
24
|
+
import * as g_glossary from "pareto-pure/auto.dist/public/auto.glossaries/auto.pareto_4gl_type_system"
|
|
25
25
|
const d = pd.d
|
|
26
26
|
|
|
27
27
|
export const $: g_glossary.D.Glossary = {
|
|
@@ -34,8 +34,8 @@ export const $: g_glossary.D.Glossary = {
|
|
|
34
34
|
'data types': d({
|
|
35
35
|
"Boolean": type(boolean()),
|
|
36
36
|
"Pair Of Booleans": type(group({
|
|
37
|
-
"yin":
|
|
38
|
-
"yang":
|
|
37
|
+
"yin": prop(boolean()),
|
|
38
|
+
"yang": prop(boolean()),
|
|
39
39
|
})),
|
|
40
40
|
"Array Of Booleans": type(list(boolean())),
|
|
41
41
|
}),
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import * as pd from 'pareto-core-data'
|
|
2
2
|
|
|
3
|
-
import { algorithm, algref, api } from "pareto-pure/auto.dist/public/shorthands/
|
|
3
|
+
import { algorithm, algref, api } from "pareto-pure/auto.dist/public/shorthands/pareto_4gl_type_system.sh"
|
|
4
4
|
|
|
5
|
-
import * as g_project from "pareto-pure/auto.dist/public/auto.glossaries/auto.
|
|
5
|
+
import * as g_project from "pareto-pure/auto.dist/public/auto.glossaries/auto.pareto_4gl_type_system"
|
|
6
6
|
|
|
7
7
|
import { $ as glos } from "./glossary.data"
|
|
8
8
|
|
|
@@ -13,10 +13,10 @@ export const $: g_project.D.API = api(
|
|
|
13
13
|
// "buildUnsafeDictionary": algorithm("BuildUnsafeDictionary", {}),
|
|
14
14
|
// "buildSafeDictionary": algorithm("BuildSafeDictionary", "DictionaryBuildStrategy", {}, {
|
|
15
15
|
// }),
|
|
16
|
-
"createUnsafeDictionaryBuilder": algorithm("CreateUnsafeDictionaryBuilder", {}),
|
|
16
|
+
"createUnsafeDictionaryBuilder": algorithm([], "CreateUnsafeDictionaryBuilder", {}),
|
|
17
17
|
//"createSafeDictionaryBuilder": algorithm("CreateSafeDictionaryBuilder", {}),
|
|
18
|
-
"createArrayBuilder": algorithm("CreateArrayBuilder", {}),
|
|
18
|
+
"createArrayBuilder": algorithm([], "CreateArrayBuilder", {}),
|
|
19
19
|
|
|
20
|
-
"createStringBuilder": algorithm("CreateStringBuilder", {}),
|
|
20
|
+
"createStringBuilder": algorithm([], "CreateStringBuilder", {}),
|
|
21
21
|
}
|
|
22
22
|
)
|
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
group,
|
|
10
10
|
integer,
|
|
11
11
|
list,
|
|
12
|
-
|
|
12
|
+
prop,
|
|
13
13
|
nothing,
|
|
14
14
|
optional,
|
|
15
15
|
parametrizedType,
|
|
@@ -28,9 +28,9 @@ import {
|
|
|
28
28
|
sInterfaceMethod,
|
|
29
29
|
streamconsumer,
|
|
30
30
|
|
|
31
|
-
} from "pareto-pure/auto.dist/public/shorthands/
|
|
31
|
+
} from "pareto-pure/auto.dist/public/shorthands/pareto_4gl_type_system.sh"
|
|
32
32
|
|
|
33
|
-
import * as g_glossary from "pareto-pure/auto.dist/public/auto.glossaries/auto.
|
|
33
|
+
import * as g_glossary from "pareto-pure/auto.dist/public/auto.glossaries/auto.pareto_4gl_type_system"
|
|
34
34
|
const d = pd.d
|
|
35
35
|
|
|
36
36
|
export const $: g_glossary.D.Glossary = {
|
|
@@ -47,20 +47,20 @@ export const $: g_glossary.D.Glossary = {
|
|
|
47
47
|
"Simple String": type(text()),
|
|
48
48
|
|
|
49
49
|
"Array": parametrizedType({ "Type": null, "EndType": null }, group({
|
|
50
|
-
"array":
|
|
51
|
-
"end":
|
|
50
|
+
"array": prop(list(component(typeParameter("Type")))),
|
|
51
|
+
"end": prop(component(typeParameter("EndType"))),
|
|
52
52
|
})),
|
|
53
53
|
"Dictionary": parametrizedType({ "Type": null, "EndType": null }, group({
|
|
54
|
-
"dictionary":
|
|
55
|
-
"end":
|
|
54
|
+
"dictionary": prop(dictionary(component(typeParameter("Type")))),
|
|
55
|
+
"end": prop(component(typeParameter("EndType"))),
|
|
56
56
|
})),
|
|
57
57
|
"String": parametrizedType({ "EndType": null }, group({
|
|
58
|
-
"string":
|
|
59
|
-
"end":
|
|
58
|
+
"string": prop(text()),
|
|
59
|
+
"end": prop(component(typeParameter("EndType"))),
|
|
60
60
|
})),
|
|
61
61
|
"KeyValuePair": parametrizedType({ "Type": null }, group({
|
|
62
|
-
"key":
|
|
63
|
-
"value":
|
|
62
|
+
"key": prop(text()),
|
|
63
|
+
"value": prop(component(typeParameter("Type"))),
|
|
64
64
|
})),
|
|
65
65
|
|
|
66
66
|
"DictionaryBuildStrategy": type(stateGroup({
|
package/auto.pareto/auto.dependencies/pareto-standard-library/modules/dictionary/api.data.ts
CHANGED
|
@@ -1,53 +1,58 @@
|
|
|
1
1
|
import * as pd from 'pareto-core-data'
|
|
2
2
|
|
|
3
|
-
import { algorithm, algref, api } from "pareto-pure/auto.dist/public/shorthands/
|
|
3
|
+
import { algorithm, algref, api } from "pareto-pure/auto.dist/public/shorthands/pareto_4gl_type_system.sh"
|
|
4
4
|
|
|
5
|
-
import * as g_project from "pareto-pure/auto.dist/public/auto.glossaries/auto.
|
|
5
|
+
import * as g_project from "pareto-pure/auto.dist/public/auto.glossaries/auto.pareto_4gl_type_system"
|
|
6
6
|
|
|
7
7
|
import { $ as glos } from "./glossary.data"
|
|
8
8
|
|
|
9
9
|
export const $: g_project.D.API = api(
|
|
10
10
|
glos,
|
|
11
11
|
{
|
|
12
|
-
"decorateDictionaryEntriesWithKey": algorithm(
|
|
12
|
+
"decorateDictionaryEntriesWithKey": algorithm([
|
|
13
|
+
`all dictionary entries are decorated with the key of the entry`,
|
|
14
|
+
`the key is added to the value of the entry`,
|
|
15
|
+
], "DecorateDictionaryEntriesWithKey", {}),
|
|
13
16
|
|
|
14
|
-
"filter": algorithm(
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
17
|
+
"filter": algorithm([
|
|
18
|
+
`a dictionary of optional values is filtered into a regular dictionary`,
|
|
19
|
+
`if the optional value is not set, the entry is not included in the result`,
|
|
20
|
+
`if the optional value is set, the entry is included in the result`,
|
|
21
|
+
], "Filter", {}),
|
|
22
|
+
"flattenDictionaryOfDictionaries": algorithm([
|
|
23
|
+
`flatten a dictionary of dictionaries`,
|
|
24
|
+
`the keys of the outermost dictionary is combined with the key of the innermost dictionary`,
|
|
25
|
+
`a separator is added between the keys`,
|
|
26
|
+
`if the separator appears in the keys of the outermost dictionary, it is escaped to guarantee uniqueness`,
|
|
27
|
+
], "FlattenDictionaryOfDictionaries", {}),
|
|
28
|
+
"mergeAndOverwrite": algorithm([
|
|
29
|
+
`2 dictionaries are combined into 1 dictionary`,
|
|
30
|
+
`is a key exists in both directories, only the entry of the secondary dictionary will be used`,
|
|
31
|
+
], "MergeAndOverwrite", {}),
|
|
32
|
+
"mergeAndIgnore": algorithm([
|
|
33
|
+
`2 dictionaries are combined into 1 dictionary`,
|
|
34
|
+
`is a key exists in both directories, only the entry of the primary dictionary will be used`,
|
|
35
|
+
], "MergeAndIgnore", {}),
|
|
36
|
+
"unsafeRekey": algorithm([
|
|
37
|
+
`a dictionary with containing entries with a value and a key candidate is transformed`,
|
|
38
|
+
`into a dictionary where the new key of the entry is the candidate`,
|
|
39
|
+
`if candidates are not unique the function panics`,
|
|
40
|
+
],"UnsafeRekey", {}),
|
|
41
|
+
"unsafeMerge": algorithm([
|
|
42
|
+
`2 dictionaries are combined into 1 dictionary`,
|
|
43
|
+
`if a key exists in both directories, the function panics`,
|
|
44
|
+
], "UnsafeMerge", {}),
|
|
45
|
+
"unsafeAddEntry": algorithm([
|
|
46
|
+
`a key/value pair is added to a dictionary resulting in a new dictionary`,
|
|
47
|
+
`if the key is not unique the function panics`,
|
|
48
|
+
], "UnsafeAddEntry", {}),
|
|
49
|
+
"wrapKeys": algorithm([
|
|
50
|
+
`prepends and appends strings to all keys in the dictionary`,
|
|
51
|
+
], "WrapKeys", {}),
|
|
52
|
+
"zip": algorithm([
|
|
53
|
+
`a focus dictionary is matched to a benchmark dictionary resulting in a result dictionary`,
|
|
54
|
+
`this last dictionary contains all entries found in the benchmark dictionary`,
|
|
55
|
+
`each entry value is optionally supplemented with the value of the focus entry, if found`,
|
|
56
|
+
], "Zip", {}),
|
|
52
57
|
}
|
|
53
58
|
)
|