firefly-compiler 0.4.6 → 0.4.8

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.
Files changed (90) hide show
  1. package/compiler/Compiler.ff +2 -0
  2. package/compiler/Deriver.ff +7 -0
  3. package/core/Array.ff +17 -4
  4. package/core/AssetSystem.ff +1 -1
  5. package/core/BrowserSystem.ff +27 -0
  6. package/core/List.ff +4 -0
  7. package/core/Lock.ff +2 -2
  8. package/core/Random.ff +148 -0
  9. package/core/SourceLocation.ff +27 -0
  10. package/core/Task.ff +3 -0
  11. package/core/WebSocket.ff +127 -0
  12. package/httpserver/HttpServer.ff +1 -1
  13. package/lux/Css.ff +648 -0
  14. package/lux/CssTest.ff +48 -0
  15. package/lux/Lux.ff +33 -18
  16. package/lux/Main.ff +4 -1
  17. package/output/js/ff/compiler/Builder.mjs +448 -444
  18. package/output/js/ff/compiler/Compiler.mjs +420 -416
  19. package/output/js/ff/compiler/Dependencies.mjs +393 -389
  20. package/output/js/ff/compiler/Deriver.mjs +1178 -1170
  21. package/output/js/ff/compiler/Dictionaries.mjs +1315 -1309
  22. package/output/js/ff/compiler/Environment.mjs +1025 -1015
  23. package/output/js/ff/compiler/Inference.mjs +4272 -4268
  24. package/output/js/ff/compiler/JsEmitter.mjs +5405 -5391
  25. package/output/js/ff/compiler/JsImporter.mjs +270 -266
  26. package/output/js/ff/compiler/LspHook.mjs +799 -793
  27. package/output/js/ff/compiler/Main.mjs +1691 -1675
  28. package/output/js/ff/compiler/Parser.mjs +4016 -4008
  29. package/output/js/ff/compiler/Patterns.mjs +935 -927
  30. package/output/js/ff/compiler/Resolver.mjs +2311 -2307
  31. package/output/js/ff/compiler/Substitution.mjs +1154 -1150
  32. package/output/js/ff/compiler/Syntax.mjs +12566 -12434
  33. package/output/js/ff/compiler/Token.mjs +3152 -3096
  34. package/output/js/ff/compiler/Tokenizer.mjs +597 -593
  35. package/output/js/ff/compiler/Unification.mjs +1762 -1752
  36. package/output/js/ff/compiler/Wildcards.mjs +612 -608
  37. package/output/js/ff/compiler/Workspace.mjs +695 -687
  38. package/output/js/ff/core/Any.mjs +147 -143
  39. package/output/js/ff/core/Array.mjs +573 -547
  40. package/output/js/ff/core/AssetSystem.mjs +278 -274
  41. package/output/js/ff/core/Atomic.mjs +158 -154
  42. package/output/js/ff/core/Bool.mjs +156 -152
  43. package/output/js/ff/core/Box.mjs +116 -112
  44. package/output/js/ff/core/BrowserSystem.mjs +181 -126
  45. package/output/js/ff/core/Buffer.mjs +399 -395
  46. package/output/js/ff/core/BuildSystem.mjs +300 -296
  47. package/output/js/ff/core/Channel.mjs +193 -189
  48. package/output/js/ff/core/Char.mjs +153 -149
  49. package/output/js/ff/core/Core.mjs +304 -300
  50. package/output/js/ff/core/Duration.mjs +120 -116
  51. package/output/js/ff/core/Equal.mjs +183 -179
  52. package/output/js/ff/core/Error.mjs +146 -142
  53. package/output/js/ff/core/FileHandle.mjs +154 -150
  54. package/output/js/ff/core/Float.mjs +229 -225
  55. package/output/js/ff/core/HttpClient.mjs +195 -191
  56. package/output/js/ff/core/Instant.mjs +113 -109
  57. package/output/js/ff/core/Int.mjs +269 -265
  58. package/output/js/ff/core/IntMap.mjs +284 -280
  59. package/output/js/ff/core/JsSystem.mjs +242 -238
  60. package/output/js/ff/core/JsValue.mjs +712 -708
  61. package/output/js/ff/core/List.mjs +2346 -2334
  62. package/output/js/ff/core/Lock.mjs +235 -231
  63. package/output/js/ff/core/Log.mjs +167 -163
  64. package/output/js/ff/core/Map.mjs +366 -362
  65. package/output/js/ff/core/NodeSystem.mjs +298 -294
  66. package/output/js/ff/core/Nothing.mjs +108 -104
  67. package/output/js/ff/core/Option.mjs +1023 -1015
  68. package/output/js/ff/core/Ordering.mjs +734 -730
  69. package/output/js/ff/core/Pair.mjs +337 -331
  70. package/output/js/ff/core/Path.mjs +549 -545
  71. package/output/js/ff/core/Random.mjs +340 -0
  72. package/output/js/ff/core/RbMap.mjs +1944 -1940
  73. package/output/js/ff/core/Serializable.mjs +432 -428
  74. package/output/js/ff/core/Set.mjs +258 -254
  75. package/output/js/ff/core/Show.mjs +209 -205
  76. package/output/js/ff/core/SourceLocation.mjs +273 -229
  77. package/output/js/ff/core/Stack.mjs +533 -529
  78. package/output/js/ff/core/Stream.mjs +1308 -1304
  79. package/output/js/ff/core/String.mjs +369 -365
  80. package/output/js/ff/core/StringMap.mjs +284 -280
  81. package/output/js/ff/core/Task.mjs +325 -319
  82. package/output/js/ff/core/Try.mjs +511 -507
  83. package/output/js/ff/core/Unit.mjs +155 -151
  84. package/output/js/ff/core/WebSocket.mjs +198 -0
  85. package/package.json +1 -1
  86. package/vscode/package.json +1 -1
  87. package/webserver/.firefly/include/package-lock.json +16 -0
  88. package/webserver/.firefly/include/package.json +5 -0
  89. package/webserver/.firefly/package.ff +2 -0
  90. package/webserver/WebServer.ff +608 -0
@@ -1,369 +1,373 @@
1
-
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_Box from "../../ff/core/Box.mjs"
14
-
15
- import * as ff_core_BrowserSystem from "../../ff/core/BrowserSystem.mjs"
16
-
17
- import * as ff_core_Buffer from "../../ff/core/Buffer.mjs"
18
-
19
- import * as ff_core_BuildSystem from "../../ff/core/BuildSystem.mjs"
20
-
21
- import * as ff_core_Channel from "../../ff/core/Channel.mjs"
22
-
23
- import * as ff_core_Char from "../../ff/core/Char.mjs"
24
-
25
- import * as ff_core_Core from "../../ff/core/Core.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_List from "../../ff/core/List.mjs"
50
-
51
- import * as ff_core_Lock from "../../ff/core/Lock.mjs"
52
-
53
- import * as ff_core_Log from "../../ff/core/Log.mjs"
54
-
55
- import * as ff_core_Map from "../../ff/core/Map.mjs"
56
-
57
- import * as ff_core_NodeSystem from "../../ff/core/NodeSystem.mjs"
58
-
59
- import * as ff_core_Nothing from "../../ff/core/Nothing.mjs"
60
-
61
- import * as ff_core_Option from "../../ff/core/Option.mjs"
62
-
63
- import * as ff_core_Ordering from "../../ff/core/Ordering.mjs"
64
-
65
- import * as ff_core_Pair from "../../ff/core/Pair.mjs"
66
-
67
- import * as ff_core_Path from "../../ff/core/Path.mjs"
68
-
69
- import * as ff_core_Serializable from "../../ff/core/Serializable.mjs"
70
-
71
- import * as ff_core_Set from "../../ff/core/Set.mjs"
72
-
73
- import * as ff_core_Show from "../../ff/core/Show.mjs"
74
-
75
- import * as ff_core_SourceLocation from "../../ff/core/SourceLocation.mjs"
76
-
77
- import * as ff_core_Stack from "../../ff/core/Stack.mjs"
78
-
79
- import * as ff_core_Stream from "../../ff/core/Stream.mjs"
80
-
81
- import * as ff_core_String from "../../ff/core/String.mjs"
82
-
83
- import * as ff_core_StringMap from "../../ff/core/StringMap.mjs"
84
-
85
- import * as ff_core_Task from "../../ff/core/Task.mjs"
86
-
87
- import * as ff_core_Try from "../../ff/core/Try.mjs"
88
-
89
- import * as ff_core_Unit from "../../ff/core/Unit.mjs"
90
-
91
- // type JsValue
92
-
93
-
94
-
95
-
96
-
97
-
98
-
99
-
100
- export function JsValue_grabString(self_) {
101
- return self_
102
- }
103
-
104
- export function JsValue_grabChar(self_) {
105
- return self_
106
- }
107
-
108
- export function JsValue_grabInt(self_) {
109
- return self_
110
- }
111
-
112
- export function JsValue_grabFloat(self_) {
113
- return self_
114
- }
115
-
116
- export function JsValue_grabBool(self_) {
117
- return self_
118
- }
119
-
120
- export function JsValue_grabArray(self_) {
121
- return self_
122
- }
123
-
124
- export function JsValue_grabBuffer(self_) {
1
+
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_Box from "../../ff/core/Box.mjs"
14
+
15
+ import * as ff_core_BrowserSystem from "../../ff/core/BrowserSystem.mjs"
16
+
17
+ import * as ff_core_Buffer from "../../ff/core/Buffer.mjs"
18
+
19
+ import * as ff_core_BuildSystem from "../../ff/core/BuildSystem.mjs"
20
+
21
+ import * as ff_core_Channel from "../../ff/core/Channel.mjs"
22
+
23
+ import * as ff_core_Char from "../../ff/core/Char.mjs"
24
+
25
+ import * as ff_core_Core from "../../ff/core/Core.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_List from "../../ff/core/List.mjs"
50
+
51
+ import * as ff_core_Lock from "../../ff/core/Lock.mjs"
52
+
53
+ import * as ff_core_Log from "../../ff/core/Log.mjs"
54
+
55
+ import * as ff_core_Map from "../../ff/core/Map.mjs"
56
+
57
+ import * as ff_core_NodeSystem from "../../ff/core/NodeSystem.mjs"
58
+
59
+ import * as ff_core_Nothing from "../../ff/core/Nothing.mjs"
60
+
61
+ import * as ff_core_Option from "../../ff/core/Option.mjs"
62
+
63
+ import * as ff_core_Ordering from "../../ff/core/Ordering.mjs"
64
+
65
+ import * as ff_core_Pair from "../../ff/core/Pair.mjs"
66
+
67
+ import * as ff_core_Path from "../../ff/core/Path.mjs"
68
+
69
+ import * as ff_core_Random from "../../ff/core/Random.mjs"
70
+
71
+ import * as ff_core_Serializable from "../../ff/core/Serializable.mjs"
72
+
73
+ import * as ff_core_Set from "../../ff/core/Set.mjs"
74
+
75
+ import * as ff_core_Show from "../../ff/core/Show.mjs"
76
+
77
+ import * as ff_core_SourceLocation from "../../ff/core/SourceLocation.mjs"
78
+
79
+ import * as ff_core_Stack from "../../ff/core/Stack.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
+ import * as ff_core_WebSocket from "../../ff/core/WebSocket.mjs"
94
+
95
+ // type JsValue
96
+
97
+
98
+
99
+
100
+
101
+
102
+
103
+
104
+ export function JsValue_grabString(self_) {
105
+ return self_
106
+ }
107
+
108
+ export function JsValue_grabChar(self_) {
109
+ return self_
110
+ }
111
+
112
+ export function JsValue_grabInt(self_) {
113
+ return self_
114
+ }
115
+
116
+ export function JsValue_grabFloat(self_) {
117
+ return self_
118
+ }
119
+
120
+ export function JsValue_grabBool(self_) {
121
+ return self_
122
+ }
123
+
124
+ export function JsValue_grabArray(self_) {
125
+ return self_
126
+ }
127
+
128
+ export function JsValue_grabBuffer(self_) {
125
129
 
126
130
  if(!(self_ instanceof DataView)) throw new Error('Expected buffer, got '+ typeof self_);
127
131
  return self_
128
-
129
- }
130
-
131
- export function JsValue_equals(self_, value_, ff_core_JsValue_IsJsValue$V) {
132
- return self_ === value_
133
- }
134
-
135
- export function JsValue_isString(self_) {
136
- return typeof self_ === 'string'
137
- }
138
-
139
- export function JsValue_isChar(self_) {
132
+
133
+ }
134
+
135
+ export function JsValue_equals(self_, value_, ff_core_JsValue_IsJsValue$V) {
136
+ return self_ === value_
137
+ }
138
+
139
+ export function JsValue_isString(self_) {
140
+ return typeof self_ === 'string'
141
+ }
142
+
143
+ export function JsValue_isChar(self_) {
140
144
 
141
145
  return Number.isInteger(self_) && Math.abs(self_) <= Number.MAX_SAFE_INTEGER
142
146
  && self_ >= 0 && self_ < 1114112
143
-
144
- }
145
-
146
- export function JsValue_isInt(self_) {
147
- return Number.isInteger(self_) && Math.abs(self_) <= Number.MAX_SAFE_INTEGER
148
- }
149
-
150
- export function JsValue_isFloat(self_) {
151
- return typeof self_ === 'number'
152
- }
153
-
154
- export function JsValue_isBool(self_) {
155
- return typeof self_ === 'boolean'
156
- }
157
-
158
- export function JsValue_isArray(self_) {
159
- return Array.isArray(self_)
160
- }
161
-
162
- export function JsValue_isObject(self_) {
163
- return self_ != null && typeof self_ === 'object'
164
- }
165
-
166
- export function JsValue_isFunction(self_) {
167
- return typeof self_ === 'function'
168
- }
169
-
170
- export function JsValue_isNull(self_) {
171
- return self_ === null
172
- }
173
-
174
- export function JsValue_isUndefined(self_) {
175
- return typeof self_ === 'undefined'
176
- }
177
-
178
- export function JsValue_isNullOrUndefined(self_) {
179
- return self_ == null
180
- }
181
-
182
- export function JsValue_isNan(self_) {
183
- return typeof self_ === 'number' && self_ !== self_
184
- }
185
-
186
- export function JsValue_isFinite(self_) {
187
- return typeof self_ === 'number' && isFinite(self_)
188
- }
189
-
190
- export function JsValue_get(self_, key_, ff_core_JsValue_IsJsValue$K) {
191
- return self_[key_]
192
- }
193
-
194
- export function JsValue_getOwn(self_, key_) {
195
- if(ff_core_JsValue.JsValue_hasOwn(self_, key_)) {
196
- return ff_core_Option.Some(ff_core_JsValue.JsValue_get(self_, key_, ff_core_JsValue.ff_core_JsValue_IsJsValue$ff_core_String_String))
197
- } else {
198
- return ff_core_Option.None()
199
- }
200
- }
201
-
202
- export function JsValue_set(self_, key_, value_, ff_core_JsValue_IsJsValue$K, ff_core_JsValue_IsJsValue$V) {
203
- self_[key_] = value_
204
- }
205
-
206
- export function JsValue_delete(self_, key_, ff_core_JsValue_IsJsValue$K) {
207
- delete self_[key_]
208
- }
209
-
210
- export function JsValue_with(self_, key_, value_, ff_core_JsValue_IsJsValue$K, ff_core_JsValue_IsJsValue$V) {
211
- return {...self_, [key_]: value_}
212
- }
213
-
214
- export function JsValue_hasOwn(self_, name_) {
215
- return Object.prototype.hasOwnProperty.call(self_, name_)
216
- }
217
-
218
- export function JsValue_assign(self_, source_, source2_ = source_) {
219
- return Object.assign(self_, source_, source2_ !== source_ ? source2_ : null)
220
- }
221
-
222
- export function JsValue_each(self_, body_) {
223
- for(const value of self_) body_(value)
224
- }
225
-
226
- export function JsValue_eachWhile(self_, body_) {
227
- for(const value of self_) if(!body_(value)) break
228
- }
229
-
230
- export function JsValue_call(self_, name_, arguments_) {
231
- return self_[name_].apply(this_, ff_core_List.List_toArray(arguments_))
232
- }
233
-
234
- export function JsValue_call0(self_, name_) {
235
- return self_[name_].call(self_)
236
- }
237
-
238
- export function JsValue_call1(self_, name_, a1_, ff_core_JsValue_IsJsValue$A1) {
239
- return self_[name_].call(self_, a1_)
240
- }
241
-
242
- export function JsValue_call2(self_, name_, a1_, a2_, ff_core_JsValue_IsJsValue$A1, ff_core_JsValue_IsJsValue$A2) {
243
- return self_[name_].call(self_, a1_, a2_)
244
- }
245
-
246
- export function JsValue_call3(self_, name_, a1_, a2_, a3_, ff_core_JsValue_IsJsValue$A1, ff_core_JsValue_IsJsValue$A2, ff_core_JsValue_IsJsValue$A3) {
247
- return self_[name_].call(self_, a1_, a2_, a3_)
248
- }
249
-
250
- export function JsValue_call4(self_, name_, a1_, a2_, a3_, a4_, ff_core_JsValue_IsJsValue$A1, ff_core_JsValue_IsJsValue$A2, ff_core_JsValue_IsJsValue$A3, ff_core_JsValue_IsJsValue$A4) {
251
- return self_[name_].call(self_, a1_, a2_, a3_, a4_)
252
- }
253
-
254
- export function JsValue_call5(self_, name_, a1_, a2_, a3_, a4_, a5_, ff_core_JsValue_IsJsValue$A1, ff_core_JsValue_IsJsValue$A2, ff_core_JsValue_IsJsValue$A3, ff_core_JsValue_IsJsValue$A4, ff_core_JsValue_IsJsValue$A5) {
255
- return self_[name_].call(self_, a1_, a2_, a3_, a4_, a5_)
256
- }
257
-
258
- export function JsValue_call6(self_, name_, a1_, a2_, a3_, a4_, a5_, a6_, ff_core_JsValue_IsJsValue$A1, ff_core_JsValue_IsJsValue$A2, ff_core_JsValue_IsJsValue$A3, ff_core_JsValue_IsJsValue$A4, ff_core_JsValue_IsJsValue$A5, ff_core_JsValue_IsJsValue$A6) {
259
- return self_[name_].call(self_, a1_, a2_, a3_, a4_, a5_, a6_)
260
- }
261
-
262
- export function JsValue_call7(self_, name_, a1_, a2_, a3_, a4_, a5_, a6_, a7_, ff_core_JsValue_IsJsValue$A1, ff_core_JsValue_IsJsValue$A2, ff_core_JsValue_IsJsValue$A3, ff_core_JsValue_IsJsValue$A4, ff_core_JsValue_IsJsValue$A5, ff_core_JsValue_IsJsValue$A6, ff_core_JsValue_IsJsValue$A7) {
263
- return self_[name_].call(self_, a1_, a2_, a3_, a4_, a5_, a6_, a7_)
264
- }
265
-
266
- export function JsValue_call8(self_, name_, a1_, a2_, a3_, a4_, a5_, a6_, a7_, a8_, ff_core_JsValue_IsJsValue$A1, ff_core_JsValue_IsJsValue$A2, ff_core_JsValue_IsJsValue$A3, ff_core_JsValue_IsJsValue$A4, ff_core_JsValue_IsJsValue$A5, ff_core_JsValue_IsJsValue$A6, ff_core_JsValue_IsJsValue$A7, ff_core_JsValue_IsJsValue$A8) {
267
- return self_[name_].call(self_, a1_, a2_, a3_, a4_, a5_, a6_, a7_, a8_)
268
- }
269
-
270
- export function JsValue_call9(self_, name_, a1_, a2_, a3_, a4_, a5_, a6_, a7_, a8_, a9_, ff_core_JsValue_IsJsValue$A1, ff_core_JsValue_IsJsValue$A2, ff_core_JsValue_IsJsValue$A3, ff_core_JsValue_IsJsValue$A4, ff_core_JsValue_IsJsValue$A5, ff_core_JsValue_IsJsValue$A6, ff_core_JsValue_IsJsValue$A7, ff_core_JsValue_IsJsValue$A8, ff_core_JsValue_IsJsValue$A9) {
271
- return self_[name_].call(self_, a1_, a2_, a3_, a4_, a5_, a6_, a7_, a8_, a9_)
272
- }
273
-
274
- export function JsValue_callValue(self_, this_, arguments_) {
275
- return self_.apply(this_, ff_core_List.List_toArray(arguments_))
276
- }
277
-
278
- export function JsValue_callValue0(self_) {
279
- return self_.call(self_)
280
- }
281
-
282
- export function JsValue_callValue1(self_, a1_, ff_core_JsValue_IsJsValue$A1) {
283
- return self_.call(self_, a1_)
284
- }
285
-
286
- export function JsValue_callValue2(self_, a1_, a2_, ff_core_JsValue_IsJsValue$A1, ff_core_JsValue_IsJsValue$A2) {
287
- return self_.call(self_, a1_, a2_)
288
- }
289
-
290
- export function JsValue_callValue3(self_, a1_, a2_, a3_, ff_core_JsValue_IsJsValue$A1, ff_core_JsValue_IsJsValue$A2, ff_core_JsValue_IsJsValue$A3) {
291
- return self_.call(self_, a1_, a2_, a3_)
292
- }
293
-
294
- export function JsValue_callValue4(self_, a1_, a2_, a3_, a4_, ff_core_JsValue_IsJsValue$A1, ff_core_JsValue_IsJsValue$A2, ff_core_JsValue_IsJsValue$A3, ff_core_JsValue_IsJsValue$A4) {
295
- return self_.call(self_, a1_, a2_, a3_, a4_)
296
- }
297
-
298
- export function JsValue_callValue5(self_, a1_, a2_, a3_, a4_, a5_, ff_core_JsValue_IsJsValue$A1, ff_core_JsValue_IsJsValue$A2, ff_core_JsValue_IsJsValue$A3, ff_core_JsValue_IsJsValue$A4, ff_core_JsValue_IsJsValue$A5) {
299
- return self_.call(self_, a1_, a2_, a3_, a4_, a5_)
300
- }
301
-
302
- export function JsValue_callValue6(self_, a1_, a2_, a3_, a4_, a5_, a6_, ff_core_JsValue_IsJsValue$A1, ff_core_JsValue_IsJsValue$A2, ff_core_JsValue_IsJsValue$A3, ff_core_JsValue_IsJsValue$A4, ff_core_JsValue_IsJsValue$A5, ff_core_JsValue_IsJsValue$A6) {
303
- return self_.call(self_, a1_, a2_, a3_, a4_, a5_, a6_)
304
- }
305
-
306
- export function JsValue_callValue7(self_, a1_, a2_, a3_, a4_, a5_, a6_, a7_, ff_core_JsValue_IsJsValue$A1, ff_core_JsValue_IsJsValue$A2, ff_core_JsValue_IsJsValue$A3, ff_core_JsValue_IsJsValue$A4, ff_core_JsValue_IsJsValue$A5, ff_core_JsValue_IsJsValue$A6, ff_core_JsValue_IsJsValue$A7) {
307
- return self_.call(self_, a1_, a2_, a3_, a4_, a5_, a6_, a7_)
308
- }
309
-
310
- export function JsValue_callValue8(self_, a1_, a2_, a3_, a4_, a5_, a6_, a7_, a8_, ff_core_JsValue_IsJsValue$A1, ff_core_JsValue_IsJsValue$A2, ff_core_JsValue_IsJsValue$A3, ff_core_JsValue_IsJsValue$A4, ff_core_JsValue_IsJsValue$A5, ff_core_JsValue_IsJsValue$A6, ff_core_JsValue_IsJsValue$A7, ff_core_JsValue_IsJsValue$A8) {
311
- return self_.call(self_, a1_, a2_, a3_, a4_, a5_, a6_, a7_, a8_)
312
- }
313
-
314
- export function JsValue_callValue9(self_, a1_, a2_, a3_, a4_, a5_, a6_, a7_, a8_, a9_, ff_core_JsValue_IsJsValue$A1, ff_core_JsValue_IsJsValue$A2, ff_core_JsValue_IsJsValue$A3, ff_core_JsValue_IsJsValue$A4, ff_core_JsValue_IsJsValue$A5, ff_core_JsValue_IsJsValue$A6, ff_core_JsValue_IsJsValue$A7, ff_core_JsValue_IsJsValue$A8, ff_core_JsValue_IsJsValue$A9) {
315
- return self_.call(self_, a1_, a2_, a3_, a4_, a5_, a6_, a7_, a8_, a9_)
316
- }
317
-
318
- export function JsValue_new(self_, this_, arguments_) {
319
- return new (Function.prototype.bind.apply(self_, ff_core_List.List_toArray(arguments_)))
320
- }
321
-
322
- export function JsValue_new0(self_) {
323
- return new self_()
324
- }
325
-
326
- export function JsValue_new1(self_, a1_, ff_core_JsValue_IsJsValue$A1) {
327
- return new self_(a1_)
328
- }
329
-
330
- export function JsValue_new2(self_, a1_, a2_, ff_core_JsValue_IsJsValue$A1, ff_core_JsValue_IsJsValue$A2) {
331
- return new self_(a1_, a2_)
332
- }
333
-
334
- export function JsValue_new3(self_, a1_, a2_, a3_, ff_core_JsValue_IsJsValue$A1, ff_core_JsValue_IsJsValue$A2, ff_core_JsValue_IsJsValue$A3) {
335
- return new self_(a1_, a2_, a3_)
336
- }
337
-
338
- export function JsValue_new4(self_, a1_, a2_, a3_, a4_, ff_core_JsValue_IsJsValue$A1, ff_core_JsValue_IsJsValue$A2, ff_core_JsValue_IsJsValue$A3, ff_core_JsValue_IsJsValue$A4) {
339
- return new self_(a1_, a2_, a3_, a4_)
340
- }
341
-
342
- export function JsValue_new5(self_, a1_, a2_, a3_, a4_, a5_, ff_core_JsValue_IsJsValue$A1, ff_core_JsValue_IsJsValue$A2, ff_core_JsValue_IsJsValue$A3, ff_core_JsValue_IsJsValue$A4, ff_core_JsValue_IsJsValue$A5) {
343
- return new self_(a1_, a2_, a3_, a4_, a5_)
344
- }
345
-
346
- export function JsValue_new6(self_, a1_, a2_, a3_, a4_, a5_, a6_, ff_core_JsValue_IsJsValue$A1, ff_core_JsValue_IsJsValue$A2, ff_core_JsValue_IsJsValue$A3, ff_core_JsValue_IsJsValue$A4, ff_core_JsValue_IsJsValue$A5, ff_core_JsValue_IsJsValue$A6) {
347
- return new self_(a1_, a2_, a3_, a4_, a5_, a6_)
348
- }
349
-
350
- export function JsValue_new7(self_, a1_, a2_, a3_, a4_, a5_, a6_, a7_, ff_core_JsValue_IsJsValue$A1, ff_core_JsValue_IsJsValue$A2, ff_core_JsValue_IsJsValue$A3, ff_core_JsValue_IsJsValue$A4, ff_core_JsValue_IsJsValue$A5, ff_core_JsValue_IsJsValue$A6, ff_core_JsValue_IsJsValue$A7) {
351
- return new self_(a1_, a2_, a3_, a4_, a5_, a6_, a7_)
352
- }
353
-
354
- export function JsValue_new8(self_, a1_, a2_, a3_, a4_, a5_, a6_, a7_, a8_, ff_core_JsValue_IsJsValue$A1, ff_core_JsValue_IsJsValue$A2, ff_core_JsValue_IsJsValue$A3, ff_core_JsValue_IsJsValue$A4, ff_core_JsValue_IsJsValue$A5, ff_core_JsValue_IsJsValue$A6, ff_core_JsValue_IsJsValue$A7, ff_core_JsValue_IsJsValue$A8) {
355
- return new self_(a1_, a2_, a3_, a4_, a5_, a6_, a7_, a8_)
356
- }
357
-
358
- export function JsValue_new9(self_, a1_, a2_, a3_, a4_, a5_, a6_, a7_, a8_, a9_, ff_core_JsValue_IsJsValue$A1, ff_core_JsValue_IsJsValue$A2, ff_core_JsValue_IsJsValue$A3, ff_core_JsValue_IsJsValue$A4, ff_core_JsValue_IsJsValue$A5, ff_core_JsValue_IsJsValue$A6, ff_core_JsValue_IsJsValue$A7, ff_core_JsValue_IsJsValue$A8, ff_core_JsValue_IsJsValue$A9) {
359
- return new self_(a1_, a2_, a3_, a4_, a5_, a6_, a7_, a8_, a9_)
360
- }
361
-
362
- export function JsValue_toJson(self_, space_ = ff_core_Option.None()) {
363
- return JSON.stringify(self_, null, space_.value_)
364
- }
365
-
366
- export function JsValue_grabPairs(self_) {
147
+
148
+ }
149
+
150
+ export function JsValue_isInt(self_) {
151
+ return Number.isInteger(self_) && Math.abs(self_) <= Number.MAX_SAFE_INTEGER
152
+ }
153
+
154
+ export function JsValue_isFloat(self_) {
155
+ return typeof self_ === 'number'
156
+ }
157
+
158
+ export function JsValue_isBool(self_) {
159
+ return typeof self_ === 'boolean'
160
+ }
161
+
162
+ export function JsValue_isArray(self_) {
163
+ return Array.isArray(self_)
164
+ }
165
+
166
+ export function JsValue_isObject(self_) {
167
+ return self_ != null && typeof self_ === 'object'
168
+ }
169
+
170
+ export function JsValue_isFunction(self_) {
171
+ return typeof self_ === 'function'
172
+ }
173
+
174
+ export function JsValue_isNull(self_) {
175
+ return self_ === null
176
+ }
177
+
178
+ export function JsValue_isUndefined(self_) {
179
+ return typeof self_ === 'undefined'
180
+ }
181
+
182
+ export function JsValue_isNullOrUndefined(self_) {
183
+ return self_ == null
184
+ }
185
+
186
+ export function JsValue_isNan(self_) {
187
+ return typeof self_ === 'number' && self_ !== self_
188
+ }
189
+
190
+ export function JsValue_isFinite(self_) {
191
+ return typeof self_ === 'number' && isFinite(self_)
192
+ }
193
+
194
+ export function JsValue_get(self_, key_, ff_core_JsValue_IsJsValue$K) {
195
+ return self_[key_]
196
+ }
197
+
198
+ export function JsValue_getOwn(self_, key_) {
199
+ if(ff_core_JsValue.JsValue_hasOwn(self_, key_)) {
200
+ return ff_core_Option.Some(ff_core_JsValue.JsValue_get(self_, key_, ff_core_JsValue.ff_core_JsValue_IsJsValue$ff_core_String_String))
201
+ } else {
202
+ return ff_core_Option.None()
203
+ }
204
+ }
205
+
206
+ export function JsValue_set(self_, key_, value_, ff_core_JsValue_IsJsValue$K, ff_core_JsValue_IsJsValue$V) {
207
+ self_[key_] = value_
208
+ }
209
+
210
+ export function JsValue_delete(self_, key_, ff_core_JsValue_IsJsValue$K) {
211
+ delete self_[key_]
212
+ }
213
+
214
+ export function JsValue_with(self_, key_, value_, ff_core_JsValue_IsJsValue$K, ff_core_JsValue_IsJsValue$V) {
215
+ return {...self_, [key_]: value_}
216
+ }
217
+
218
+ export function JsValue_hasOwn(self_, name_) {
219
+ return Object.prototype.hasOwnProperty.call(self_, name_)
220
+ }
221
+
222
+ export function JsValue_assign(self_, source_, source2_ = source_) {
223
+ return Object.assign(self_, source_, source2_ !== source_ ? source2_ : null)
224
+ }
225
+
226
+ export function JsValue_each(self_, body_) {
227
+ for(const value of self_) body_(value)
228
+ }
229
+
230
+ export function JsValue_eachWhile(self_, body_) {
231
+ for(const value of self_) if(!body_(value)) break
232
+ }
233
+
234
+ export function JsValue_call(self_, name_, arguments_) {
235
+ return self_[name_].apply(this_, ff_core_List.List_toArray(arguments_))
236
+ }
237
+
238
+ export function JsValue_call0(self_, name_) {
239
+ return self_[name_].call(self_)
240
+ }
241
+
242
+ export function JsValue_call1(self_, name_, a1_, ff_core_JsValue_IsJsValue$A1) {
243
+ return self_[name_].call(self_, a1_)
244
+ }
245
+
246
+ export function JsValue_call2(self_, name_, a1_, a2_, ff_core_JsValue_IsJsValue$A1, ff_core_JsValue_IsJsValue$A2) {
247
+ return self_[name_].call(self_, a1_, a2_)
248
+ }
249
+
250
+ export function JsValue_call3(self_, name_, a1_, a2_, a3_, ff_core_JsValue_IsJsValue$A1, ff_core_JsValue_IsJsValue$A2, ff_core_JsValue_IsJsValue$A3) {
251
+ return self_[name_].call(self_, a1_, a2_, a3_)
252
+ }
253
+
254
+ export function JsValue_call4(self_, name_, a1_, a2_, a3_, a4_, ff_core_JsValue_IsJsValue$A1, ff_core_JsValue_IsJsValue$A2, ff_core_JsValue_IsJsValue$A3, ff_core_JsValue_IsJsValue$A4) {
255
+ return self_[name_].call(self_, a1_, a2_, a3_, a4_)
256
+ }
257
+
258
+ export function JsValue_call5(self_, name_, a1_, a2_, a3_, a4_, a5_, ff_core_JsValue_IsJsValue$A1, ff_core_JsValue_IsJsValue$A2, ff_core_JsValue_IsJsValue$A3, ff_core_JsValue_IsJsValue$A4, ff_core_JsValue_IsJsValue$A5) {
259
+ return self_[name_].call(self_, a1_, a2_, a3_, a4_, a5_)
260
+ }
261
+
262
+ export function JsValue_call6(self_, name_, a1_, a2_, a3_, a4_, a5_, a6_, ff_core_JsValue_IsJsValue$A1, ff_core_JsValue_IsJsValue$A2, ff_core_JsValue_IsJsValue$A3, ff_core_JsValue_IsJsValue$A4, ff_core_JsValue_IsJsValue$A5, ff_core_JsValue_IsJsValue$A6) {
263
+ return self_[name_].call(self_, a1_, a2_, a3_, a4_, a5_, a6_)
264
+ }
265
+
266
+ export function JsValue_call7(self_, name_, a1_, a2_, a3_, a4_, a5_, a6_, a7_, ff_core_JsValue_IsJsValue$A1, ff_core_JsValue_IsJsValue$A2, ff_core_JsValue_IsJsValue$A3, ff_core_JsValue_IsJsValue$A4, ff_core_JsValue_IsJsValue$A5, ff_core_JsValue_IsJsValue$A6, ff_core_JsValue_IsJsValue$A7) {
267
+ return self_[name_].call(self_, a1_, a2_, a3_, a4_, a5_, a6_, a7_)
268
+ }
269
+
270
+ export function JsValue_call8(self_, name_, a1_, a2_, a3_, a4_, a5_, a6_, a7_, a8_, ff_core_JsValue_IsJsValue$A1, ff_core_JsValue_IsJsValue$A2, ff_core_JsValue_IsJsValue$A3, ff_core_JsValue_IsJsValue$A4, ff_core_JsValue_IsJsValue$A5, ff_core_JsValue_IsJsValue$A6, ff_core_JsValue_IsJsValue$A7, ff_core_JsValue_IsJsValue$A8) {
271
+ return self_[name_].call(self_, a1_, a2_, a3_, a4_, a5_, a6_, a7_, a8_)
272
+ }
273
+
274
+ export function JsValue_call9(self_, name_, a1_, a2_, a3_, a4_, a5_, a6_, a7_, a8_, a9_, ff_core_JsValue_IsJsValue$A1, ff_core_JsValue_IsJsValue$A2, ff_core_JsValue_IsJsValue$A3, ff_core_JsValue_IsJsValue$A4, ff_core_JsValue_IsJsValue$A5, ff_core_JsValue_IsJsValue$A6, ff_core_JsValue_IsJsValue$A7, ff_core_JsValue_IsJsValue$A8, ff_core_JsValue_IsJsValue$A9) {
275
+ return self_[name_].call(self_, a1_, a2_, a3_, a4_, a5_, a6_, a7_, a8_, a9_)
276
+ }
277
+
278
+ export function JsValue_callValue(self_, this_, arguments_) {
279
+ return self_.apply(this_, ff_core_List.List_toArray(arguments_))
280
+ }
281
+
282
+ export function JsValue_callValue0(self_) {
283
+ return self_.call(self_)
284
+ }
285
+
286
+ export function JsValue_callValue1(self_, a1_, ff_core_JsValue_IsJsValue$A1) {
287
+ return self_.call(self_, a1_)
288
+ }
289
+
290
+ export function JsValue_callValue2(self_, a1_, a2_, ff_core_JsValue_IsJsValue$A1, ff_core_JsValue_IsJsValue$A2) {
291
+ return self_.call(self_, a1_, a2_)
292
+ }
293
+
294
+ export function JsValue_callValue3(self_, a1_, a2_, a3_, ff_core_JsValue_IsJsValue$A1, ff_core_JsValue_IsJsValue$A2, ff_core_JsValue_IsJsValue$A3) {
295
+ return self_.call(self_, a1_, a2_, a3_)
296
+ }
297
+
298
+ export function JsValue_callValue4(self_, a1_, a2_, a3_, a4_, ff_core_JsValue_IsJsValue$A1, ff_core_JsValue_IsJsValue$A2, ff_core_JsValue_IsJsValue$A3, ff_core_JsValue_IsJsValue$A4) {
299
+ return self_.call(self_, a1_, a2_, a3_, a4_)
300
+ }
301
+
302
+ export function JsValue_callValue5(self_, a1_, a2_, a3_, a4_, a5_, ff_core_JsValue_IsJsValue$A1, ff_core_JsValue_IsJsValue$A2, ff_core_JsValue_IsJsValue$A3, ff_core_JsValue_IsJsValue$A4, ff_core_JsValue_IsJsValue$A5) {
303
+ return self_.call(self_, a1_, a2_, a3_, a4_, a5_)
304
+ }
305
+
306
+ export function JsValue_callValue6(self_, a1_, a2_, a3_, a4_, a5_, a6_, ff_core_JsValue_IsJsValue$A1, ff_core_JsValue_IsJsValue$A2, ff_core_JsValue_IsJsValue$A3, ff_core_JsValue_IsJsValue$A4, ff_core_JsValue_IsJsValue$A5, ff_core_JsValue_IsJsValue$A6) {
307
+ return self_.call(self_, a1_, a2_, a3_, a4_, a5_, a6_)
308
+ }
309
+
310
+ export function JsValue_callValue7(self_, a1_, a2_, a3_, a4_, a5_, a6_, a7_, ff_core_JsValue_IsJsValue$A1, ff_core_JsValue_IsJsValue$A2, ff_core_JsValue_IsJsValue$A3, ff_core_JsValue_IsJsValue$A4, ff_core_JsValue_IsJsValue$A5, ff_core_JsValue_IsJsValue$A6, ff_core_JsValue_IsJsValue$A7) {
311
+ return self_.call(self_, a1_, a2_, a3_, a4_, a5_, a6_, a7_)
312
+ }
313
+
314
+ export function JsValue_callValue8(self_, a1_, a2_, a3_, a4_, a5_, a6_, a7_, a8_, ff_core_JsValue_IsJsValue$A1, ff_core_JsValue_IsJsValue$A2, ff_core_JsValue_IsJsValue$A3, ff_core_JsValue_IsJsValue$A4, ff_core_JsValue_IsJsValue$A5, ff_core_JsValue_IsJsValue$A6, ff_core_JsValue_IsJsValue$A7, ff_core_JsValue_IsJsValue$A8) {
315
+ return self_.call(self_, a1_, a2_, a3_, a4_, a5_, a6_, a7_, a8_)
316
+ }
317
+
318
+ export function JsValue_callValue9(self_, a1_, a2_, a3_, a4_, a5_, a6_, a7_, a8_, a9_, ff_core_JsValue_IsJsValue$A1, ff_core_JsValue_IsJsValue$A2, ff_core_JsValue_IsJsValue$A3, ff_core_JsValue_IsJsValue$A4, ff_core_JsValue_IsJsValue$A5, ff_core_JsValue_IsJsValue$A6, ff_core_JsValue_IsJsValue$A7, ff_core_JsValue_IsJsValue$A8, ff_core_JsValue_IsJsValue$A9) {
319
+ return self_.call(self_, a1_, a2_, a3_, a4_, a5_, a6_, a7_, a8_, a9_)
320
+ }
321
+
322
+ export function JsValue_new(self_, this_, arguments_) {
323
+ return new (Function.prototype.bind.apply(self_, ff_core_List.List_toArray(arguments_)))
324
+ }
325
+
326
+ export function JsValue_new0(self_) {
327
+ return new self_()
328
+ }
329
+
330
+ export function JsValue_new1(self_, a1_, ff_core_JsValue_IsJsValue$A1) {
331
+ return new self_(a1_)
332
+ }
333
+
334
+ export function JsValue_new2(self_, a1_, a2_, ff_core_JsValue_IsJsValue$A1, ff_core_JsValue_IsJsValue$A2) {
335
+ return new self_(a1_, a2_)
336
+ }
337
+
338
+ export function JsValue_new3(self_, a1_, a2_, a3_, ff_core_JsValue_IsJsValue$A1, ff_core_JsValue_IsJsValue$A2, ff_core_JsValue_IsJsValue$A3) {
339
+ return new self_(a1_, a2_, a3_)
340
+ }
341
+
342
+ export function JsValue_new4(self_, a1_, a2_, a3_, a4_, ff_core_JsValue_IsJsValue$A1, ff_core_JsValue_IsJsValue$A2, ff_core_JsValue_IsJsValue$A3, ff_core_JsValue_IsJsValue$A4) {
343
+ return new self_(a1_, a2_, a3_, a4_)
344
+ }
345
+
346
+ export function JsValue_new5(self_, a1_, a2_, a3_, a4_, a5_, ff_core_JsValue_IsJsValue$A1, ff_core_JsValue_IsJsValue$A2, ff_core_JsValue_IsJsValue$A3, ff_core_JsValue_IsJsValue$A4, ff_core_JsValue_IsJsValue$A5) {
347
+ return new self_(a1_, a2_, a3_, a4_, a5_)
348
+ }
349
+
350
+ export function JsValue_new6(self_, a1_, a2_, a3_, a4_, a5_, a6_, ff_core_JsValue_IsJsValue$A1, ff_core_JsValue_IsJsValue$A2, ff_core_JsValue_IsJsValue$A3, ff_core_JsValue_IsJsValue$A4, ff_core_JsValue_IsJsValue$A5, ff_core_JsValue_IsJsValue$A6) {
351
+ return new self_(a1_, a2_, a3_, a4_, a5_, a6_)
352
+ }
353
+
354
+ export function JsValue_new7(self_, a1_, a2_, a3_, a4_, a5_, a6_, a7_, ff_core_JsValue_IsJsValue$A1, ff_core_JsValue_IsJsValue$A2, ff_core_JsValue_IsJsValue$A3, ff_core_JsValue_IsJsValue$A4, ff_core_JsValue_IsJsValue$A5, ff_core_JsValue_IsJsValue$A6, ff_core_JsValue_IsJsValue$A7) {
355
+ return new self_(a1_, a2_, a3_, a4_, a5_, a6_, a7_)
356
+ }
357
+
358
+ export function JsValue_new8(self_, a1_, a2_, a3_, a4_, a5_, a6_, a7_, a8_, ff_core_JsValue_IsJsValue$A1, ff_core_JsValue_IsJsValue$A2, ff_core_JsValue_IsJsValue$A3, ff_core_JsValue_IsJsValue$A4, ff_core_JsValue_IsJsValue$A5, ff_core_JsValue_IsJsValue$A6, ff_core_JsValue_IsJsValue$A7, ff_core_JsValue_IsJsValue$A8) {
359
+ return new self_(a1_, a2_, a3_, a4_, a5_, a6_, a7_, a8_)
360
+ }
361
+
362
+ export function JsValue_new9(self_, a1_, a2_, a3_, a4_, a5_, a6_, a7_, a8_, a9_, ff_core_JsValue_IsJsValue$A1, ff_core_JsValue_IsJsValue$A2, ff_core_JsValue_IsJsValue$A3, ff_core_JsValue_IsJsValue$A4, ff_core_JsValue_IsJsValue$A5, ff_core_JsValue_IsJsValue$A6, ff_core_JsValue_IsJsValue$A7, ff_core_JsValue_IsJsValue$A8, ff_core_JsValue_IsJsValue$A9) {
363
+ return new self_(a1_, a2_, a3_, a4_, a5_, a6_, a7_, a8_, a9_)
364
+ }
365
+
366
+ export function JsValue_toJson(self_, space_ = ff_core_Option.None()) {
367
+ return JSON.stringify(self_, null, space_.value_)
368
+ }
369
+
370
+ export function JsValue_grabPairs(self_) {
367
371
 
368
372
  if(!(self_ instanceof Object)) throw new Error('Expected object, got '+ typeof self_);;
369
373
  let result = ff_core_List.Empty();
@@ -372,357 +376,357 @@ export function JsValue_grabPairs(self_) {
372
376
  result = ff_core_List.Link(pair, result);
373
377
  })
374
378
  return result;
375
-
376
- }
377
-
378
- export function JsValue_grabMap(self_) {
379
- return ff_core_List.List_toMap(ff_core_JsValue.JsValue_grabPairs(self_), ff_core_Ordering.ff_core_Ordering_Order$ff_core_String_String)
380
- }
381
-
382
- export function JsValue_grabIntMap(self_) {
379
+
380
+ }
381
+
382
+ export function JsValue_grabMap(self_) {
383
+ return ff_core_List.List_toMap(ff_core_JsValue.JsValue_grabPairs(self_), ff_core_Ordering.ff_core_Ordering_Order$ff_core_String_String)
384
+ }
385
+
386
+ export function JsValue_grabIntMap(self_) {
383
387
 
384
388
  if(!(self_ instanceof Map)) throw new Error('Expected map, got '+ typeof self_);;
385
389
  return self_
386
-
387
- }
388
-
389
- export function JsValue_grabStringMap(self_) {
390
+
391
+ }
392
+
393
+ export function JsValue_grabStringMap(self_) {
390
394
 
391
395
  if(!(self_ instanceof Map)) throw new Error('Expected map, got '+ typeof self_);;
392
396
  return self_
393
-
394
- }
395
-
396
- export async function JsValue_grabString$(self_, $task) {
397
- throw new Error('Function JsValue_grabString is missing on this target in async context.');
398
- }
399
-
400
- export async function JsValue_grabChar$(self_, $task) {
401
- throw new Error('Function JsValue_grabChar is missing on this target in async context.');
402
- }
403
-
404
- export async function JsValue_grabInt$(self_, $task) {
405
- throw new Error('Function JsValue_grabInt is missing on this target in async context.');
406
- }
407
-
408
- export async function JsValue_grabFloat$(self_, $task) {
409
- throw new Error('Function JsValue_grabFloat is missing on this target in async context.');
410
- }
411
-
412
- export async function JsValue_grabBool$(self_, $task) {
413
- throw new Error('Function JsValue_grabBool is missing on this target in async context.');
414
- }
415
-
416
- export async function JsValue_grabArray$(self_, $task) {
417
- throw new Error('Function JsValue_grabArray is missing on this target in async context.');
418
- }
419
-
420
- export async function JsValue_grabBuffer$(self_, $task) {
421
- throw new Error('Function JsValue_grabBuffer is missing on this target in async context.');
422
- }
423
-
424
- export async function JsValue_equals$(self_, value_, ff_core_JsValue_IsJsValue$V, $task) {
425
- throw new Error('Function JsValue_equals is missing on this target in async context.');
426
- }
427
-
428
- export async function JsValue_isString$(self_, $task) {
429
- throw new Error('Function JsValue_isString is missing on this target in async context.');
430
- }
431
-
432
- export async function JsValue_isChar$(self_, $task) {
433
- throw new Error('Function JsValue_isChar is missing on this target in async context.');
434
- }
435
-
436
- export async function JsValue_isInt$(self_, $task) {
437
- throw new Error('Function JsValue_isInt is missing on this target in async context.');
438
- }
439
-
440
- export async function JsValue_isFloat$(self_, $task) {
441
- throw new Error('Function JsValue_isFloat is missing on this target in async context.');
442
- }
443
-
444
- export async function JsValue_isBool$(self_, $task) {
445
- throw new Error('Function JsValue_isBool is missing on this target in async context.');
446
- }
447
-
448
- export async function JsValue_isArray$(self_, $task) {
449
- throw new Error('Function JsValue_isArray is missing on this target in async context.');
450
- }
451
-
452
- export async function JsValue_isObject$(self_, $task) {
453
- throw new Error('Function JsValue_isObject is missing on this target in async context.');
454
- }
455
-
456
- export async function JsValue_isFunction$(self_, $task) {
457
- throw new Error('Function JsValue_isFunction is missing on this target in async context.');
458
- }
459
-
460
- export async function JsValue_isNull$(self_, $task) {
461
- throw new Error('Function JsValue_isNull is missing on this target in async context.');
462
- }
463
-
464
- export async function JsValue_isUndefined$(self_, $task) {
465
- throw new Error('Function JsValue_isUndefined is missing on this target in async context.');
466
- }
467
-
468
- export async function JsValue_isNullOrUndefined$(self_, $task) {
469
- throw new Error('Function JsValue_isNullOrUndefined is missing on this target in async context.');
470
- }
471
-
472
- export async function JsValue_isNan$(self_, $task) {
473
- throw new Error('Function JsValue_isNan is missing on this target in async context.');
474
- }
475
-
476
- export async function JsValue_isFinite$(self_, $task) {
477
- throw new Error('Function JsValue_isFinite is missing on this target in async context.');
478
- }
479
-
480
- export async function JsValue_get$(self_, key_, ff_core_JsValue_IsJsValue$K, $task) {
481
- throw new Error('Function JsValue_get is missing on this target in async context.');
482
- }
483
-
484
- export async function JsValue_getOwn$(self_, key_, $task) {
485
- if(ff_core_JsValue.JsValue_hasOwn(self_, key_)) {
486
- return ff_core_Option.Some(ff_core_JsValue.JsValue_get(self_, key_, ff_core_JsValue.ff_core_JsValue_IsJsValue$ff_core_String_String))
487
- } else {
488
- return ff_core_Option.None()
489
- }
490
- }
491
-
492
- export async function JsValue_set$(self_, key_, value_, ff_core_JsValue_IsJsValue$K, ff_core_JsValue_IsJsValue$V, $task) {
493
- throw new Error('Function JsValue_set is missing on this target in async context.');
494
- }
495
-
496
- export async function JsValue_delete$(self_, key_, ff_core_JsValue_IsJsValue$K, $task) {
497
- throw new Error('Function JsValue_delete is missing on this target in async context.');
498
- }
499
-
500
- export async function JsValue_with$(self_, key_, value_, ff_core_JsValue_IsJsValue$K, ff_core_JsValue_IsJsValue$V, $task) {
501
- throw new Error('Function JsValue_with is missing on this target in async context.');
502
- }
503
-
504
- export async function JsValue_hasOwn$(self_, name_, $task) {
505
- throw new Error('Function JsValue_hasOwn is missing on this target in async context.');
506
- }
507
-
508
- export async function JsValue_assign$(self_, source_, source2_ = source_, $task) {
509
- throw new Error('Function JsValue_assign is missing on this target in async context.');
510
- }
511
-
512
- export async function JsValue_each$(self_, body_, $task) {
513
- for(const value of self_) await body_(value, $task)
514
- }
515
-
516
- export async function JsValue_eachWhile$(self_, body_, $task) {
517
- for(const value of self_) if(!await body_(value, $task)) break
518
- }
519
-
520
- export async function JsValue_call$(self_, name_, arguments_, $task) {
521
- throw new Error('Function JsValue_call is missing on this target in async context.');
522
- }
523
-
524
- export async function JsValue_call0$(self_, name_, $task) {
525
- throw new Error('Function JsValue_call0 is missing on this target in async context.');
526
- }
527
-
528
- export async function JsValue_call1$(self_, name_, a1_, ff_core_JsValue_IsJsValue$A1, $task) {
529
- throw new Error('Function JsValue_call1 is missing on this target in async context.');
530
- }
531
-
532
- export async function JsValue_call2$(self_, name_, a1_, a2_, ff_core_JsValue_IsJsValue$A1, ff_core_JsValue_IsJsValue$A2, $task) {
533
- throw new Error('Function JsValue_call2 is missing on this target in async context.');
534
- }
535
-
536
- export async function JsValue_call3$(self_, name_, a1_, a2_, a3_, ff_core_JsValue_IsJsValue$A1, ff_core_JsValue_IsJsValue$A2, ff_core_JsValue_IsJsValue$A3, $task) {
537
- throw new Error('Function JsValue_call3 is missing on this target in async context.');
538
- }
539
-
540
- export async function JsValue_call4$(self_, name_, a1_, a2_, a3_, a4_, ff_core_JsValue_IsJsValue$A1, ff_core_JsValue_IsJsValue$A2, ff_core_JsValue_IsJsValue$A3, ff_core_JsValue_IsJsValue$A4, $task) {
541
- throw new Error('Function JsValue_call4 is missing on this target in async context.');
542
- }
543
-
544
- export async function JsValue_call5$(self_, name_, a1_, a2_, a3_, a4_, a5_, ff_core_JsValue_IsJsValue$A1, ff_core_JsValue_IsJsValue$A2, ff_core_JsValue_IsJsValue$A3, ff_core_JsValue_IsJsValue$A4, ff_core_JsValue_IsJsValue$A5, $task) {
545
- throw new Error('Function JsValue_call5 is missing on this target in async context.');
546
- }
547
-
548
- export async function JsValue_call6$(self_, name_, a1_, a2_, a3_, a4_, a5_, a6_, ff_core_JsValue_IsJsValue$A1, ff_core_JsValue_IsJsValue$A2, ff_core_JsValue_IsJsValue$A3, ff_core_JsValue_IsJsValue$A4, ff_core_JsValue_IsJsValue$A5, ff_core_JsValue_IsJsValue$A6, $task) {
549
- throw new Error('Function JsValue_call6 is missing on this target in async context.');
550
- }
551
-
552
- export async function JsValue_call7$(self_, name_, a1_, a2_, a3_, a4_, a5_, a6_, a7_, ff_core_JsValue_IsJsValue$A1, ff_core_JsValue_IsJsValue$A2, ff_core_JsValue_IsJsValue$A3, ff_core_JsValue_IsJsValue$A4, ff_core_JsValue_IsJsValue$A5, ff_core_JsValue_IsJsValue$A6, ff_core_JsValue_IsJsValue$A7, $task) {
553
- throw new Error('Function JsValue_call7 is missing on this target in async context.');
554
- }
555
-
556
- export async function JsValue_call8$(self_, name_, a1_, a2_, a3_, a4_, a5_, a6_, a7_, a8_, ff_core_JsValue_IsJsValue$A1, ff_core_JsValue_IsJsValue$A2, ff_core_JsValue_IsJsValue$A3, ff_core_JsValue_IsJsValue$A4, ff_core_JsValue_IsJsValue$A5, ff_core_JsValue_IsJsValue$A6, ff_core_JsValue_IsJsValue$A7, ff_core_JsValue_IsJsValue$A8, $task) {
557
- throw new Error('Function JsValue_call8 is missing on this target in async context.');
558
- }
559
-
560
- export async function JsValue_call9$(self_, name_, a1_, a2_, a3_, a4_, a5_, a6_, a7_, a8_, a9_, ff_core_JsValue_IsJsValue$A1, ff_core_JsValue_IsJsValue$A2, ff_core_JsValue_IsJsValue$A3, ff_core_JsValue_IsJsValue$A4, ff_core_JsValue_IsJsValue$A5, ff_core_JsValue_IsJsValue$A6, ff_core_JsValue_IsJsValue$A7, ff_core_JsValue_IsJsValue$A8, ff_core_JsValue_IsJsValue$A9, $task) {
561
- throw new Error('Function JsValue_call9 is missing on this target in async context.');
562
- }
563
-
564
- export async function JsValue_callValue$(self_, this_, arguments_, $task) {
565
- throw new Error('Function JsValue_callValue is missing on this target in async context.');
566
- }
567
-
568
- export async function JsValue_callValue0$(self_, $task) {
569
- throw new Error('Function JsValue_callValue0 is missing on this target in async context.');
570
- }
571
-
572
- export async function JsValue_callValue1$(self_, a1_, ff_core_JsValue_IsJsValue$A1, $task) {
573
- throw new Error('Function JsValue_callValue1 is missing on this target in async context.');
574
- }
575
-
576
- export async function JsValue_callValue2$(self_, a1_, a2_, ff_core_JsValue_IsJsValue$A1, ff_core_JsValue_IsJsValue$A2, $task) {
577
- throw new Error('Function JsValue_callValue2 is missing on this target in async context.');
578
- }
579
-
580
- export async function JsValue_callValue3$(self_, a1_, a2_, a3_, ff_core_JsValue_IsJsValue$A1, ff_core_JsValue_IsJsValue$A2, ff_core_JsValue_IsJsValue$A3, $task) {
581
- throw new Error('Function JsValue_callValue3 is missing on this target in async context.');
582
- }
583
-
584
- export async function JsValue_callValue4$(self_, a1_, a2_, a3_, a4_, ff_core_JsValue_IsJsValue$A1, ff_core_JsValue_IsJsValue$A2, ff_core_JsValue_IsJsValue$A3, ff_core_JsValue_IsJsValue$A4, $task) {
585
- throw new Error('Function JsValue_callValue4 is missing on this target in async context.');
586
- }
587
-
588
- export async function JsValue_callValue5$(self_, a1_, a2_, a3_, a4_, a5_, ff_core_JsValue_IsJsValue$A1, ff_core_JsValue_IsJsValue$A2, ff_core_JsValue_IsJsValue$A3, ff_core_JsValue_IsJsValue$A4, ff_core_JsValue_IsJsValue$A5, $task) {
589
- throw new Error('Function JsValue_callValue5 is missing on this target in async context.');
590
- }
591
-
592
- export async function JsValue_callValue6$(self_, a1_, a2_, a3_, a4_, a5_, a6_, ff_core_JsValue_IsJsValue$A1, ff_core_JsValue_IsJsValue$A2, ff_core_JsValue_IsJsValue$A3, ff_core_JsValue_IsJsValue$A4, ff_core_JsValue_IsJsValue$A5, ff_core_JsValue_IsJsValue$A6, $task) {
593
- throw new Error('Function JsValue_callValue6 is missing on this target in async context.');
594
- }
595
-
596
- export async function JsValue_callValue7$(self_, a1_, a2_, a3_, a4_, a5_, a6_, a7_, ff_core_JsValue_IsJsValue$A1, ff_core_JsValue_IsJsValue$A2, ff_core_JsValue_IsJsValue$A3, ff_core_JsValue_IsJsValue$A4, ff_core_JsValue_IsJsValue$A5, ff_core_JsValue_IsJsValue$A6, ff_core_JsValue_IsJsValue$A7, $task) {
597
- throw new Error('Function JsValue_callValue7 is missing on this target in async context.');
598
- }
599
-
600
- export async function JsValue_callValue8$(self_, a1_, a2_, a3_, a4_, a5_, a6_, a7_, a8_, ff_core_JsValue_IsJsValue$A1, ff_core_JsValue_IsJsValue$A2, ff_core_JsValue_IsJsValue$A3, ff_core_JsValue_IsJsValue$A4, ff_core_JsValue_IsJsValue$A5, ff_core_JsValue_IsJsValue$A6, ff_core_JsValue_IsJsValue$A7, ff_core_JsValue_IsJsValue$A8, $task) {
601
- throw new Error('Function JsValue_callValue8 is missing on this target in async context.');
602
- }
603
-
604
- export async function JsValue_callValue9$(self_, a1_, a2_, a3_, a4_, a5_, a6_, a7_, a8_, a9_, ff_core_JsValue_IsJsValue$A1, ff_core_JsValue_IsJsValue$A2, ff_core_JsValue_IsJsValue$A3, ff_core_JsValue_IsJsValue$A4, ff_core_JsValue_IsJsValue$A5, ff_core_JsValue_IsJsValue$A6, ff_core_JsValue_IsJsValue$A7, ff_core_JsValue_IsJsValue$A8, ff_core_JsValue_IsJsValue$A9, $task) {
605
- throw new Error('Function JsValue_callValue9 is missing on this target in async context.');
606
- }
607
-
608
- export async function JsValue_new$(self_, this_, arguments_, $task) {
609
- throw new Error('Function JsValue_new is missing on this target in async context.');
610
- }
611
-
612
- export async function JsValue_new0$(self_, $task) {
613
- throw new Error('Function JsValue_new0 is missing on this target in async context.');
614
- }
615
-
616
- export async function JsValue_new1$(self_, a1_, ff_core_JsValue_IsJsValue$A1, $task) {
617
- throw new Error('Function JsValue_new1 is missing on this target in async context.');
618
- }
619
-
620
- export async function JsValue_new2$(self_, a1_, a2_, ff_core_JsValue_IsJsValue$A1, ff_core_JsValue_IsJsValue$A2, $task) {
621
- throw new Error('Function JsValue_new2 is missing on this target in async context.');
622
- }
623
-
624
- export async function JsValue_new3$(self_, a1_, a2_, a3_, ff_core_JsValue_IsJsValue$A1, ff_core_JsValue_IsJsValue$A2, ff_core_JsValue_IsJsValue$A3, $task) {
625
- throw new Error('Function JsValue_new3 is missing on this target in async context.');
626
- }
627
-
628
- export async function JsValue_new4$(self_, a1_, a2_, a3_, a4_, ff_core_JsValue_IsJsValue$A1, ff_core_JsValue_IsJsValue$A2, ff_core_JsValue_IsJsValue$A3, ff_core_JsValue_IsJsValue$A4, $task) {
629
- throw new Error('Function JsValue_new4 is missing on this target in async context.');
630
- }
631
-
632
- export async function JsValue_new5$(self_, a1_, a2_, a3_, a4_, a5_, ff_core_JsValue_IsJsValue$A1, ff_core_JsValue_IsJsValue$A2, ff_core_JsValue_IsJsValue$A3, ff_core_JsValue_IsJsValue$A4, ff_core_JsValue_IsJsValue$A5, $task) {
633
- throw new Error('Function JsValue_new5 is missing on this target in async context.');
634
- }
635
-
636
- export async function JsValue_new6$(self_, a1_, a2_, a3_, a4_, a5_, a6_, ff_core_JsValue_IsJsValue$A1, ff_core_JsValue_IsJsValue$A2, ff_core_JsValue_IsJsValue$A3, ff_core_JsValue_IsJsValue$A4, ff_core_JsValue_IsJsValue$A5, ff_core_JsValue_IsJsValue$A6, $task) {
637
- throw new Error('Function JsValue_new6 is missing on this target in async context.');
638
- }
639
-
640
- export async function JsValue_new7$(self_, a1_, a2_, a3_, a4_, a5_, a6_, a7_, ff_core_JsValue_IsJsValue$A1, ff_core_JsValue_IsJsValue$A2, ff_core_JsValue_IsJsValue$A3, ff_core_JsValue_IsJsValue$A4, ff_core_JsValue_IsJsValue$A5, ff_core_JsValue_IsJsValue$A6, ff_core_JsValue_IsJsValue$A7, $task) {
641
- throw new Error('Function JsValue_new7 is missing on this target in async context.');
642
- }
643
-
644
- export async function JsValue_new8$(self_, a1_, a2_, a3_, a4_, a5_, a6_, a7_, a8_, ff_core_JsValue_IsJsValue$A1, ff_core_JsValue_IsJsValue$A2, ff_core_JsValue_IsJsValue$A3, ff_core_JsValue_IsJsValue$A4, ff_core_JsValue_IsJsValue$A5, ff_core_JsValue_IsJsValue$A6, ff_core_JsValue_IsJsValue$A7, ff_core_JsValue_IsJsValue$A8, $task) {
645
- throw new Error('Function JsValue_new8 is missing on this target in async context.');
646
- }
647
-
648
- export async function JsValue_new9$(self_, a1_, a2_, a3_, a4_, a5_, a6_, a7_, a8_, a9_, ff_core_JsValue_IsJsValue$A1, ff_core_JsValue_IsJsValue$A2, ff_core_JsValue_IsJsValue$A3, ff_core_JsValue_IsJsValue$A4, ff_core_JsValue_IsJsValue$A5, ff_core_JsValue_IsJsValue$A6, ff_core_JsValue_IsJsValue$A7, ff_core_JsValue_IsJsValue$A8, ff_core_JsValue_IsJsValue$A9, $task) {
649
- throw new Error('Function JsValue_new9 is missing on this target in async context.');
650
- }
651
-
652
- export async function JsValue_toJson$(self_, space_ = ff_core_Option.None(), $task) {
653
- throw new Error('Function JsValue_toJson is missing on this target in async context.');
654
- }
655
-
656
- export async function JsValue_grabPairs$(self_, $task) {
657
- throw new Error('Function JsValue_grabPairs is missing on this target in async context.');
658
- }
659
-
660
- export async function JsValue_grabMap$(self_, $task) {
661
- return ff_core_List.List_toMap(ff_core_JsValue.JsValue_grabPairs(self_), ff_core_Ordering.ff_core_Ordering_Order$ff_core_String_String)
662
- }
663
-
664
- export async function JsValue_grabIntMap$(self_, $task) {
665
- throw new Error('Function JsValue_grabIntMap is missing on this target in async context.');
666
- }
667
-
668
- export async function JsValue_grabStringMap$(self_, $task) {
669
- throw new Error('Function JsValue_grabStringMap is missing on this target in async context.');
670
- }
671
-
672
- export const ff_core_JsValue_IsJsValue$ff_core_JsValue_JsValue = {
673
-
674
- };
675
-
676
- export const ff_core_JsValue_IsJsValue$ff_core_String_String = {
677
-
678
- };
679
-
680
- export const ff_core_JsValue_IsJsValue$ff_core_Char_Char = {
681
-
682
- };
683
-
684
- export const ff_core_JsValue_IsJsValue$ff_core_Int_Int = {
685
-
686
- };
687
-
688
- export const ff_core_JsValue_IsJsValue$ff_core_Float_Float = {
689
-
690
- };
691
-
692
- export const ff_core_JsValue_IsJsValue$ff_core_Bool_Bool = {
693
-
694
- };
695
-
696
- export function ff_core_JsValue_IsJsValue$ff_core_Array_Array(ff_core_JsValue_IsJsValue$T) { return {
697
-
698
- }}
699
-
700
- export function ff_core_JsValue_IsJsValue$ff_core_IntMap_IntMap(ff_core_JsValue_IsJsValue$T) { return {
701
-
702
- }}
703
-
704
- export function ff_core_JsValue_IsJsValue$ff_core_StringMap_StringMap(ff_core_JsValue_IsJsValue$T) { return {
705
-
706
- }}
707
-
708
- export const ff_core_JsValue_IsJsValue$ff_core_Error_Error = {
709
-
710
- };
711
-
712
- export const ff_core_JsValue_IsJsValue$ff_core_Instant_Instant = {
713
-
714
- };
715
-
716
- export const ff_core_JsValue_IsJsValue$ff_core_Duration_Duration = {
717
-
718
- };
719
-
720
- export const ff_core_JsValue_IsJsValue$ff_core_Buffer_Buffer = {
721
-
722
- };
723
-
724
- export const ff_core_JsValue_IsJsValue$ff_core_Nothing_Nothing = {
725
-
726
- };
727
-
728
-
397
+
398
+ }
399
+
400
+ export async function JsValue_grabString$(self_, $task) {
401
+ throw new Error('Function JsValue_grabString is missing on this target in async context.');
402
+ }
403
+
404
+ export async function JsValue_grabChar$(self_, $task) {
405
+ throw new Error('Function JsValue_grabChar is missing on this target in async context.');
406
+ }
407
+
408
+ export async function JsValue_grabInt$(self_, $task) {
409
+ throw new Error('Function JsValue_grabInt is missing on this target in async context.');
410
+ }
411
+
412
+ export async function JsValue_grabFloat$(self_, $task) {
413
+ throw new Error('Function JsValue_grabFloat is missing on this target in async context.');
414
+ }
415
+
416
+ export async function JsValue_grabBool$(self_, $task) {
417
+ throw new Error('Function JsValue_grabBool is missing on this target in async context.');
418
+ }
419
+
420
+ export async function JsValue_grabArray$(self_, $task) {
421
+ throw new Error('Function JsValue_grabArray is missing on this target in async context.');
422
+ }
423
+
424
+ export async function JsValue_grabBuffer$(self_, $task) {
425
+ throw new Error('Function JsValue_grabBuffer is missing on this target in async context.');
426
+ }
427
+
428
+ export async function JsValue_equals$(self_, value_, ff_core_JsValue_IsJsValue$V, $task) {
429
+ throw new Error('Function JsValue_equals is missing on this target in async context.');
430
+ }
431
+
432
+ export async function JsValue_isString$(self_, $task) {
433
+ throw new Error('Function JsValue_isString is missing on this target in async context.');
434
+ }
435
+
436
+ export async function JsValue_isChar$(self_, $task) {
437
+ throw new Error('Function JsValue_isChar is missing on this target in async context.');
438
+ }
439
+
440
+ export async function JsValue_isInt$(self_, $task) {
441
+ throw new Error('Function JsValue_isInt is missing on this target in async context.');
442
+ }
443
+
444
+ export async function JsValue_isFloat$(self_, $task) {
445
+ throw new Error('Function JsValue_isFloat is missing on this target in async context.');
446
+ }
447
+
448
+ export async function JsValue_isBool$(self_, $task) {
449
+ throw new Error('Function JsValue_isBool is missing on this target in async context.');
450
+ }
451
+
452
+ export async function JsValue_isArray$(self_, $task) {
453
+ throw new Error('Function JsValue_isArray is missing on this target in async context.');
454
+ }
455
+
456
+ export async function JsValue_isObject$(self_, $task) {
457
+ throw new Error('Function JsValue_isObject is missing on this target in async context.');
458
+ }
459
+
460
+ export async function JsValue_isFunction$(self_, $task) {
461
+ throw new Error('Function JsValue_isFunction is missing on this target in async context.');
462
+ }
463
+
464
+ export async function JsValue_isNull$(self_, $task) {
465
+ throw new Error('Function JsValue_isNull is missing on this target in async context.');
466
+ }
467
+
468
+ export async function JsValue_isUndefined$(self_, $task) {
469
+ throw new Error('Function JsValue_isUndefined is missing on this target in async context.');
470
+ }
471
+
472
+ export async function JsValue_isNullOrUndefined$(self_, $task) {
473
+ throw new Error('Function JsValue_isNullOrUndefined is missing on this target in async context.');
474
+ }
475
+
476
+ export async function JsValue_isNan$(self_, $task) {
477
+ throw new Error('Function JsValue_isNan is missing on this target in async context.');
478
+ }
479
+
480
+ export async function JsValue_isFinite$(self_, $task) {
481
+ throw new Error('Function JsValue_isFinite is missing on this target in async context.');
482
+ }
483
+
484
+ export async function JsValue_get$(self_, key_, ff_core_JsValue_IsJsValue$K, $task) {
485
+ throw new Error('Function JsValue_get is missing on this target in async context.');
486
+ }
487
+
488
+ export async function JsValue_getOwn$(self_, key_, $task) {
489
+ if(ff_core_JsValue.JsValue_hasOwn(self_, key_)) {
490
+ return ff_core_Option.Some(ff_core_JsValue.JsValue_get(self_, key_, ff_core_JsValue.ff_core_JsValue_IsJsValue$ff_core_String_String))
491
+ } else {
492
+ return ff_core_Option.None()
493
+ }
494
+ }
495
+
496
+ export async function JsValue_set$(self_, key_, value_, ff_core_JsValue_IsJsValue$K, ff_core_JsValue_IsJsValue$V, $task) {
497
+ throw new Error('Function JsValue_set is missing on this target in async context.');
498
+ }
499
+
500
+ export async function JsValue_delete$(self_, key_, ff_core_JsValue_IsJsValue$K, $task) {
501
+ throw new Error('Function JsValue_delete is missing on this target in async context.');
502
+ }
503
+
504
+ export async function JsValue_with$(self_, key_, value_, ff_core_JsValue_IsJsValue$K, ff_core_JsValue_IsJsValue$V, $task) {
505
+ throw new Error('Function JsValue_with is missing on this target in async context.');
506
+ }
507
+
508
+ export async function JsValue_hasOwn$(self_, name_, $task) {
509
+ throw new Error('Function JsValue_hasOwn is missing on this target in async context.');
510
+ }
511
+
512
+ export async function JsValue_assign$(self_, source_, source2_ = source_, $task) {
513
+ throw new Error('Function JsValue_assign is missing on this target in async context.');
514
+ }
515
+
516
+ export async function JsValue_each$(self_, body_, $task) {
517
+ for(const value of self_) await body_(value, $task)
518
+ }
519
+
520
+ export async function JsValue_eachWhile$(self_, body_, $task) {
521
+ for(const value of self_) if(!await body_(value, $task)) break
522
+ }
523
+
524
+ export async function JsValue_call$(self_, name_, arguments_, $task) {
525
+ throw new Error('Function JsValue_call is missing on this target in async context.');
526
+ }
527
+
528
+ export async function JsValue_call0$(self_, name_, $task) {
529
+ throw new Error('Function JsValue_call0 is missing on this target in async context.');
530
+ }
531
+
532
+ export async function JsValue_call1$(self_, name_, a1_, ff_core_JsValue_IsJsValue$A1, $task) {
533
+ throw new Error('Function JsValue_call1 is missing on this target in async context.');
534
+ }
535
+
536
+ export async function JsValue_call2$(self_, name_, a1_, a2_, ff_core_JsValue_IsJsValue$A1, ff_core_JsValue_IsJsValue$A2, $task) {
537
+ throw new Error('Function JsValue_call2 is missing on this target in async context.');
538
+ }
539
+
540
+ export async function JsValue_call3$(self_, name_, a1_, a2_, a3_, ff_core_JsValue_IsJsValue$A1, ff_core_JsValue_IsJsValue$A2, ff_core_JsValue_IsJsValue$A3, $task) {
541
+ throw new Error('Function JsValue_call3 is missing on this target in async context.');
542
+ }
543
+
544
+ export async function JsValue_call4$(self_, name_, a1_, a2_, a3_, a4_, ff_core_JsValue_IsJsValue$A1, ff_core_JsValue_IsJsValue$A2, ff_core_JsValue_IsJsValue$A3, ff_core_JsValue_IsJsValue$A4, $task) {
545
+ throw new Error('Function JsValue_call4 is missing on this target in async context.');
546
+ }
547
+
548
+ export async function JsValue_call5$(self_, name_, a1_, a2_, a3_, a4_, a5_, ff_core_JsValue_IsJsValue$A1, ff_core_JsValue_IsJsValue$A2, ff_core_JsValue_IsJsValue$A3, ff_core_JsValue_IsJsValue$A4, ff_core_JsValue_IsJsValue$A5, $task) {
549
+ throw new Error('Function JsValue_call5 is missing on this target in async context.');
550
+ }
551
+
552
+ export async function JsValue_call6$(self_, name_, a1_, a2_, a3_, a4_, a5_, a6_, ff_core_JsValue_IsJsValue$A1, ff_core_JsValue_IsJsValue$A2, ff_core_JsValue_IsJsValue$A3, ff_core_JsValue_IsJsValue$A4, ff_core_JsValue_IsJsValue$A5, ff_core_JsValue_IsJsValue$A6, $task) {
553
+ throw new Error('Function JsValue_call6 is missing on this target in async context.');
554
+ }
555
+
556
+ export async function JsValue_call7$(self_, name_, a1_, a2_, a3_, a4_, a5_, a6_, a7_, ff_core_JsValue_IsJsValue$A1, ff_core_JsValue_IsJsValue$A2, ff_core_JsValue_IsJsValue$A3, ff_core_JsValue_IsJsValue$A4, ff_core_JsValue_IsJsValue$A5, ff_core_JsValue_IsJsValue$A6, ff_core_JsValue_IsJsValue$A7, $task) {
557
+ throw new Error('Function JsValue_call7 is missing on this target in async context.');
558
+ }
559
+
560
+ export async function JsValue_call8$(self_, name_, a1_, a2_, a3_, a4_, a5_, a6_, a7_, a8_, ff_core_JsValue_IsJsValue$A1, ff_core_JsValue_IsJsValue$A2, ff_core_JsValue_IsJsValue$A3, ff_core_JsValue_IsJsValue$A4, ff_core_JsValue_IsJsValue$A5, ff_core_JsValue_IsJsValue$A6, ff_core_JsValue_IsJsValue$A7, ff_core_JsValue_IsJsValue$A8, $task) {
561
+ throw new Error('Function JsValue_call8 is missing on this target in async context.');
562
+ }
563
+
564
+ export async function JsValue_call9$(self_, name_, a1_, a2_, a3_, a4_, a5_, a6_, a7_, a8_, a9_, ff_core_JsValue_IsJsValue$A1, ff_core_JsValue_IsJsValue$A2, ff_core_JsValue_IsJsValue$A3, ff_core_JsValue_IsJsValue$A4, ff_core_JsValue_IsJsValue$A5, ff_core_JsValue_IsJsValue$A6, ff_core_JsValue_IsJsValue$A7, ff_core_JsValue_IsJsValue$A8, ff_core_JsValue_IsJsValue$A9, $task) {
565
+ throw new Error('Function JsValue_call9 is missing on this target in async context.');
566
+ }
567
+
568
+ export async function JsValue_callValue$(self_, this_, arguments_, $task) {
569
+ throw new Error('Function JsValue_callValue is missing on this target in async context.');
570
+ }
571
+
572
+ export async function JsValue_callValue0$(self_, $task) {
573
+ throw new Error('Function JsValue_callValue0 is missing on this target in async context.');
574
+ }
575
+
576
+ export async function JsValue_callValue1$(self_, a1_, ff_core_JsValue_IsJsValue$A1, $task) {
577
+ throw new Error('Function JsValue_callValue1 is missing on this target in async context.');
578
+ }
579
+
580
+ export async function JsValue_callValue2$(self_, a1_, a2_, ff_core_JsValue_IsJsValue$A1, ff_core_JsValue_IsJsValue$A2, $task) {
581
+ throw new Error('Function JsValue_callValue2 is missing on this target in async context.');
582
+ }
583
+
584
+ export async function JsValue_callValue3$(self_, a1_, a2_, a3_, ff_core_JsValue_IsJsValue$A1, ff_core_JsValue_IsJsValue$A2, ff_core_JsValue_IsJsValue$A3, $task) {
585
+ throw new Error('Function JsValue_callValue3 is missing on this target in async context.');
586
+ }
587
+
588
+ export async function JsValue_callValue4$(self_, a1_, a2_, a3_, a4_, ff_core_JsValue_IsJsValue$A1, ff_core_JsValue_IsJsValue$A2, ff_core_JsValue_IsJsValue$A3, ff_core_JsValue_IsJsValue$A4, $task) {
589
+ throw new Error('Function JsValue_callValue4 is missing on this target in async context.');
590
+ }
591
+
592
+ export async function JsValue_callValue5$(self_, a1_, a2_, a3_, a4_, a5_, ff_core_JsValue_IsJsValue$A1, ff_core_JsValue_IsJsValue$A2, ff_core_JsValue_IsJsValue$A3, ff_core_JsValue_IsJsValue$A4, ff_core_JsValue_IsJsValue$A5, $task) {
593
+ throw new Error('Function JsValue_callValue5 is missing on this target in async context.');
594
+ }
595
+
596
+ export async function JsValue_callValue6$(self_, a1_, a2_, a3_, a4_, a5_, a6_, ff_core_JsValue_IsJsValue$A1, ff_core_JsValue_IsJsValue$A2, ff_core_JsValue_IsJsValue$A3, ff_core_JsValue_IsJsValue$A4, ff_core_JsValue_IsJsValue$A5, ff_core_JsValue_IsJsValue$A6, $task) {
597
+ throw new Error('Function JsValue_callValue6 is missing on this target in async context.');
598
+ }
599
+
600
+ export async function JsValue_callValue7$(self_, a1_, a2_, a3_, a4_, a5_, a6_, a7_, ff_core_JsValue_IsJsValue$A1, ff_core_JsValue_IsJsValue$A2, ff_core_JsValue_IsJsValue$A3, ff_core_JsValue_IsJsValue$A4, ff_core_JsValue_IsJsValue$A5, ff_core_JsValue_IsJsValue$A6, ff_core_JsValue_IsJsValue$A7, $task) {
601
+ throw new Error('Function JsValue_callValue7 is missing on this target in async context.');
602
+ }
603
+
604
+ export async function JsValue_callValue8$(self_, a1_, a2_, a3_, a4_, a5_, a6_, a7_, a8_, ff_core_JsValue_IsJsValue$A1, ff_core_JsValue_IsJsValue$A2, ff_core_JsValue_IsJsValue$A3, ff_core_JsValue_IsJsValue$A4, ff_core_JsValue_IsJsValue$A5, ff_core_JsValue_IsJsValue$A6, ff_core_JsValue_IsJsValue$A7, ff_core_JsValue_IsJsValue$A8, $task) {
605
+ throw new Error('Function JsValue_callValue8 is missing on this target in async context.');
606
+ }
607
+
608
+ export async function JsValue_callValue9$(self_, a1_, a2_, a3_, a4_, a5_, a6_, a7_, a8_, a9_, ff_core_JsValue_IsJsValue$A1, ff_core_JsValue_IsJsValue$A2, ff_core_JsValue_IsJsValue$A3, ff_core_JsValue_IsJsValue$A4, ff_core_JsValue_IsJsValue$A5, ff_core_JsValue_IsJsValue$A6, ff_core_JsValue_IsJsValue$A7, ff_core_JsValue_IsJsValue$A8, ff_core_JsValue_IsJsValue$A9, $task) {
609
+ throw new Error('Function JsValue_callValue9 is missing on this target in async context.');
610
+ }
611
+
612
+ export async function JsValue_new$(self_, this_, arguments_, $task) {
613
+ throw new Error('Function JsValue_new is missing on this target in async context.');
614
+ }
615
+
616
+ export async function JsValue_new0$(self_, $task) {
617
+ throw new Error('Function JsValue_new0 is missing on this target in async context.');
618
+ }
619
+
620
+ export async function JsValue_new1$(self_, a1_, ff_core_JsValue_IsJsValue$A1, $task) {
621
+ throw new Error('Function JsValue_new1 is missing on this target in async context.');
622
+ }
623
+
624
+ export async function JsValue_new2$(self_, a1_, a2_, ff_core_JsValue_IsJsValue$A1, ff_core_JsValue_IsJsValue$A2, $task) {
625
+ throw new Error('Function JsValue_new2 is missing on this target in async context.');
626
+ }
627
+
628
+ export async function JsValue_new3$(self_, a1_, a2_, a3_, ff_core_JsValue_IsJsValue$A1, ff_core_JsValue_IsJsValue$A2, ff_core_JsValue_IsJsValue$A3, $task) {
629
+ throw new Error('Function JsValue_new3 is missing on this target in async context.');
630
+ }
631
+
632
+ export async function JsValue_new4$(self_, a1_, a2_, a3_, a4_, ff_core_JsValue_IsJsValue$A1, ff_core_JsValue_IsJsValue$A2, ff_core_JsValue_IsJsValue$A3, ff_core_JsValue_IsJsValue$A4, $task) {
633
+ throw new Error('Function JsValue_new4 is missing on this target in async context.');
634
+ }
635
+
636
+ export async function JsValue_new5$(self_, a1_, a2_, a3_, a4_, a5_, ff_core_JsValue_IsJsValue$A1, ff_core_JsValue_IsJsValue$A2, ff_core_JsValue_IsJsValue$A3, ff_core_JsValue_IsJsValue$A4, ff_core_JsValue_IsJsValue$A5, $task) {
637
+ throw new Error('Function JsValue_new5 is missing on this target in async context.');
638
+ }
639
+
640
+ export async function JsValue_new6$(self_, a1_, a2_, a3_, a4_, a5_, a6_, ff_core_JsValue_IsJsValue$A1, ff_core_JsValue_IsJsValue$A2, ff_core_JsValue_IsJsValue$A3, ff_core_JsValue_IsJsValue$A4, ff_core_JsValue_IsJsValue$A5, ff_core_JsValue_IsJsValue$A6, $task) {
641
+ throw new Error('Function JsValue_new6 is missing on this target in async context.');
642
+ }
643
+
644
+ export async function JsValue_new7$(self_, a1_, a2_, a3_, a4_, a5_, a6_, a7_, ff_core_JsValue_IsJsValue$A1, ff_core_JsValue_IsJsValue$A2, ff_core_JsValue_IsJsValue$A3, ff_core_JsValue_IsJsValue$A4, ff_core_JsValue_IsJsValue$A5, ff_core_JsValue_IsJsValue$A6, ff_core_JsValue_IsJsValue$A7, $task) {
645
+ throw new Error('Function JsValue_new7 is missing on this target in async context.');
646
+ }
647
+
648
+ export async function JsValue_new8$(self_, a1_, a2_, a3_, a4_, a5_, a6_, a7_, a8_, ff_core_JsValue_IsJsValue$A1, ff_core_JsValue_IsJsValue$A2, ff_core_JsValue_IsJsValue$A3, ff_core_JsValue_IsJsValue$A4, ff_core_JsValue_IsJsValue$A5, ff_core_JsValue_IsJsValue$A6, ff_core_JsValue_IsJsValue$A7, ff_core_JsValue_IsJsValue$A8, $task) {
649
+ throw new Error('Function JsValue_new8 is missing on this target in async context.');
650
+ }
651
+
652
+ export async function JsValue_new9$(self_, a1_, a2_, a3_, a4_, a5_, a6_, a7_, a8_, a9_, ff_core_JsValue_IsJsValue$A1, ff_core_JsValue_IsJsValue$A2, ff_core_JsValue_IsJsValue$A3, ff_core_JsValue_IsJsValue$A4, ff_core_JsValue_IsJsValue$A5, ff_core_JsValue_IsJsValue$A6, ff_core_JsValue_IsJsValue$A7, ff_core_JsValue_IsJsValue$A8, ff_core_JsValue_IsJsValue$A9, $task) {
653
+ throw new Error('Function JsValue_new9 is missing on this target in async context.');
654
+ }
655
+
656
+ export async function JsValue_toJson$(self_, space_ = ff_core_Option.None(), $task) {
657
+ throw new Error('Function JsValue_toJson is missing on this target in async context.');
658
+ }
659
+
660
+ export async function JsValue_grabPairs$(self_, $task) {
661
+ throw new Error('Function JsValue_grabPairs is missing on this target in async context.');
662
+ }
663
+
664
+ export async function JsValue_grabMap$(self_, $task) {
665
+ return ff_core_List.List_toMap(ff_core_JsValue.JsValue_grabPairs(self_), ff_core_Ordering.ff_core_Ordering_Order$ff_core_String_String)
666
+ }
667
+
668
+ export async function JsValue_grabIntMap$(self_, $task) {
669
+ throw new Error('Function JsValue_grabIntMap is missing on this target in async context.');
670
+ }
671
+
672
+ export async function JsValue_grabStringMap$(self_, $task) {
673
+ throw new Error('Function JsValue_grabStringMap is missing on this target in async context.');
674
+ }
675
+
676
+ export const ff_core_JsValue_IsJsValue$ff_core_JsValue_JsValue = {
677
+
678
+ };
679
+
680
+ export const ff_core_JsValue_IsJsValue$ff_core_String_String = {
681
+
682
+ };
683
+
684
+ export const ff_core_JsValue_IsJsValue$ff_core_Char_Char = {
685
+
686
+ };
687
+
688
+ export const ff_core_JsValue_IsJsValue$ff_core_Int_Int = {
689
+
690
+ };
691
+
692
+ export const ff_core_JsValue_IsJsValue$ff_core_Float_Float = {
693
+
694
+ };
695
+
696
+ export const ff_core_JsValue_IsJsValue$ff_core_Bool_Bool = {
697
+
698
+ };
699
+
700
+ export function ff_core_JsValue_IsJsValue$ff_core_Array_Array(ff_core_JsValue_IsJsValue$T) { return {
701
+
702
+ }}
703
+
704
+ export function ff_core_JsValue_IsJsValue$ff_core_IntMap_IntMap(ff_core_JsValue_IsJsValue$T) { return {
705
+
706
+ }}
707
+
708
+ export function ff_core_JsValue_IsJsValue$ff_core_StringMap_StringMap(ff_core_JsValue_IsJsValue$T) { return {
709
+
710
+ }}
711
+
712
+ export const ff_core_JsValue_IsJsValue$ff_core_Error_Error = {
713
+
714
+ };
715
+
716
+ export const ff_core_JsValue_IsJsValue$ff_core_Instant_Instant = {
717
+
718
+ };
719
+
720
+ export const ff_core_JsValue_IsJsValue$ff_core_Duration_Duration = {
721
+
722
+ };
723
+
724
+ export const ff_core_JsValue_IsJsValue$ff_core_Buffer_Buffer = {
725
+
726
+ };
727
+
728
+ export const ff_core_JsValue_IsJsValue$ff_core_Nothing_Nothing = {
729
+
730
+ };
731
+
732
+