firefly-compiler 0.4.34 → 0.4.35
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/bin/Release.ff +47 -4
- package/compiler/Compiler.ff +1 -0
- package/core/Digest.ff +51 -0
- package/core/NodeSystem.ff +1 -1
- package/core/Pair.ff +9 -0
- package/experimental/s3/S3.ff +126 -0
- package/output/js/ff/compiler/Builder.mjs +2 -0
- package/output/js/ff/compiler/Compiler.mjs +3 -1
- package/output/js/ff/compiler/Dependencies.mjs +2 -0
- package/output/js/ff/compiler/DependencyLock.mjs +2 -0
- package/output/js/ff/compiler/Deriver.mjs +2 -0
- package/output/js/ff/compiler/Dictionaries.mjs +2 -0
- package/output/js/ff/compiler/Environment.mjs +2 -0
- package/output/js/ff/compiler/Inference.mjs +2 -0
- package/output/js/ff/compiler/JsEmitter.mjs +2 -0
- package/output/js/ff/compiler/JsImporter.mjs +2 -0
- package/output/js/ff/compiler/LspHook.mjs +2 -0
- package/output/js/ff/compiler/Main.mjs +2 -0
- package/output/js/ff/compiler/ModuleCache.mjs +2 -0
- package/output/js/ff/compiler/Parser.mjs +2 -0
- package/output/js/ff/compiler/Patterns.mjs +2 -0
- package/output/js/ff/compiler/Resolver.mjs +2 -0
- package/output/js/ff/compiler/Substitution.mjs +2 -0
- package/output/js/ff/compiler/Syntax.mjs +2 -0
- package/output/js/ff/compiler/Token.mjs +2 -0
- package/output/js/ff/compiler/Tokenizer.mjs +2 -0
- package/output/js/ff/compiler/Unification.mjs +2 -0
- package/output/js/ff/compiler/Wildcards.mjs +2 -0
- package/output/js/ff/compiler/Workspace.mjs +2 -0
- package/output/js/ff/core/Any.mjs +2 -0
- package/output/js/ff/core/Array.mjs +2 -0
- package/output/js/ff/core/AssetSystem.mjs +2 -0
- package/output/js/ff/core/Atomic.mjs +2 -0
- package/output/js/ff/core/Bool.mjs +2 -0
- package/output/js/ff/core/BrowserSystem.mjs +2 -0
- package/output/js/ff/core/Buffer.mjs +2 -0
- package/output/js/ff/core/BuildSystem.mjs +2 -0
- package/output/js/ff/core/Channel.mjs +2 -0
- package/output/js/ff/core/Char.mjs +2 -0
- package/output/js/ff/core/Core.mjs +2 -0
- package/output/js/ff/core/Digest.mjs +190 -0
- package/output/js/ff/core/Duration.mjs +2 -0
- package/output/js/ff/core/Equal.mjs +2 -0
- package/output/js/ff/core/Error.mjs +2 -0
- package/output/js/ff/core/FileHandle.mjs +2 -0
- package/output/js/ff/core/Float.mjs +2 -0
- package/output/js/ff/core/HttpClient.mjs +2 -0
- package/output/js/ff/core/Instant.mjs +2 -0
- package/output/js/ff/core/Int.mjs +2 -0
- package/output/js/ff/core/IntMap.mjs +2 -0
- package/output/js/ff/core/JsSystem.mjs +2 -0
- package/output/js/ff/core/JsValue.mjs +2 -0
- package/output/js/ff/core/Json.mjs +2 -0
- package/output/js/ff/core/List.mjs +2 -0
- package/output/js/ff/core/Lock.mjs +2 -0
- package/output/js/ff/core/Log.mjs +2 -0
- package/output/js/ff/core/Map.mjs +2 -0
- package/output/js/ff/core/NodeSystem.mjs +3 -1
- package/output/js/ff/core/Nothing.mjs +2 -0
- package/output/js/ff/core/Option.mjs +2 -0
- package/output/js/ff/core/Ordering.mjs +2 -0
- package/output/js/ff/core/Pair.mjs +10 -0
- package/output/js/ff/core/Path.mjs +2 -0
- package/output/js/ff/core/Random.mjs +2 -0
- package/output/js/ff/core/RbMap.mjs +2 -0
- package/output/js/ff/core/Serializable.mjs +2 -0
- package/output/js/ff/core/Set.mjs +2 -0
- package/output/js/ff/core/Show.mjs +2 -0
- package/output/js/ff/core/SourceLocation.mjs +2 -0
- package/output/js/ff/core/Stream.mjs +2 -0
- package/output/js/ff/core/String.mjs +2 -0
- package/output/js/ff/core/StringMap.mjs +2 -0
- package/output/js/ff/core/Task.mjs +2 -0
- package/output/js/ff/core/Try.mjs +2 -0
- package/output/js/ff/core/Unit.mjs +2 -0
- package/package.json +1 -1
- package/vscode/package.json +1 -1
|
@@ -0,0 +1,190 @@
|
|
|
1
|
+
import * as import$0 from 'node:crypto';
|
|
2
|
+
|
|
3
|
+
import * as ff_core_Any from "../../ff/core/Any.mjs"
|
|
4
|
+
|
|
5
|
+
import * as ff_core_Array from "../../ff/core/Array.mjs"
|
|
6
|
+
|
|
7
|
+
import * as ff_core_AssetSystem from "../../ff/core/AssetSystem.mjs"
|
|
8
|
+
|
|
9
|
+
import * as ff_core_Atomic from "../../ff/core/Atomic.mjs"
|
|
10
|
+
|
|
11
|
+
import * as ff_core_Bool from "../../ff/core/Bool.mjs"
|
|
12
|
+
|
|
13
|
+
import * as ff_core_BrowserSystem from "../../ff/core/BrowserSystem.mjs"
|
|
14
|
+
|
|
15
|
+
import * as ff_core_Buffer from "../../ff/core/Buffer.mjs"
|
|
16
|
+
|
|
17
|
+
import * as ff_core_BuildSystem from "../../ff/core/BuildSystem.mjs"
|
|
18
|
+
|
|
19
|
+
import * as ff_core_Channel from "../../ff/core/Channel.mjs"
|
|
20
|
+
|
|
21
|
+
import * as ff_core_Char from "../../ff/core/Char.mjs"
|
|
22
|
+
|
|
23
|
+
import * as ff_core_Core from "../../ff/core/Core.mjs"
|
|
24
|
+
|
|
25
|
+
import * as ff_core_Digest from "../../ff/core/Digest.mjs"
|
|
26
|
+
|
|
27
|
+
import * as ff_core_Duration from "../../ff/core/Duration.mjs"
|
|
28
|
+
|
|
29
|
+
import * as ff_core_Equal from "../../ff/core/Equal.mjs"
|
|
30
|
+
|
|
31
|
+
import * as ff_core_Error from "../../ff/core/Error.mjs"
|
|
32
|
+
|
|
33
|
+
import * as ff_core_FileHandle from "../../ff/core/FileHandle.mjs"
|
|
34
|
+
|
|
35
|
+
import * as ff_core_Float from "../../ff/core/Float.mjs"
|
|
36
|
+
|
|
37
|
+
import * as ff_core_HttpClient from "../../ff/core/HttpClient.mjs"
|
|
38
|
+
|
|
39
|
+
import * as ff_core_Instant from "../../ff/core/Instant.mjs"
|
|
40
|
+
|
|
41
|
+
import * as ff_core_Int from "../../ff/core/Int.mjs"
|
|
42
|
+
|
|
43
|
+
import * as ff_core_IntMap from "../../ff/core/IntMap.mjs"
|
|
44
|
+
|
|
45
|
+
import * as ff_core_JsSystem from "../../ff/core/JsSystem.mjs"
|
|
46
|
+
|
|
47
|
+
import * as ff_core_JsValue from "../../ff/core/JsValue.mjs"
|
|
48
|
+
|
|
49
|
+
import * as ff_core_Json from "../../ff/core/Json.mjs"
|
|
50
|
+
|
|
51
|
+
import * as ff_core_List from "../../ff/core/List.mjs"
|
|
52
|
+
|
|
53
|
+
import * as ff_core_Lock from "../../ff/core/Lock.mjs"
|
|
54
|
+
|
|
55
|
+
import * as ff_core_Log from "../../ff/core/Log.mjs"
|
|
56
|
+
|
|
57
|
+
import * as ff_core_Map from "../../ff/core/Map.mjs"
|
|
58
|
+
|
|
59
|
+
import * as ff_core_NodeSystem from "../../ff/core/NodeSystem.mjs"
|
|
60
|
+
|
|
61
|
+
import * as ff_core_Nothing from "../../ff/core/Nothing.mjs"
|
|
62
|
+
|
|
63
|
+
import * as ff_core_Option from "../../ff/core/Option.mjs"
|
|
64
|
+
|
|
65
|
+
import * as ff_core_Ordering from "../../ff/core/Ordering.mjs"
|
|
66
|
+
|
|
67
|
+
import * as ff_core_Pair from "../../ff/core/Pair.mjs"
|
|
68
|
+
|
|
69
|
+
import * as ff_core_Path from "../../ff/core/Path.mjs"
|
|
70
|
+
|
|
71
|
+
import * as ff_core_Random from "../../ff/core/Random.mjs"
|
|
72
|
+
|
|
73
|
+
import * as ff_core_Serializable from "../../ff/core/Serializable.mjs"
|
|
74
|
+
|
|
75
|
+
import * as ff_core_Set from "../../ff/core/Set.mjs"
|
|
76
|
+
|
|
77
|
+
import * as ff_core_Show from "../../ff/core/Show.mjs"
|
|
78
|
+
|
|
79
|
+
import * as ff_core_SourceLocation from "../../ff/core/SourceLocation.mjs"
|
|
80
|
+
|
|
81
|
+
import * as ff_core_Stream from "../../ff/core/Stream.mjs"
|
|
82
|
+
|
|
83
|
+
import * as ff_core_String from "../../ff/core/String.mjs"
|
|
84
|
+
|
|
85
|
+
import * as ff_core_StringMap from "../../ff/core/StringMap.mjs"
|
|
86
|
+
|
|
87
|
+
import * as ff_core_Task from "../../ff/core/Task.mjs"
|
|
88
|
+
|
|
89
|
+
import * as ff_core_Try from "../../ff/core/Try.mjs"
|
|
90
|
+
|
|
91
|
+
import * as ff_core_Unit from "../../ff/core/Unit.mjs"
|
|
92
|
+
|
|
93
|
+
// type Digest
|
|
94
|
+
|
|
95
|
+
|
|
96
|
+
|
|
97
|
+
|
|
98
|
+
export function hmacSha256_(key_, buffer_ = ff_core_Buffer.new_(0)) {
|
|
99
|
+
return ff_core_Digest.new_("sha256", ff_core_Option.Some(key_), buffer_)
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
export function sha256_(buffer_ = ff_core_Buffer.new_(0)) {
|
|
103
|
+
return ff_core_Digest.new_("sha256", ff_core_Option.None(), buffer_)
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
export function new_(algorithm_, hmacKey_ = ff_core_Option.None(), buffer_ = ff_core_Buffer.new_(0)) {
|
|
107
|
+
|
|
108
|
+
const crypto = import$0
|
|
109
|
+
const digest = typeof hmacKey_.value_ !== 'undefined'
|
|
110
|
+
? crypto.createHmac(algorithm_, hmacKey_.value_)
|
|
111
|
+
: crypto.createHash(algorithm_);
|
|
112
|
+
if(buffer_.byteLength > 0) digest.update(buffer_);
|
|
113
|
+
return digest;
|
|
114
|
+
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
export async function hmacSha256_$(key_, buffer_ = ff_core_Buffer.new_(0), $task) {
|
|
118
|
+
return ff_core_Digest.new_("sha256", ff_core_Option.Some(key_), buffer_)
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
export async function sha256_$(buffer_ = ff_core_Buffer.new_(0), $task) {
|
|
122
|
+
return ff_core_Digest.new_("sha256", ff_core_Option.None(), buffer_)
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
export async function new_$(algorithm_, hmacKey_ = ff_core_Option.None(), buffer_ = ff_core_Buffer.new_(0), $task) {
|
|
126
|
+
throw new Error('Function new is missing on this target in async context.');
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
export function Digest_writeText(self_, text_, encoding_ = "utf8") {
|
|
130
|
+
|
|
131
|
+
self_.update(text_, encoding_);
|
|
132
|
+
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
export function Digest_writeBuffer(self_, buffer_) {
|
|
136
|
+
|
|
137
|
+
self_.update(buffer_);
|
|
138
|
+
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
export function Digest_writeStream(self_, stream_) {
|
|
142
|
+
ff_core_Stream.Stream_each(stream_, ((_w1) => {
|
|
143
|
+
ff_core_Digest.Digest_writeBuffer(self_, _w1)
|
|
144
|
+
}))
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
export function Digest_toBuffer(self_) {
|
|
148
|
+
|
|
149
|
+
const b = self_.digest();
|
|
150
|
+
return new DataView(b.buffer, b.byteOffset, b.length);
|
|
151
|
+
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
export function Digest_toHex(self_) {
|
|
155
|
+
return ff_core_Buffer.Buffer_toHex(ff_core_Digest.Digest_toBuffer(self_))
|
|
156
|
+
}
|
|
157
|
+
|
|
158
|
+
export function Digest_toBase64(self_) {
|
|
159
|
+
return ff_core_Buffer.Buffer_toBase64(ff_core_Digest.Digest_toBuffer(self_))
|
|
160
|
+
}
|
|
161
|
+
|
|
162
|
+
export async function Digest_writeText$(self_, text_, encoding_ = "utf8", $task) {
|
|
163
|
+
throw new Error('Function Digest_writeText is missing on this target in async context.');
|
|
164
|
+
}
|
|
165
|
+
|
|
166
|
+
export async function Digest_writeBuffer$(self_, buffer_, $task) {
|
|
167
|
+
throw new Error('Function Digest_writeBuffer is missing on this target in async context.');
|
|
168
|
+
}
|
|
169
|
+
|
|
170
|
+
export async function Digest_writeStream$(self_, stream_, $task) {
|
|
171
|
+
(await ff_core_Stream.Stream_each$(stream_, (async (_w1, $task) => {
|
|
172
|
+
ff_core_Digest.Digest_writeBuffer(self_, _w1)
|
|
173
|
+
}), $task))
|
|
174
|
+
}
|
|
175
|
+
|
|
176
|
+
export async function Digest_toBuffer$(self_, $task) {
|
|
177
|
+
throw new Error('Function Digest_toBuffer is missing on this target in async context.');
|
|
178
|
+
}
|
|
179
|
+
|
|
180
|
+
export async function Digest_toHex$(self_, $task) {
|
|
181
|
+
return ff_core_Buffer.Buffer_toHex(ff_core_Digest.Digest_toBuffer(self_))
|
|
182
|
+
}
|
|
183
|
+
|
|
184
|
+
export async function Digest_toBase64$(self_, $task) {
|
|
185
|
+
return ff_core_Buffer.Buffer_toBase64(ff_core_Digest.Digest_toBuffer(self_))
|
|
186
|
+
}
|
|
187
|
+
|
|
188
|
+
|
|
189
|
+
|
|
190
|
+
|
|
@@ -22,6 +22,8 @@ import * as ff_core_Char from "../../ff/core/Char.mjs"
|
|
|
22
22
|
|
|
23
23
|
import * as ff_core_Core from "../../ff/core/Core.mjs"
|
|
24
24
|
|
|
25
|
+
import * as ff_core_Digest from "../../ff/core/Digest.mjs"
|
|
26
|
+
|
|
25
27
|
import * as ff_core_Duration from "../../ff/core/Duration.mjs"
|
|
26
28
|
|
|
27
29
|
import * as ff_core_Equal from "../../ff/core/Equal.mjs"
|
|
@@ -22,6 +22,8 @@ import * as ff_core_Char from "../../ff/core/Char.mjs"
|
|
|
22
22
|
|
|
23
23
|
import * as ff_core_Core from "../../ff/core/Core.mjs"
|
|
24
24
|
|
|
25
|
+
import * as ff_core_Digest from "../../ff/core/Digest.mjs"
|
|
26
|
+
|
|
25
27
|
import * as ff_core_Duration from "../../ff/core/Duration.mjs"
|
|
26
28
|
|
|
27
29
|
import * as ff_core_Equal from "../../ff/core/Equal.mjs"
|
|
@@ -22,6 +22,8 @@ import * as ff_core_Char from "../../ff/core/Char.mjs"
|
|
|
22
22
|
|
|
23
23
|
import * as ff_core_Core from "../../ff/core/Core.mjs"
|
|
24
24
|
|
|
25
|
+
import * as ff_core_Digest from "../../ff/core/Digest.mjs"
|
|
26
|
+
|
|
25
27
|
import * as ff_core_Duration from "../../ff/core/Duration.mjs"
|
|
26
28
|
|
|
27
29
|
import * as ff_core_Equal from "../../ff/core/Equal.mjs"
|
|
@@ -22,6 +22,8 @@ import * as ff_core_Char from "../../ff/core/Char.mjs"
|
|
|
22
22
|
|
|
23
23
|
import * as ff_core_Core from "../../ff/core/Core.mjs"
|
|
24
24
|
|
|
25
|
+
import * as ff_core_Digest from "../../ff/core/Digest.mjs"
|
|
26
|
+
|
|
25
27
|
import * as ff_core_Duration from "../../ff/core/Duration.mjs"
|
|
26
28
|
|
|
27
29
|
import * as ff_core_Equal from "../../ff/core/Equal.mjs"
|
|
@@ -22,6 +22,8 @@ import * as ff_core_Char from "../../ff/core/Char.mjs"
|
|
|
22
22
|
|
|
23
23
|
import * as ff_core_Core from "../../ff/core/Core.mjs"
|
|
24
24
|
|
|
25
|
+
import * as ff_core_Digest from "../../ff/core/Digest.mjs"
|
|
26
|
+
|
|
25
27
|
import * as ff_core_Duration from "../../ff/core/Duration.mjs"
|
|
26
28
|
|
|
27
29
|
import * as ff_core_Equal from "../../ff/core/Equal.mjs"
|
|
@@ -22,6 +22,8 @@ import * as ff_core_Char from "../../ff/core/Char.mjs"
|
|
|
22
22
|
|
|
23
23
|
import * as ff_core_Core from "../../ff/core/Core.mjs"
|
|
24
24
|
|
|
25
|
+
import * as ff_core_Digest from "../../ff/core/Digest.mjs"
|
|
26
|
+
|
|
25
27
|
import * as ff_core_Duration from "../../ff/core/Duration.mjs"
|
|
26
28
|
|
|
27
29
|
import * as ff_core_Equal from "../../ff/core/Equal.mjs"
|
|
@@ -22,6 +22,8 @@ import * as ff_core_Char from "../../ff/core/Char.mjs"
|
|
|
22
22
|
|
|
23
23
|
import * as ff_core_Core from "../../ff/core/Core.mjs"
|
|
24
24
|
|
|
25
|
+
import * as ff_core_Digest from "../../ff/core/Digest.mjs"
|
|
26
|
+
|
|
25
27
|
import * as ff_core_Duration from "../../ff/core/Duration.mjs"
|
|
26
28
|
|
|
27
29
|
import * as ff_core_Equal from "../../ff/core/Equal.mjs"
|
|
@@ -22,6 +22,8 @@ import * as ff_core_Char from "../../ff/core/Char.mjs"
|
|
|
22
22
|
|
|
23
23
|
import * as ff_core_Core from "../../ff/core/Core.mjs"
|
|
24
24
|
|
|
25
|
+
import * as ff_core_Digest from "../../ff/core/Digest.mjs"
|
|
26
|
+
|
|
25
27
|
import * as ff_core_Duration from "../../ff/core/Duration.mjs"
|
|
26
28
|
|
|
27
29
|
import * as ff_core_Equal from "../../ff/core/Equal.mjs"
|
|
@@ -22,6 +22,8 @@ import * as ff_core_Char from "../../ff/core/Char.mjs"
|
|
|
22
22
|
|
|
23
23
|
import * as ff_core_Core from "../../ff/core/Core.mjs"
|
|
24
24
|
|
|
25
|
+
import * as ff_core_Digest from "../../ff/core/Digest.mjs"
|
|
26
|
+
|
|
25
27
|
import * as ff_core_Duration from "../../ff/core/Duration.mjs"
|
|
26
28
|
|
|
27
29
|
import * as ff_core_Equal from "../../ff/core/Equal.mjs"
|
|
@@ -22,6 +22,8 @@ import * as ff_core_Char from "../../ff/core/Char.mjs"
|
|
|
22
22
|
|
|
23
23
|
import * as ff_core_Core from "../../ff/core/Core.mjs"
|
|
24
24
|
|
|
25
|
+
import * as ff_core_Digest from "../../ff/core/Digest.mjs"
|
|
26
|
+
|
|
25
27
|
import * as ff_core_Duration from "../../ff/core/Duration.mjs"
|
|
26
28
|
|
|
27
29
|
import * as ff_core_Equal from "../../ff/core/Equal.mjs"
|
|
@@ -22,6 +22,8 @@ import * as ff_core_Char from "../../ff/core/Char.mjs"
|
|
|
22
22
|
|
|
23
23
|
import * as ff_core_Core from "../../ff/core/Core.mjs"
|
|
24
24
|
|
|
25
|
+
import * as ff_core_Digest from "../../ff/core/Digest.mjs"
|
|
26
|
+
|
|
25
27
|
import * as ff_core_Duration from "../../ff/core/Duration.mjs"
|
|
26
28
|
|
|
27
29
|
import * as ff_core_Equal from "../../ff/core/Equal.mjs"
|
|
@@ -22,6 +22,8 @@ import * as ff_core_Char from "../../ff/core/Char.mjs"
|
|
|
22
22
|
|
|
23
23
|
import * as ff_core_Core from "../../ff/core/Core.mjs"
|
|
24
24
|
|
|
25
|
+
import * as ff_core_Digest from "../../ff/core/Digest.mjs"
|
|
26
|
+
|
|
25
27
|
import * as ff_core_Duration from "../../ff/core/Duration.mjs"
|
|
26
28
|
|
|
27
29
|
import * as ff_core_Equal from "../../ff/core/Equal.mjs"
|
|
@@ -22,6 +22,8 @@ import * as ff_core_Char from "../../ff/core/Char.mjs"
|
|
|
22
22
|
|
|
23
23
|
import * as ff_core_Core from "../../ff/core/Core.mjs"
|
|
24
24
|
|
|
25
|
+
import * as ff_core_Digest from "../../ff/core/Digest.mjs"
|
|
26
|
+
|
|
25
27
|
import * as ff_core_Duration from "../../ff/core/Duration.mjs"
|
|
26
28
|
|
|
27
29
|
import * as ff_core_Equal from "../../ff/core/Equal.mjs"
|
|
@@ -22,6 +22,8 @@ import * as ff_core_Char from "../../ff/core/Char.mjs"
|
|
|
22
22
|
|
|
23
23
|
import * as ff_core_Core from "../../ff/core/Core.mjs"
|
|
24
24
|
|
|
25
|
+
import * as ff_core_Digest from "../../ff/core/Digest.mjs"
|
|
26
|
+
|
|
25
27
|
import * as ff_core_Duration from "../../ff/core/Duration.mjs"
|
|
26
28
|
|
|
27
29
|
import * as ff_core_Equal from "../../ff/core/Equal.mjs"
|
|
@@ -22,6 +22,8 @@ import * as ff_core_Char from "../../ff/core/Char.mjs"
|
|
|
22
22
|
|
|
23
23
|
import * as ff_core_Core from "../../ff/core/Core.mjs"
|
|
24
24
|
|
|
25
|
+
import * as ff_core_Digest from "../../ff/core/Digest.mjs"
|
|
26
|
+
|
|
25
27
|
import * as ff_core_Duration from "../../ff/core/Duration.mjs"
|
|
26
28
|
|
|
27
29
|
import * as ff_core_Equal from "../../ff/core/Equal.mjs"
|
|
@@ -22,6 +22,8 @@ import * as ff_core_Char from "../../ff/core/Char.mjs"
|
|
|
22
22
|
|
|
23
23
|
import * as ff_core_Core from "../../ff/core/Core.mjs"
|
|
24
24
|
|
|
25
|
+
import * as ff_core_Digest from "../../ff/core/Digest.mjs"
|
|
26
|
+
|
|
25
27
|
import * as ff_core_Duration from "../../ff/core/Duration.mjs"
|
|
26
28
|
|
|
27
29
|
import * as ff_core_Equal from "../../ff/core/Equal.mjs"
|
|
@@ -28,6 +28,8 @@ import * as ff_core_Char from "../../ff/core/Char.mjs"
|
|
|
28
28
|
|
|
29
29
|
import * as ff_core_Core from "../../ff/core/Core.mjs"
|
|
30
30
|
|
|
31
|
+
import * as ff_core_Digest from "../../ff/core/Digest.mjs"
|
|
32
|
+
|
|
31
33
|
import * as ff_core_Duration from "../../ff/core/Duration.mjs"
|
|
32
34
|
|
|
33
35
|
import * as ff_core_Equal from "../../ff/core/Equal.mjs"
|
|
@@ -401,7 +403,7 @@ export async function NodeSystem_execute$(self_, command_, arguments_, standardI
|
|
|
401
403
|
const o = Buffer.concat(out);
|
|
402
404
|
const e = Buffer.concat(err);
|
|
403
405
|
resolve(ProcessResult(
|
|
404
|
-
|
|
406
|
+
code,
|
|
405
407
|
new DataView(o.buffer, o.byteOffset, o.byteLength),
|
|
406
408
|
new DataView(e.buffer, e.byteOffset, e.byteLength),
|
|
407
409
|
));
|
|
@@ -22,6 +22,8 @@ import * as ff_core_Char from "../../ff/core/Char.mjs"
|
|
|
22
22
|
|
|
23
23
|
import * as ff_core_Core from "../../ff/core/Core.mjs"
|
|
24
24
|
|
|
25
|
+
import * as ff_core_Digest from "../../ff/core/Digest.mjs"
|
|
26
|
+
|
|
25
27
|
import * as ff_core_Duration from "../../ff/core/Duration.mjs"
|
|
26
28
|
|
|
27
29
|
import * as ff_core_Equal from "../../ff/core/Equal.mjs"
|
|
@@ -22,6 +22,8 @@ import * as ff_core_Char from "../../ff/core/Char.mjs"
|
|
|
22
22
|
|
|
23
23
|
import * as ff_core_Core from "../../ff/core/Core.mjs"
|
|
24
24
|
|
|
25
|
+
import * as ff_core_Digest from "../../ff/core/Digest.mjs"
|
|
26
|
+
|
|
25
27
|
import * as ff_core_Duration from "../../ff/core/Duration.mjs"
|
|
26
28
|
|
|
27
29
|
import * as ff_core_Equal from "../../ff/core/Equal.mjs"
|
|
@@ -22,6 +22,8 @@ import * as ff_core_Char from "../../ff/core/Char.mjs"
|
|
|
22
22
|
|
|
23
23
|
import * as ff_core_Core from "../../ff/core/Core.mjs"
|
|
24
24
|
|
|
25
|
+
import * as ff_core_Digest from "../../ff/core/Digest.mjs"
|
|
26
|
+
|
|
25
27
|
import * as ff_core_Duration from "../../ff/core/Duration.mjs"
|
|
26
28
|
|
|
27
29
|
import * as ff_core_Equal from "../../ff/core/Equal.mjs"
|
|
@@ -22,6 +22,8 @@ import * as ff_core_Char from "../../ff/core/Char.mjs"
|
|
|
22
22
|
|
|
23
23
|
import * as ff_core_Core from "../../ff/core/Core.mjs"
|
|
24
24
|
|
|
25
|
+
import * as ff_core_Digest from "../../ff/core/Digest.mjs"
|
|
26
|
+
|
|
25
27
|
import * as ff_core_Duration from "../../ff/core/Duration.mjs"
|
|
26
28
|
|
|
27
29
|
import * as ff_core_Equal from "../../ff/core/Equal.mjs"
|
|
@@ -199,6 +201,14 @@ export async function Pair_toMap$(self_, ff_core_Ordering_Order$A, $task) {
|
|
|
199
201
|
return ff_core_List.List_toMap([self_], ff_core_Ordering_Order$A)
|
|
200
202
|
}
|
|
201
203
|
|
|
204
|
+
export function Pair_join(self_, separator_ = "") {
|
|
205
|
+
return ((self_.first_ + separator_) + self_.second_)
|
|
206
|
+
}
|
|
207
|
+
|
|
208
|
+
export async function Pair_join$(self_, separator_ = "", $task) {
|
|
209
|
+
return ((self_.first_ + separator_) + self_.second_)
|
|
210
|
+
}
|
|
211
|
+
|
|
202
212
|
export function ff_core_Any_HasAnyTag$ff_core_Pair_Pair(ff_core_Any_HasAnyTag$A, ff_core_Any_HasAnyTag$B) { return {
|
|
203
213
|
anyTag_() {
|
|
204
214
|
return ff_core_Any.internalAnyTag_(((((("ff:core/Pair.Pair" + "[") + ff_core_Any.AnyTag_show(ff_core_Any_HasAnyTag$A.anyTag_())) + ",") + ff_core_Any.AnyTag_show(ff_core_Any_HasAnyTag$B.anyTag_())) + "]"))
|
|
@@ -28,6 +28,8 @@ import * as ff_core_Char from "../../ff/core/Char.mjs"
|
|
|
28
28
|
|
|
29
29
|
import * as ff_core_Core from "../../ff/core/Core.mjs"
|
|
30
30
|
|
|
31
|
+
import * as ff_core_Digest from "../../ff/core/Digest.mjs"
|
|
32
|
+
|
|
31
33
|
import * as ff_core_Duration from "../../ff/core/Duration.mjs"
|
|
32
34
|
|
|
33
35
|
import * as ff_core_Equal from "../../ff/core/Equal.mjs"
|
|
@@ -22,6 +22,8 @@ import * as ff_core_Char from "../../ff/core/Char.mjs"
|
|
|
22
22
|
|
|
23
23
|
import * as ff_core_Core from "../../ff/core/Core.mjs"
|
|
24
24
|
|
|
25
|
+
import * as ff_core_Digest from "../../ff/core/Digest.mjs"
|
|
26
|
+
|
|
25
27
|
import * as ff_core_Duration from "../../ff/core/Duration.mjs"
|
|
26
28
|
|
|
27
29
|
import * as ff_core_Equal from "../../ff/core/Equal.mjs"
|
|
@@ -24,6 +24,8 @@ import * as ff_core_Char from "../../ff/core/Char.mjs"
|
|
|
24
24
|
|
|
25
25
|
import * as ff_core_Core from "../../ff/core/Core.mjs"
|
|
26
26
|
|
|
27
|
+
import * as ff_core_Digest from "../../ff/core/Digest.mjs"
|
|
28
|
+
|
|
27
29
|
import * as ff_core_Duration from "../../ff/core/Duration.mjs"
|
|
28
30
|
|
|
29
31
|
import * as ff_core_Equal from "../../ff/core/Equal.mjs"
|
|
@@ -22,6 +22,8 @@ import * as ff_core_Char from "../../ff/core/Char.mjs"
|
|
|
22
22
|
|
|
23
23
|
import * as ff_core_Core from "../../ff/core/Core.mjs"
|
|
24
24
|
|
|
25
|
+
import * as ff_core_Digest from "../../ff/core/Digest.mjs"
|
|
26
|
+
|
|
25
27
|
import * as ff_core_Duration from "../../ff/core/Duration.mjs"
|
|
26
28
|
|
|
27
29
|
import * as ff_core_Equal from "../../ff/core/Equal.mjs"
|
|
@@ -22,6 +22,8 @@ import * as ff_core_Char from "../../ff/core/Char.mjs"
|
|
|
22
22
|
|
|
23
23
|
import * as ff_core_Core from "../../ff/core/Core.mjs"
|
|
24
24
|
|
|
25
|
+
import * as ff_core_Digest from "../../ff/core/Digest.mjs"
|
|
26
|
+
|
|
25
27
|
import * as ff_core_Duration from "../../ff/core/Duration.mjs"
|
|
26
28
|
|
|
27
29
|
import * as ff_core_Equal from "../../ff/core/Equal.mjs"
|
|
@@ -22,6 +22,8 @@ import * as ff_core_Char from "../../ff/core/Char.mjs"
|
|
|
22
22
|
|
|
23
23
|
import * as ff_core_Core from "../../ff/core/Core.mjs"
|
|
24
24
|
|
|
25
|
+
import * as ff_core_Digest from "../../ff/core/Digest.mjs"
|
|
26
|
+
|
|
25
27
|
import * as ff_core_Duration from "../../ff/core/Duration.mjs"
|
|
26
28
|
|
|
27
29
|
import * as ff_core_Equal from "../../ff/core/Equal.mjs"
|
|
@@ -22,6 +22,8 @@ import * as ff_core_Char from "../../ff/core/Char.mjs"
|
|
|
22
22
|
|
|
23
23
|
import * as ff_core_Core from "../../ff/core/Core.mjs"
|
|
24
24
|
|
|
25
|
+
import * as ff_core_Digest from "../../ff/core/Digest.mjs"
|
|
26
|
+
|
|
25
27
|
import * as ff_core_Duration from "../../ff/core/Duration.mjs"
|
|
26
28
|
|
|
27
29
|
import * as ff_core_Equal from "../../ff/core/Equal.mjs"
|
|
@@ -22,6 +22,8 @@ import * as ff_core_Char from "../../ff/core/Char.mjs"
|
|
|
22
22
|
|
|
23
23
|
import * as ff_core_Core from "../../ff/core/Core.mjs"
|
|
24
24
|
|
|
25
|
+
import * as ff_core_Digest from "../../ff/core/Digest.mjs"
|
|
26
|
+
|
|
25
27
|
import * as ff_core_Duration from "../../ff/core/Duration.mjs"
|
|
26
28
|
|
|
27
29
|
import * as ff_core_Equal from "../../ff/core/Equal.mjs"
|
|
@@ -22,6 +22,8 @@ import * as ff_core_Char from "../../ff/core/Char.mjs"
|
|
|
22
22
|
|
|
23
23
|
import * as ff_core_Core from "../../ff/core/Core.mjs"
|
|
24
24
|
|
|
25
|
+
import * as ff_core_Digest from "../../ff/core/Digest.mjs"
|
|
26
|
+
|
|
25
27
|
import * as ff_core_Duration from "../../ff/core/Duration.mjs"
|
|
26
28
|
|
|
27
29
|
import * as ff_core_Equal from "../../ff/core/Equal.mjs"
|
|
@@ -22,6 +22,8 @@ import * as ff_core_Char from "../../ff/core/Char.mjs"
|
|
|
22
22
|
|
|
23
23
|
import * as ff_core_Core from "../../ff/core/Core.mjs"
|
|
24
24
|
|
|
25
|
+
import * as ff_core_Digest from "../../ff/core/Digest.mjs"
|
|
26
|
+
|
|
25
27
|
import * as ff_core_Duration from "../../ff/core/Duration.mjs"
|
|
26
28
|
|
|
27
29
|
import * as ff_core_Equal from "../../ff/core/Equal.mjs"
|
|
@@ -22,6 +22,8 @@ import * as ff_core_Char from "../../ff/core/Char.mjs"
|
|
|
22
22
|
|
|
23
23
|
import * as ff_core_Core from "../../ff/core/Core.mjs"
|
|
24
24
|
|
|
25
|
+
import * as ff_core_Digest from "../../ff/core/Digest.mjs"
|
|
26
|
+
|
|
25
27
|
import * as ff_core_Duration from "../../ff/core/Duration.mjs"
|
|
26
28
|
|
|
27
29
|
import * as ff_core_Equal from "../../ff/core/Equal.mjs"
|
|
@@ -22,6 +22,8 @@ import * as ff_core_Char from "../../ff/core/Char.mjs"
|
|
|
22
22
|
|
|
23
23
|
import * as ff_core_Core from "../../ff/core/Core.mjs"
|
|
24
24
|
|
|
25
|
+
import * as ff_core_Digest from "../../ff/core/Digest.mjs"
|
|
26
|
+
|
|
25
27
|
import * as ff_core_Duration from "../../ff/core/Duration.mjs"
|
|
26
28
|
|
|
27
29
|
import * as ff_core_Equal from "../../ff/core/Equal.mjs"
|
|
@@ -22,6 +22,8 @@ import * as ff_core_Char from "../../ff/core/Char.mjs"
|
|
|
22
22
|
|
|
23
23
|
import * as ff_core_Core from "../../ff/core/Core.mjs"
|
|
24
24
|
|
|
25
|
+
import * as ff_core_Digest from "../../ff/core/Digest.mjs"
|
|
26
|
+
|
|
25
27
|
import * as ff_core_Duration from "../../ff/core/Duration.mjs"
|
|
26
28
|
|
|
27
29
|
import * as ff_core_Equal from "../../ff/core/Equal.mjs"
|
package/package.json
CHANGED