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,365 +1,369 @@
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 Stack
92
-
93
-
94
-
95
-
96
- export function make_() {
97
- return {array: []}
98
- }
99
-
100
- export function fill_(size_, value_) {
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 Stack
96
+
97
+
98
+
99
+
100
+ export function make_() {
101
+ return {array: []}
102
+ }
103
+
104
+ export function fill_(size_, value_) {
101
105
 
102
106
  return {array: new Array(size_).fill(value_)};
103
-
104
- }
105
-
106
- export function fillBy_(size_, body_) {
107
+
108
+ }
109
+
110
+ export function fillBy_(size_, body_) {
107
111
 
108
112
  return {array: Array.from({length: size_}, (_, i) => body_(i))};
109
-
110
- }
111
-
112
- export function range_(size_) {
113
+
114
+ }
115
+
116
+ export function range_(size_) {
113
117
 
114
118
  return {array: Array.from({length: size_}, (_, i) => i)};
115
-
116
- }
117
-
118
- export function sortRange_(stack_, compare_, start_, end_) {
119
- if(((end_ - start_) < 2)) {
120
-
121
- } else {
122
- let middle_ = (start_ + ((end_ - start_) / 2));
123
- ff_core_Stack.sortRange_(stack_, compare_, start_, middle_);
124
- ff_core_Stack.sortRange_(stack_, compare_, middle_, end_);
125
- let i_ = start_;
126
- let j_ = middle_;
127
- while(((i_ < middle_) && (j_ < end_))) {
128
- if((compare_(ff_core_Stack.Stack_grab(stack_, i_), ff_core_Stack.Stack_grab(stack_, j_)) !== ff_core_Ordering.OrderingAfter())) {
129
- i_ += 1
130
- } else {
131
- const value_ = ff_core_Stack.Stack_grab(stack_, j_);
132
- let k_ = j_;
133
- while((k_ > i_)) {
134
- ff_core_Stack.Stack_set(stack_, k_, ff_core_Stack.Stack_grab(stack_, (k_ - 1)));
135
- k_ -= 1
136
- };
137
- ff_core_Stack.Stack_set(stack_, i_, value_);
138
- i_ += 1;
139
- middle_ += 1;
140
- j_ += 1
141
- }
142
- }
143
- }
144
- }
145
-
146
- export async function make_$($task) {
147
- throw new Error('Function make is missing on this target in async context.');
148
- }
149
-
150
- export async function fill_$(size_, value_, $task) {
151
- throw new Error('Function fill is missing on this target in async context.');
152
- }
153
-
154
- export async function fillBy_$(size_, body_, $task) {
155
- throw new Error('Function fillBy is missing on this target in async context.');
156
- }
157
-
158
- export async function range_$(size_, $task) {
159
- throw new Error('Function range is missing on this target in async context.');
160
- }
161
-
162
- export async function sortRange_$(stack_, compare_, start_, end_, $task) {
163
- if(((end_ - start_) < 2)) {
164
-
165
- } else {
166
- let middle_ = (start_ + ((end_ - start_) / 2));
167
- (await ff_core_Stack.sortRange_$(stack_, compare_, start_, middle_, $task));
168
- (await ff_core_Stack.sortRange_$(stack_, compare_, middle_, end_, $task));
169
- let i_ = start_;
170
- let j_ = middle_;
171
- while(((i_ < middle_) && (j_ < end_))) {
172
- if(((await compare_(ff_core_Stack.Stack_grab(stack_, i_), ff_core_Stack.Stack_grab(stack_, j_), $task)) !== ff_core_Ordering.OrderingAfter())) {
173
- i_ += 1
174
- } else {
175
- const value_ = ff_core_Stack.Stack_grab(stack_, j_);
176
- let k_ = j_;
177
- while((k_ > i_)) {
178
- ff_core_Stack.Stack_set(stack_, k_, ff_core_Stack.Stack_grab(stack_, (k_ - 1)));
179
- k_ -= 1
180
- };
181
- ff_core_Stack.Stack_set(stack_, i_, value_);
182
- i_ += 1;
183
- middle_ += 1;
184
- j_ += 1
185
- }
186
- }
187
- }
188
- }
189
-
190
- export function Stack_isEmpty(self_) {
191
- return self_.array.length === 0
192
- }
193
-
194
- export function Stack_size(self_) {
195
- return self_.array.length
196
- }
197
-
198
- export function Stack_get(self_, index_) {
119
+
120
+ }
121
+
122
+ export function sortRange_(stack_, compare_, start_, end_) {
123
+ if(((end_ - start_) < 2)) {
124
+
125
+ } else {
126
+ let middle_ = (start_ + ((end_ - start_) / 2));
127
+ ff_core_Stack.sortRange_(stack_, compare_, start_, middle_);
128
+ ff_core_Stack.sortRange_(stack_, compare_, middle_, end_);
129
+ let i_ = start_;
130
+ let j_ = middle_;
131
+ while(((i_ < middle_) && (j_ < end_))) {
132
+ if((compare_(ff_core_Stack.Stack_grab(stack_, i_), ff_core_Stack.Stack_grab(stack_, j_)) !== ff_core_Ordering.OrderingAfter())) {
133
+ i_ += 1
134
+ } else {
135
+ const value_ = ff_core_Stack.Stack_grab(stack_, j_);
136
+ let k_ = j_;
137
+ while((k_ > i_)) {
138
+ ff_core_Stack.Stack_set(stack_, k_, ff_core_Stack.Stack_grab(stack_, (k_ - 1)));
139
+ k_ -= 1
140
+ };
141
+ ff_core_Stack.Stack_set(stack_, i_, value_);
142
+ i_ += 1;
143
+ middle_ += 1;
144
+ j_ += 1
145
+ }
146
+ }
147
+ }
148
+ }
149
+
150
+ export async function make_$($task) {
151
+ throw new Error('Function make is missing on this target in async context.');
152
+ }
153
+
154
+ export async function fill_$(size_, value_, $task) {
155
+ throw new Error('Function fill is missing on this target in async context.');
156
+ }
157
+
158
+ export async function fillBy_$(size_, body_, $task) {
159
+ throw new Error('Function fillBy is missing on this target in async context.');
160
+ }
161
+
162
+ export async function range_$(size_, $task) {
163
+ throw new Error('Function range is missing on this target in async context.');
164
+ }
165
+
166
+ export async function sortRange_$(stack_, compare_, start_, end_, $task) {
167
+ if(((end_ - start_) < 2)) {
168
+
169
+ } else {
170
+ let middle_ = (start_ + ((end_ - start_) / 2));
171
+ (await ff_core_Stack.sortRange_$(stack_, compare_, start_, middle_, $task));
172
+ (await ff_core_Stack.sortRange_$(stack_, compare_, middle_, end_, $task));
173
+ let i_ = start_;
174
+ let j_ = middle_;
175
+ while(((i_ < middle_) && (j_ < end_))) {
176
+ if(((await compare_(ff_core_Stack.Stack_grab(stack_, i_), ff_core_Stack.Stack_grab(stack_, j_), $task)) !== ff_core_Ordering.OrderingAfter())) {
177
+ i_ += 1
178
+ } else {
179
+ const value_ = ff_core_Stack.Stack_grab(stack_, j_);
180
+ let k_ = j_;
181
+ while((k_ > i_)) {
182
+ ff_core_Stack.Stack_set(stack_, k_, ff_core_Stack.Stack_grab(stack_, (k_ - 1)));
183
+ k_ -= 1
184
+ };
185
+ ff_core_Stack.Stack_set(stack_, i_, value_);
186
+ i_ += 1;
187
+ middle_ += 1;
188
+ j_ += 1
189
+ }
190
+ }
191
+ }
192
+ }
193
+
194
+ export function Stack_isEmpty(self_) {
195
+ return self_.array.length === 0
196
+ }
197
+
198
+ export function Stack_size(self_) {
199
+ return self_.array.length
200
+ }
201
+
202
+ export function Stack_get(self_, index_) {
199
203
 
200
204
  return index_ >= 0 && index_ < self_.array.length
201
205
  ? ff_core_Option.Some(self_.array[index_])
202
206
  : ff_core_Option.None()
203
-
204
- }
205
-
206
- export function Stack_grab(self_, index_) {
207
+
208
+ }
209
+
210
+ export function Stack_grab(self_, index_) {
207
211
 
208
212
  if(index_ < 0 || index_ >= self_.array.length) {
209
213
  ff_core_Try.internalThrowGrabException_()
210
214
  }
211
215
  return self_.array[index_]
212
-
213
- }
214
-
215
- export function Stack_grabFirst(self_) {
216
- return ff_core_Stack.Stack_grab(self_, 0)
217
- }
218
-
219
- export function Stack_grabLast(self_) {
220
- return ff_core_Stack.Stack_grab(self_, (ff_core_Stack.Stack_size(self_) - 1))
221
- }
222
-
223
- export function Stack_first(self_) {
216
+
217
+ }
218
+
219
+ export function Stack_grabFirst(self_) {
220
+ return ff_core_Stack.Stack_grab(self_, 0)
221
+ }
222
+
223
+ export function Stack_grabLast(self_) {
224
+ return ff_core_Stack.Stack_grab(self_, (ff_core_Stack.Stack_size(self_) - 1))
225
+ }
226
+
227
+ export function Stack_first(self_) {
224
228
 
225
229
  return self_.array.length > 0
226
230
  ? ff_core_Option.Some(self_.array[0])
227
231
  : ff_core_Option.None()
228
-
229
- }
230
-
231
- export function Stack_last(self_) {
232
+
233
+ }
234
+
235
+ export function Stack_last(self_) {
232
236
 
233
237
  return self_.array.length > 0
234
238
  ? ff_core_Option.Some(self_.array[self_.array.length - 1])
235
239
  : ff_core_Option.None()
236
-
237
- }
238
-
239
- export function Stack_push(self_, value_) {
240
- self_.array.push(value_)
241
- }
242
-
243
- export function Stack_pushAll(self_, value_) {
244
- self_.array.push(...value_.array)
245
- }
246
-
247
- export function Stack_pushArray(self_, value_) {
248
- self_.array.push(...value_)
249
- }
250
-
251
- export function Stack_pop(self_) {
240
+
241
+ }
242
+
243
+ export function Stack_push(self_, value_) {
244
+ self_.array.push(value_)
245
+ }
246
+
247
+ export function Stack_pushAll(self_, value_) {
248
+ self_.array.push(...value_.array)
249
+ }
250
+
251
+ export function Stack_pushArray(self_, value_) {
252
+ self_.array.push(...value_)
253
+ }
254
+
255
+ export function Stack_pop(self_) {
252
256
 
253
257
  return self_.array.length > 0
254
258
  ? ff_core_Option.Some(self_.array.pop())
255
259
  : ff_core_Option.None()
256
-
257
- }
258
-
259
- export function Stack_set(self_, index_, value_) {
260
+
261
+ }
262
+
263
+ export function Stack_set(self_, index_, value_) {
260
264
 
261
265
  if(index_ < 0 || index_ > self_.array.length) {
262
266
  ff_core_Try.internalThrowGrabException_()
263
267
  }
264
268
  self_.array[index_] = value_
265
-
266
- }
267
-
268
- export function Stack_modify(self_, index_, body_) {
269
+
270
+ }
271
+
272
+ export function Stack_modify(self_, index_, body_) {
269
273
 
270
274
  if(index_ < 0 || index_ >= self_.array.length) {
271
275
  ff_core_Try.internalThrowGrabException_()
272
276
  }
273
277
  self_.array[index_] = body_(self_.array[index_])
274
-
275
- }
276
-
277
- export function Stack_fill(self_, value_, start_ = 0, end_ = 9007199254740991) {
278
+
279
+ }
280
+
281
+ export function Stack_fill(self_, value_, start_ = 0, end_ = 9007199254740991) {
278
282
 
279
283
  self_.array.fill(value_, start_, end_);
280
-
281
- }
282
-
283
- export function Stack_copy(self_, target_, start_, end_) {
284
+
285
+ }
286
+
287
+ export function Stack_copy(self_, target_, start_, end_) {
284
288
 
285
289
  self_.array.copyWithin(target_, start_, end_);
286
-
287
- }
288
-
289
- export function Stack_delete(self_, start_, deleteCount_) {
290
+
291
+ }
292
+
293
+ export function Stack_delete(self_, start_, deleteCount_) {
290
294
 
291
295
  self_.array.splice(start_, deleteCount_);
292
-
293
- }
294
-
295
- export function Stack_insert(self_, start_, value_, deleteCount_ = 0) {
296
+
297
+ }
298
+
299
+ export function Stack_insert(self_, start_, value_, deleteCount_ = 0) {
296
300
 
297
301
  self_.array.splice(start_, deleteCount_, value_);
298
-
299
- }
300
-
301
- export function Stack_insertAll(self_, start_, value_, deleteCount_ = 0) {
302
+
303
+ }
304
+
305
+ export function Stack_insertAll(self_, start_, value_, deleteCount_ = 0) {
302
306
 
303
307
  self_.array.splice(start_, deleteCount_, ...value_.array);
304
-
305
- }
306
-
307
- export function Stack_insertArray(self_, start_, value_, deleteCount_ = 0) {
308
+
309
+ }
310
+
311
+ export function Stack_insertArray(self_, start_, value_, deleteCount_ = 0) {
308
312
 
309
313
  self_.array.splice(start_, deleteCount_, ...value_);
310
-
311
- }
312
-
313
- export function Stack_each(self_, body_) {
314
+
315
+ }
316
+
317
+ export function Stack_each(self_, body_) {
314
318
 
315
319
  return self_.array.forEach(body_);
316
-
317
- }
318
-
319
- export function Stack_eachWhile(self_, body_) {
320
- for(const value of self_.array) if(!body_(value)) break
321
- }
322
-
323
- export function Stack_all(self_, body_) {
324
- let result_ = true;
325
- ff_core_Stack.Stack_eachWhile(self_, ((x_) => {
326
- result_ = body_(x_);
327
- return result_
328
- }));
329
- return result_
330
- }
331
-
332
- export function Stack_any(self_, body_) {
333
- let result_ = false;
334
- ff_core_Stack.Stack_eachWhile(self_, ((x_) => {
335
- result_ = body_(x_);
336
- return (!result_)
337
- }));
338
- return result_
339
- }
340
-
341
- export function Stack_indexWhere(self_, body_) {
342
- let i_ = (-1);
343
- let result_ = false;
344
- ff_core_Stack.Stack_eachWhile(self_, ((x_) => {
345
- i_ += 1;
346
- result_ = body_(x_);
347
- return (!result_)
348
- }));
349
- if(result_) {
350
- return ff_core_Option.Some(i_)
351
- } else return ff_core_Option.None()
352
- }
353
-
354
- export function Stack_drain(self_) {
355
- const result = self_.array; self_.array = []; return result
356
- }
357
-
358
- export function Stack_toArray(self_, start_ = 0, end_ = 9007199254740991) {
359
- return self_.array.slice(start_, end_)
360
- }
361
-
362
- export function Stack_toList(self_, start_ = 0, end_ = 9007199254740991) {
320
+
321
+ }
322
+
323
+ export function Stack_eachWhile(self_, body_) {
324
+ for(const value of self_.array) if(!body_(value)) break
325
+ }
326
+
327
+ export function Stack_all(self_, body_) {
328
+ let result_ = true;
329
+ ff_core_Stack.Stack_eachWhile(self_, ((x_) => {
330
+ result_ = body_(x_);
331
+ return result_
332
+ }));
333
+ return result_
334
+ }
335
+
336
+ export function Stack_any(self_, body_) {
337
+ let result_ = false;
338
+ ff_core_Stack.Stack_eachWhile(self_, ((x_) => {
339
+ result_ = body_(x_);
340
+ return (!result_)
341
+ }));
342
+ return result_
343
+ }
344
+
345
+ export function Stack_indexWhere(self_, body_) {
346
+ let i_ = (-1);
347
+ let result_ = false;
348
+ ff_core_Stack.Stack_eachWhile(self_, ((x_) => {
349
+ i_ += 1;
350
+ result_ = body_(x_);
351
+ return (!result_)
352
+ }));
353
+ if(result_) {
354
+ return ff_core_Option.Some(i_)
355
+ } else return ff_core_Option.None()
356
+ }
357
+
358
+ export function Stack_drain(self_) {
359
+ const result = self_.array; self_.array = []; return result
360
+ }
361
+
362
+ export function Stack_toArray(self_, start_ = 0, end_ = 9007199254740991) {
363
+ return self_.array.slice(start_, end_)
364
+ }
365
+
366
+ export function Stack_toList(self_, start_ = 0, end_ = 9007199254740991) {
363
367
 
364
368
  if(start_ < 0) start_ = self_.array.length + start_
365
369
  if(end_ < 0) end_ = self_.array.length + start_
@@ -370,230 +374,230 @@ export function Stack_toList(self_, start_ = 0, end_ = 9007199254740991) {
370
374
  result = ff_core_List.Link(self_.array[i], result);
371
375
  }
372
376
  return result;
373
-
374
- }
375
-
376
- export function Stack_toStream(self_, start_ = 0, end_ = 9007199254740991) {
377
- return ff_core_Array.Array_toStream(ff_core_Stack.Stack_toArray(self_, start_, end_), false)
378
- }
379
-
380
- export function Stack_reverse(self_) {
381
- self_.array.reverse()
382
- }
383
-
384
- export function Stack_sortBy(self_, body_, ff_core_Ordering_Order$S) {
385
- ff_core_Stack.Stack_sortWith(self_, ((_w1, _w2) => {
386
- return ff_core_Ordering_Order$S.compare_(body_(_w1), body_(_w2))
387
- }))
388
- }
389
-
390
- export function Stack_sortWith(self_, ordering_) {
391
- self_.array.sort((x, y) => ff_core_Ordering.Ordering_toInt(ordering_(x, y)))
392
- }
393
-
394
- export async function Stack_isEmpty$(self_, $task) {
395
- throw new Error('Function Stack_isEmpty is missing on this target in async context.');
396
- }
397
-
398
- export async function Stack_size$(self_, $task) {
399
- throw new Error('Function Stack_size is missing on this target in async context.');
400
- }
401
-
402
- export async function Stack_get$(self_, index_, $task) {
403
- throw new Error('Function Stack_get is missing on this target in async context.');
404
- }
405
-
406
- export async function Stack_grab$(self_, index_, $task) {
407
- throw new Error('Function Stack_grab is missing on this target in async context.');
408
- }
409
-
410
- export async function Stack_grabFirst$(self_, $task) {
411
- return ff_core_Stack.Stack_grab(self_, 0)
412
- }
413
-
414
- export async function Stack_grabLast$(self_, $task) {
415
- return ff_core_Stack.Stack_grab(self_, (ff_core_Stack.Stack_size(self_) - 1))
416
- }
417
-
418
- export async function Stack_first$(self_, $task) {
419
- throw new Error('Function Stack_first is missing on this target in async context.');
420
- }
421
-
422
- export async function Stack_last$(self_, $task) {
423
- throw new Error('Function Stack_last is missing on this target in async context.');
424
- }
425
-
426
- export async function Stack_push$(self_, value_, $task) {
427
- throw new Error('Function Stack_push is missing on this target in async context.');
428
- }
429
-
430
- export async function Stack_pushAll$(self_, value_, $task) {
431
- throw new Error('Function Stack_pushAll is missing on this target in async context.');
432
- }
433
-
434
- export async function Stack_pushArray$(self_, value_, $task) {
435
- throw new Error('Function Stack_pushArray is missing on this target in async context.');
436
- }
437
-
438
- export async function Stack_pop$(self_, $task) {
439
- throw new Error('Function Stack_pop is missing on this target in async context.');
440
- }
441
-
442
- export async function Stack_set$(self_, index_, value_, $task) {
443
- throw new Error('Function Stack_set is missing on this target in async context.');
444
- }
445
-
446
- export async function Stack_modify$(self_, index_, body_, $task) {
377
+
378
+ }
379
+
380
+ export function Stack_toStream(self_, start_ = 0, end_ = 9007199254740991) {
381
+ return ff_core_Array.Array_toStream(ff_core_Stack.Stack_toArray(self_, start_, end_), false)
382
+ }
383
+
384
+ export function Stack_reverse(self_) {
385
+ self_.array.reverse()
386
+ }
387
+
388
+ export function Stack_sortBy(self_, body_, ff_core_Ordering_Order$S) {
389
+ ff_core_Stack.Stack_sortWith(self_, ((_w1, _w2) => {
390
+ return ff_core_Ordering_Order$S.compare_(body_(_w1), body_(_w2))
391
+ }))
392
+ }
393
+
394
+ export function Stack_sortWith(self_, ordering_) {
395
+ self_.array.sort((x, y) => ff_core_Ordering.Ordering_toInt(ordering_(x, y)))
396
+ }
397
+
398
+ export async function Stack_isEmpty$(self_, $task) {
399
+ throw new Error('Function Stack_isEmpty is missing on this target in async context.');
400
+ }
401
+
402
+ export async function Stack_size$(self_, $task) {
403
+ throw new Error('Function Stack_size is missing on this target in async context.');
404
+ }
405
+
406
+ export async function Stack_get$(self_, index_, $task) {
407
+ throw new Error('Function Stack_get is missing on this target in async context.');
408
+ }
409
+
410
+ export async function Stack_grab$(self_, index_, $task) {
411
+ throw new Error('Function Stack_grab is missing on this target in async context.');
412
+ }
413
+
414
+ export async function Stack_grabFirst$(self_, $task) {
415
+ return ff_core_Stack.Stack_grab(self_, 0)
416
+ }
417
+
418
+ export async function Stack_grabLast$(self_, $task) {
419
+ return ff_core_Stack.Stack_grab(self_, (ff_core_Stack.Stack_size(self_) - 1))
420
+ }
421
+
422
+ export async function Stack_first$(self_, $task) {
423
+ throw new Error('Function Stack_first is missing on this target in async context.');
424
+ }
425
+
426
+ export async function Stack_last$(self_, $task) {
427
+ throw new Error('Function Stack_last is missing on this target in async context.');
428
+ }
429
+
430
+ export async function Stack_push$(self_, value_, $task) {
431
+ throw new Error('Function Stack_push is missing on this target in async context.');
432
+ }
433
+
434
+ export async function Stack_pushAll$(self_, value_, $task) {
435
+ throw new Error('Function Stack_pushAll is missing on this target in async context.');
436
+ }
437
+
438
+ export async function Stack_pushArray$(self_, value_, $task) {
439
+ throw new Error('Function Stack_pushArray is missing on this target in async context.');
440
+ }
441
+
442
+ export async function Stack_pop$(self_, $task) {
443
+ throw new Error('Function Stack_pop is missing on this target in async context.');
444
+ }
445
+
446
+ export async function Stack_set$(self_, index_, value_, $task) {
447
+ throw new Error('Function Stack_set is missing on this target in async context.');
448
+ }
449
+
450
+ export async function Stack_modify$(self_, index_, body_, $task) {
447
451
 
448
452
  if(index_ < 0 || index_ >= self_.array.length) {
449
453
  ff_core_Try.internalThrowGrabException_()
450
454
  }
451
455
  self_.array[index_] = await body_(self_.array[index_], $task)
452
-
453
- }
454
-
455
- export async function Stack_fill$(self_, value_, start_ = 0, end_ = 9007199254740991, $task) {
456
- throw new Error('Function Stack_fill is missing on this target in async context.');
457
- }
458
-
459
- export async function Stack_copy$(self_, target_, start_, end_, $task) {
460
- throw new Error('Function Stack_copy is missing on this target in async context.');
461
- }
462
-
463
- export async function Stack_delete$(self_, start_, deleteCount_, $task) {
464
- throw new Error('Function Stack_delete is missing on this target in async context.');
465
- }
466
-
467
- export async function Stack_insert$(self_, start_, value_, deleteCount_ = 0, $task) {
468
- throw new Error('Function Stack_insert is missing on this target in async context.');
469
- }
470
-
471
- export async function Stack_insertAll$(self_, start_, value_, deleteCount_ = 0, $task) {
472
- throw new Error('Function Stack_insertAll is missing on this target in async context.');
473
- }
474
-
475
- export async function Stack_insertArray$(self_, start_, value_, deleteCount_ = 0, $task) {
476
- throw new Error('Function Stack_insertArray is missing on this target in async context.');
477
- }
478
-
479
- export async function Stack_each$(self_, body_, $task) {
456
+
457
+ }
458
+
459
+ export async function Stack_fill$(self_, value_, start_ = 0, end_ = 9007199254740991, $task) {
460
+ throw new Error('Function Stack_fill is missing on this target in async context.');
461
+ }
462
+
463
+ export async function Stack_copy$(self_, target_, start_, end_, $task) {
464
+ throw new Error('Function Stack_copy is missing on this target in async context.');
465
+ }
466
+
467
+ export async function Stack_delete$(self_, start_, deleteCount_, $task) {
468
+ throw new Error('Function Stack_delete is missing on this target in async context.');
469
+ }
470
+
471
+ export async function Stack_insert$(self_, start_, value_, deleteCount_ = 0, $task) {
472
+ throw new Error('Function Stack_insert is missing on this target in async context.');
473
+ }
474
+
475
+ export async function Stack_insertAll$(self_, start_, value_, deleteCount_ = 0, $task) {
476
+ throw new Error('Function Stack_insertAll is missing on this target in async context.');
477
+ }
478
+
479
+ export async function Stack_insertArray$(self_, start_, value_, deleteCount_ = 0, $task) {
480
+ throw new Error('Function Stack_insertArray is missing on this target in async context.');
481
+ }
482
+
483
+ export async function Stack_each$(self_, body_, $task) {
480
484
 
481
485
  for(let i = 0; i < self_.array.length; i++) {
482
486
  await body_(self_.array[i], $task)
483
487
  }
484
-
485
- }
486
-
487
- export async function Stack_eachWhile$(self_, body_, $task) {
488
- for(const value of self_.array) if(!await body_(value, $task)) break
489
- }
490
-
491
- export async function Stack_all$(self_, body_, $task) {
492
- let result_ = true;
493
- (await ff_core_Stack.Stack_eachWhile$(self_, (async (x_, $task) => {
494
- result_ = (await body_(x_, $task));
495
- return result_
496
- }), $task));
497
- return result_
498
- }
499
-
500
- export async function Stack_any$(self_, body_, $task) {
501
- let result_ = false;
502
- (await ff_core_Stack.Stack_eachWhile$(self_, (async (x_, $task) => {
503
- result_ = (await body_(x_, $task));
504
- return (!result_)
505
- }), $task));
506
- return result_
507
- }
508
-
509
- export async function Stack_indexWhere$(self_, body_, $task) {
510
- let i_ = (-1);
511
- let result_ = false;
512
- (await ff_core_Stack.Stack_eachWhile$(self_, (async (x_, $task) => {
513
- i_ += 1;
514
- result_ = (await body_(x_, $task));
515
- return (!result_)
516
- }), $task));
517
- if(result_) {
518
- return ff_core_Option.Some(i_)
519
- } else return ff_core_Option.None()
520
- }
521
-
522
- export async function Stack_drain$(self_, $task) {
523
- throw new Error('Function Stack_drain is missing on this target in async context.');
524
- }
525
-
526
- export async function Stack_toArray$(self_, start_ = 0, end_ = 9007199254740991, $task) {
527
- throw new Error('Function Stack_toArray is missing on this target in async context.');
528
- }
529
-
530
- export async function Stack_toList$(self_, start_ = 0, end_ = 9007199254740991, $task) {
531
- throw new Error('Function Stack_toList is missing on this target in async context.');
532
- }
533
-
534
- export async function Stack_toStream$(self_, start_ = 0, end_ = 9007199254740991, $task) {
535
- return (await ff_core_Array.Array_toStream$(ff_core_Stack.Stack_toArray(self_, start_, end_), false, $task))
536
- }
537
-
538
- export async function Stack_reverse$(self_, $task) {
539
- throw new Error('Function Stack_reverse is missing on this target in async context.');
540
- }
541
-
542
- export async function Stack_sortBy$(self_, body_, ff_core_Ordering_Order$S, $task) {
543
- (await ff_core_Stack.Stack_sortWith$(self_, (async (_w1, _w2, $task) => {
544
- return ff_core_Ordering_Order$S.compare_((await body_(_w1, $task)), (await body_(_w2, $task)))
545
- }), $task))
546
- }
547
-
548
- export async function Stack_sortWith$(self_, ordering_, $task) {
549
- throw new Error('Function Stack_sortWith is missing on this target in async context.');
550
- }
551
-
552
- export function Stack_sort(self_, ff_core_Ordering_Order$T) {
553
- ff_core_Stack.Stack_sortWith(self_, ((x_, y_) => {
554
- return ff_core_Ordering_Order$T.compare_(x_, y_)
555
- }))
556
- }
557
-
558
- export async function Stack_sort$(self_, ff_core_Ordering_Order$T, $task) {
559
- ff_core_Stack.Stack_sortWith(self_, ((x_, y_) => {
560
- return ff_core_Ordering_Order$T.compare_(x_, y_)
561
- }))
562
- }
563
-
564
- export function Stack_join(self_, separator_ = "") {
565
- return self_.array.join(separator_)
566
- }
567
-
568
- export async function Stack_join$(self_, separator_ = "", $task) {
569
- throw new Error('Function Stack_join is missing on this target in async context.');
570
- }
571
-
572
- export function ff_core_Show_Show$ff_core_Stack_Stack(ff_core_Show_Show$T) { return {
573
- show_(value_) {
574
- const stack_ = ff_core_Stack.make_();
575
- ff_core_Stack.Stack_push(stack_, "[");
576
- ff_core_Stack.Stack_each(value_, ((x_) => {
577
- if((ff_core_Stack.Stack_size(stack_) > 1)) {
578
- ff_core_Stack.Stack_push(stack_, ", ")
579
- };
580
- ff_core_Stack.Stack_push(stack_, ff_core_Show_Show$T.show_(x_))
581
- }));
582
- ff_core_Stack.Stack_push(stack_, "].toStack()");
583
- return ff_core_Stack.Stack_join(stack_, "")
584
- },
585
- async show_$(value_, $task) {
586
- const stack_ = ff_core_Stack.make_();
587
- ff_core_Stack.Stack_push(stack_, "[");
588
- ff_core_Stack.Stack_each(value_, ((x_) => {
589
- if((ff_core_Stack.Stack_size(stack_) > 1)) {
590
- ff_core_Stack.Stack_push(stack_, ", ")
591
- };
592
- ff_core_Stack.Stack_push(stack_, ff_core_Show_Show$T.show_(x_))
593
- }));
594
- ff_core_Stack.Stack_push(stack_, "].toStack()");
595
- return ff_core_Stack.Stack_join(stack_, "")
596
- }
597
- }}
598
-
599
-
488
+
489
+ }
490
+
491
+ export async function Stack_eachWhile$(self_, body_, $task) {
492
+ for(const value of self_.array) if(!await body_(value, $task)) break
493
+ }
494
+
495
+ export async function Stack_all$(self_, body_, $task) {
496
+ let result_ = true;
497
+ (await ff_core_Stack.Stack_eachWhile$(self_, (async (x_, $task) => {
498
+ result_ = (await body_(x_, $task));
499
+ return result_
500
+ }), $task));
501
+ return result_
502
+ }
503
+
504
+ export async function Stack_any$(self_, body_, $task) {
505
+ let result_ = false;
506
+ (await ff_core_Stack.Stack_eachWhile$(self_, (async (x_, $task) => {
507
+ result_ = (await body_(x_, $task));
508
+ return (!result_)
509
+ }), $task));
510
+ return result_
511
+ }
512
+
513
+ export async function Stack_indexWhere$(self_, body_, $task) {
514
+ let i_ = (-1);
515
+ let result_ = false;
516
+ (await ff_core_Stack.Stack_eachWhile$(self_, (async (x_, $task) => {
517
+ i_ += 1;
518
+ result_ = (await body_(x_, $task));
519
+ return (!result_)
520
+ }), $task));
521
+ if(result_) {
522
+ return ff_core_Option.Some(i_)
523
+ } else return ff_core_Option.None()
524
+ }
525
+
526
+ export async function Stack_drain$(self_, $task) {
527
+ throw new Error('Function Stack_drain is missing on this target in async context.');
528
+ }
529
+
530
+ export async function Stack_toArray$(self_, start_ = 0, end_ = 9007199254740991, $task) {
531
+ throw new Error('Function Stack_toArray is missing on this target in async context.');
532
+ }
533
+
534
+ export async function Stack_toList$(self_, start_ = 0, end_ = 9007199254740991, $task) {
535
+ throw new Error('Function Stack_toList is missing on this target in async context.');
536
+ }
537
+
538
+ export async function Stack_toStream$(self_, start_ = 0, end_ = 9007199254740991, $task) {
539
+ return (await ff_core_Array.Array_toStream$(ff_core_Stack.Stack_toArray(self_, start_, end_), false, $task))
540
+ }
541
+
542
+ export async function Stack_reverse$(self_, $task) {
543
+ throw new Error('Function Stack_reverse is missing on this target in async context.');
544
+ }
545
+
546
+ export async function Stack_sortBy$(self_, body_, ff_core_Ordering_Order$S, $task) {
547
+ (await ff_core_Stack.Stack_sortWith$(self_, (async (_w1, _w2, $task) => {
548
+ return ff_core_Ordering_Order$S.compare_((await body_(_w1, $task)), (await body_(_w2, $task)))
549
+ }), $task))
550
+ }
551
+
552
+ export async function Stack_sortWith$(self_, ordering_, $task) {
553
+ throw new Error('Function Stack_sortWith is missing on this target in async context.');
554
+ }
555
+
556
+ export function Stack_sort(self_, ff_core_Ordering_Order$T) {
557
+ ff_core_Stack.Stack_sortWith(self_, ((x_, y_) => {
558
+ return ff_core_Ordering_Order$T.compare_(x_, y_)
559
+ }))
560
+ }
561
+
562
+ export async function Stack_sort$(self_, ff_core_Ordering_Order$T, $task) {
563
+ ff_core_Stack.Stack_sortWith(self_, ((x_, y_) => {
564
+ return ff_core_Ordering_Order$T.compare_(x_, y_)
565
+ }))
566
+ }
567
+
568
+ export function Stack_join(self_, separator_ = "") {
569
+ return self_.array.join(separator_)
570
+ }
571
+
572
+ export async function Stack_join$(self_, separator_ = "", $task) {
573
+ throw new Error('Function Stack_join is missing on this target in async context.');
574
+ }
575
+
576
+ export function ff_core_Show_Show$ff_core_Stack_Stack(ff_core_Show_Show$T) { return {
577
+ show_(value_) {
578
+ const stack_ = ff_core_Stack.make_();
579
+ ff_core_Stack.Stack_push(stack_, "[");
580
+ ff_core_Stack.Stack_each(value_, ((x_) => {
581
+ if((ff_core_Stack.Stack_size(stack_) > 1)) {
582
+ ff_core_Stack.Stack_push(stack_, ", ")
583
+ };
584
+ ff_core_Stack.Stack_push(stack_, ff_core_Show_Show$T.show_(x_))
585
+ }));
586
+ ff_core_Stack.Stack_push(stack_, "].toStack()");
587
+ return ff_core_Stack.Stack_join(stack_, "")
588
+ },
589
+ async show_$(value_, $task) {
590
+ const stack_ = ff_core_Stack.make_();
591
+ ff_core_Stack.Stack_push(stack_, "[");
592
+ ff_core_Stack.Stack_each(value_, ((x_) => {
593
+ if((ff_core_Stack.Stack_size(stack_) > 1)) {
594
+ ff_core_Stack.Stack_push(stack_, ", ")
595
+ };
596
+ ff_core_Stack.Stack_push(stack_, ff_core_Show_Show$T.show_(x_))
597
+ }));
598
+ ff_core_Stack.Stack_push(stack_, "].toStack()");
599
+ return ff_core_Stack.Stack_join(stack_, "")
600
+ }
601
+ }}
602
+
603
+