firefly-compiler 0.4.5 → 0.4.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.hintrc +4 -4
- package/README.md +1 -1
- package/core/HttpClient.ff +1 -1
- package/lsp/LanguageServer.ff +32 -7
- package/lsp/stderr.txt +1 -0
- package/lsp/stdin.txt +11 -0
- package/lsp/stdout.txt +41 -0
- package/lux/Main.ff +56 -2
- package/meetup/AutoCompletion.ff +6 -0
- package/output/js/ff/compiler/Builder.mjs +444 -444
- package/output/js/ff/compiler/Compiler.mjs +416 -416
- package/output/js/ff/compiler/Dependencies.mjs +389 -389
- package/output/js/ff/compiler/Deriver.mjs +1170 -1170
- package/output/js/ff/compiler/Dictionaries.mjs +1309 -1309
- package/output/js/ff/compiler/Environment.mjs +1015 -1015
- package/output/js/ff/compiler/Inference.mjs +4268 -4268
- package/output/js/ff/compiler/JsEmitter.mjs +5391 -5391
- package/output/js/ff/compiler/JsImporter.mjs +266 -266
- package/output/js/ff/compiler/LspHook.mjs +793 -793
- package/output/js/ff/compiler/Main.mjs +1675 -1675
- package/output/js/ff/compiler/Parser.mjs +4008 -4008
- package/output/js/ff/compiler/Patterns.mjs +927 -927
- package/output/js/ff/compiler/Resolver.mjs +2307 -2307
- package/output/js/ff/compiler/Substitution.mjs +1150 -1150
- package/output/js/ff/compiler/Syntax.mjs +12434 -12434
- package/output/js/ff/compiler/Token.mjs +3096 -3096
- package/output/js/ff/compiler/Tokenizer.mjs +593 -593
- package/output/js/ff/compiler/Unification.mjs +1752 -1752
- package/output/js/ff/compiler/Wildcards.mjs +608 -608
- package/output/js/ff/compiler/Workspace.mjs +687 -687
- package/output/js/ff/core/Any.mjs +143 -143
- package/output/js/ff/core/Array.mjs +547 -547
- package/output/js/ff/core/AssetSystem.mjs +274 -274
- package/output/js/ff/core/Atomic.mjs +154 -154
- package/output/js/ff/core/Bool.mjs +152 -152
- package/output/js/ff/core/Box.mjs +112 -112
- package/output/js/ff/core/BrowserSystem.mjs +126 -126
- package/output/js/ff/core/Buffer.mjs +395 -395
- package/output/js/ff/core/BuildSystem.mjs +296 -296
- package/output/js/ff/core/Channel.mjs +189 -189
- package/output/js/ff/core/Char.mjs +149 -149
- package/output/js/ff/core/Core.mjs +300 -300
- package/output/js/ff/core/Duration.mjs +116 -116
- package/output/js/ff/core/Equal.mjs +179 -179
- package/output/js/ff/core/Error.mjs +142 -142
- package/output/js/ff/core/FileHandle.mjs +150 -150
- package/output/js/ff/core/Float.mjs +225 -225
- package/output/js/ff/core/HttpClient.mjs +190 -190
- package/output/js/ff/core/Instant.mjs +109 -109
- package/output/js/ff/core/Int.mjs +265 -265
- package/output/js/ff/core/IntMap.mjs +280 -280
- package/output/js/ff/core/JsSystem.mjs +238 -238
- package/output/js/ff/core/JsValue.mjs +708 -708
- package/output/js/ff/core/List.mjs +2334 -2334
- package/output/js/ff/core/Lock.mjs +229 -229
- package/output/js/ff/core/Log.mjs +163 -163
- package/output/js/ff/core/Map.mjs +362 -362
- package/output/js/ff/core/NodeSystem.mjs +294 -294
- package/output/js/ff/core/Nothing.mjs +104 -104
- package/output/js/ff/core/Option.mjs +1015 -1015
- package/output/js/ff/core/Ordering.mjs +730 -730
- package/output/js/ff/core/Pair.mjs +331 -331
- package/output/js/ff/core/Path.mjs +545 -545
- package/output/js/ff/core/RbMap.mjs +1940 -1940
- package/output/js/ff/core/Serializable.mjs +428 -428
- package/output/js/ff/core/Set.mjs +254 -254
- package/output/js/ff/core/Show.mjs +205 -205
- package/output/js/ff/core/SourceLocation.mjs +229 -229
- package/output/js/ff/core/Stack.mjs +529 -529
- package/output/js/ff/core/Stream.mjs +1304 -1304
- package/output/js/ff/core/String.mjs +365 -365
- package/output/js/ff/core/StringMap.mjs +280 -280
- package/output/js/ff/core/Task.mjs +320 -320
- package/output/js/ff/core/Try.mjs +507 -507
- package/output/js/ff/core/Unit.mjs +151 -151
- package/package.json +29 -29
- package/vscode/package-lock.json +5 -5
- package/vscode/package.json +1 -1
|
@@ -1,151 +1,151 @@
|
|
|
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 Atomic
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
export function make_(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_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 Atomic
|
|
92
|
+
|
|
93
|
+
|
|
94
|
+
|
|
95
|
+
|
|
96
|
+
export function make_(value_) {
|
|
97
97
|
|
|
98
98
|
return {value: value_}
|
|
99
|
-
|
|
100
|
-
}
|
|
101
|
-
|
|
102
|
-
export async function make_$(value_, $task) {
|
|
103
|
-
throw new Error('Function make is missing on this target in async context.');
|
|
104
|
-
}
|
|
105
|
-
|
|
106
|
-
export function Atomic_modify(self_, body_) {
|
|
99
|
+
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
export async function make_$(value_, $task) {
|
|
103
|
+
throw new Error('Function make is missing on this target in async context.');
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
export function Atomic_modify(self_, body_) {
|
|
107
107
|
|
|
108
108
|
return self_.value = body_(self_.value)
|
|
109
|
-
|
|
110
|
-
}
|
|
111
|
-
|
|
112
|
-
export function Atomic_getAndModify(self_, body_) {
|
|
109
|
+
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
export function Atomic_getAndModify(self_, body_) {
|
|
113
113
|
|
|
114
114
|
const currentValue = self_.value
|
|
115
115
|
self_.value = body_(currentValue)
|
|
116
116
|
return currentValue
|
|
117
|
-
|
|
118
|
-
}
|
|
119
|
-
|
|
120
|
-
export function Atomic_get(self_) {
|
|
117
|
+
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
export function Atomic_get(self_) {
|
|
121
121
|
|
|
122
122
|
return self_.value
|
|
123
|
-
|
|
124
|
-
}
|
|
125
|
-
|
|
126
|
-
export function Atomic_set(self_, value_) {
|
|
123
|
+
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
export function Atomic_set(self_, value_) {
|
|
127
127
|
|
|
128
128
|
self_.value = value
|
|
129
|
-
|
|
130
|
-
}
|
|
131
|
-
|
|
132
|
-
export function Atomic_getAndSet(self_, newValue_) {
|
|
129
|
+
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
export function Atomic_getAndSet(self_, newValue_) {
|
|
133
133
|
|
|
134
134
|
const currentValue = self_.value
|
|
135
135
|
self_.value = newValue
|
|
136
136
|
return currentValue
|
|
137
|
-
|
|
138
|
-
}
|
|
139
|
-
|
|
140
|
-
export function Atomic_compareAndSet(self_, currentValue_, newValue_) {
|
|
137
|
+
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
export function Atomic_compareAndSet(self_, currentValue_, newValue_) {
|
|
141
141
|
|
|
142
142
|
if(self_.value !== currentValue) return false
|
|
143
143
|
self_.value = newValue
|
|
144
144
|
return true
|
|
145
|
-
|
|
146
|
-
}
|
|
147
|
-
|
|
148
|
-
export async function Atomic_modify$(self_, body_, $task) {
|
|
145
|
+
|
|
146
|
+
}
|
|
147
|
+
|
|
148
|
+
export async function Atomic_modify$(self_, body_, $task) {
|
|
149
149
|
|
|
150
150
|
let currentValue, newValue
|
|
151
151
|
do {
|
|
@@ -154,10 +154,10 @@ export async function Atomic_modify$(self_, body_, $task) {
|
|
|
154
154
|
} while(currentValue !== self_.value)
|
|
155
155
|
self_.value = newValue
|
|
156
156
|
return newValue
|
|
157
|
-
|
|
158
|
-
}
|
|
159
|
-
|
|
160
|
-
export async function Atomic_getAndModify$(self_, body_, $task) {
|
|
157
|
+
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
export async function Atomic_getAndModify$(self_, body_, $task) {
|
|
161
161
|
|
|
162
162
|
let currentValue, newValue
|
|
163
163
|
do {
|
|
@@ -166,25 +166,25 @@ export async function Atomic_getAndModify$(self_, body_, $task) {
|
|
|
166
166
|
} while(currentValue !== self_.value)
|
|
167
167
|
self_.value = newValue
|
|
168
168
|
return currentValue
|
|
169
|
-
|
|
170
|
-
}
|
|
171
|
-
|
|
172
|
-
export async function Atomic_get$(self_, $task) {
|
|
173
|
-
throw new Error('Function Atomic_get is missing on this target in async context.');
|
|
174
|
-
}
|
|
175
|
-
|
|
176
|
-
export async function Atomic_set$(self_, value_, $task) {
|
|
177
|
-
throw new Error('Function Atomic_set is missing on this target in async context.');
|
|
178
|
-
}
|
|
179
|
-
|
|
180
|
-
export async function Atomic_getAndSet$(self_, newValue_, $task) {
|
|
181
|
-
throw new Error('Function Atomic_getAndSet is missing on this target in async context.');
|
|
182
|
-
}
|
|
183
|
-
|
|
184
|
-
export async function Atomic_compareAndSet$(self_, currentValue_, newValue_, $task) {
|
|
185
|
-
throw new Error('Function Atomic_compareAndSet is missing on this target in async context.');
|
|
186
|
-
}
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
169
|
+
|
|
170
|
+
}
|
|
171
|
+
|
|
172
|
+
export async function Atomic_get$(self_, $task) {
|
|
173
|
+
throw new Error('Function Atomic_get is missing on this target in async context.');
|
|
174
|
+
}
|
|
175
|
+
|
|
176
|
+
export async function Atomic_set$(self_, value_, $task) {
|
|
177
|
+
throw new Error('Function Atomic_set is missing on this target in async context.');
|
|
178
|
+
}
|
|
179
|
+
|
|
180
|
+
export async function Atomic_getAndSet$(self_, newValue_, $task) {
|
|
181
|
+
throw new Error('Function Atomic_getAndSet is missing on this target in async context.');
|
|
182
|
+
}
|
|
183
|
+
|
|
184
|
+
export async function Atomic_compareAndSet$(self_, currentValue_, newValue_, $task) {
|
|
185
|
+
throw new Error('Function Atomic_compareAndSet is missing on this target in async context.');
|
|
186
|
+
}
|
|
187
|
+
|
|
188
|
+
|
|
189
|
+
|
|
190
|
+
|
|
@@ -1,152 +1,152 @@
|
|
|
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 Bool
|
|
92
|
-
const False$ = {False: true};
|
|
93
|
-
export function False() {
|
|
94
|
-
return False$;
|
|
95
|
-
}
|
|
96
|
-
const True$ = {True: true};
|
|
97
|
-
export function True() {
|
|
98
|
-
return True$;
|
|
99
|
-
}
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
export function Bool_toInt(self_) {
|
|
108
|
-
{
|
|
109
|
-
const _1 = self_;
|
|
110
|
-
{
|
|
111
|
-
if(!_1) {
|
|
112
|
-
return 0
|
|
113
|
-
return
|
|
114
|
-
}
|
|
115
|
-
}
|
|
116
|
-
{
|
|
117
|
-
if(_1) {
|
|
118
|
-
return 1
|
|
119
|
-
return
|
|
120
|
-
}
|
|
121
|
-
}
|
|
122
|
-
}
|
|
123
|
-
}
|
|
124
|
-
|
|
125
|
-
export async function Bool_toInt$(self_, $task) {
|
|
126
|
-
{
|
|
127
|
-
const _1 = self_;
|
|
128
|
-
{
|
|
129
|
-
if(!_1) {
|
|
130
|
-
return 0
|
|
131
|
-
return
|
|
132
|
-
}
|
|
133
|
-
}
|
|
134
|
-
{
|
|
135
|
-
if(_1) {
|
|
136
|
-
return 1
|
|
137
|
-
return
|
|
138
|
-
}
|
|
139
|
-
}
|
|
140
|
-
}
|
|
141
|
-
}
|
|
142
|
-
|
|
143
|
-
export const ff_core_Any_HasAnyTag$ff_core_Bool_Bool = {
|
|
144
|
-
anyTag_() {
|
|
145
|
-
return ff_core_Any.internalAnyTag_((("ff:core/Bool.Bool" + "[") + "]"))
|
|
146
|
-
},
|
|
147
|
-
async anyTag_$($task) {
|
|
148
|
-
return ff_core_Any.internalAnyTag_((("ff:core/Bool.Bool" + "[") + "]"))
|
|
149
|
-
}
|
|
150
|
-
};
|
|
151
|
-
|
|
152
|
-
|
|
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 Bool
|
|
92
|
+
const False$ = {False: true};
|
|
93
|
+
export function False() {
|
|
94
|
+
return False$;
|
|
95
|
+
}
|
|
96
|
+
const True$ = {True: true};
|
|
97
|
+
export function True() {
|
|
98
|
+
return True$;
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
|
|
102
|
+
|
|
103
|
+
|
|
104
|
+
|
|
105
|
+
|
|
106
|
+
|
|
107
|
+
export function Bool_toInt(self_) {
|
|
108
|
+
{
|
|
109
|
+
const _1 = self_;
|
|
110
|
+
{
|
|
111
|
+
if(!_1) {
|
|
112
|
+
return 0
|
|
113
|
+
return
|
|
114
|
+
}
|
|
115
|
+
}
|
|
116
|
+
{
|
|
117
|
+
if(_1) {
|
|
118
|
+
return 1
|
|
119
|
+
return
|
|
120
|
+
}
|
|
121
|
+
}
|
|
122
|
+
}
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
export async function Bool_toInt$(self_, $task) {
|
|
126
|
+
{
|
|
127
|
+
const _1 = self_;
|
|
128
|
+
{
|
|
129
|
+
if(!_1) {
|
|
130
|
+
return 0
|
|
131
|
+
return
|
|
132
|
+
}
|
|
133
|
+
}
|
|
134
|
+
{
|
|
135
|
+
if(_1) {
|
|
136
|
+
return 1
|
|
137
|
+
return
|
|
138
|
+
}
|
|
139
|
+
}
|
|
140
|
+
}
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
export const ff_core_Any_HasAnyTag$ff_core_Bool_Bool = {
|
|
144
|
+
anyTag_() {
|
|
145
|
+
return ff_core_Any.internalAnyTag_((("ff:core/Bool.Bool" + "[") + "]"))
|
|
146
|
+
},
|
|
147
|
+
async anyTag_$($task) {
|
|
148
|
+
return ff_core_Any.internalAnyTag_((("ff:core/Bool.Bool" + "[") + "]"))
|
|
149
|
+
}
|
|
150
|
+
};
|
|
151
|
+
|
|
152
|
+
|