blob: d5cf82f50477d94bb0d9c870a7bc2a35262546f5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
|
(/VERSIONCHECK 2)
(DECLAIM (FTYPE (FUNCTION (|%Thing| |%List| |%Shell|) |%Thing|)
|HOAGG-;eval;ALA;1|))
(DECLAIM (FTYPE (FUNCTION (|%Thing| |%Shell|) (|%IntegerSection| 0))
|HOAGG-;#;ANni;2|))
(DECLAIM (FTYPE (FUNCTION (|%Thing| |%Thing| |%Shell|) |%Boolean|)
|HOAGG-;any?;MAB;3|))
(DECLAIM (FTYPE (FUNCTION (|%Thing| |%Thing| |%Shell|) |%Boolean|)
|HOAGG-;every?;MAB;4|))
(DECLAIM (FTYPE (FUNCTION (|%Thing| |%Thing| |%Shell|)
(|%IntegerSection| 0))
|HOAGG-;count;MANni;5|))
(DECLAIM (FTYPE (FUNCTION (|%Thing| |%Shell|) |%List|)
|HOAGG-;members;AL;6|))
(DECLAIM (FTYPE (FUNCTION (|%Thing| |%Thing| |%Shell|)
(|%IntegerSection| 0))
|HOAGG-;count;SANni;7|))
(DECLAIM (FTYPE (FUNCTION (|%Thing| |%Thing| |%Shell|) |%Boolean|)
|HOAGG-;member?;SAB;8|))
(DECLAIM (FTYPE (FUNCTION (|%Thing| |%Thing| |%Shell|) |%Boolean|)
|HOAGG-;=;2AB;9|))
(DECLAIM (FTYPE (FUNCTION (|%Thing| |%Shell|) |%Thing|)
|HOAGG-;coerce;AOf;10|))
(DEFUN |HOAGG-;eval;ALA;1| (|u| |l| $)
(SPADCALL (CONS #'|HOAGG-;eval;ALA;1!0| (VECTOR $ |l|)) |u|
(|getShellEntry| $ 12)))
(DEFUN |HOAGG-;eval;ALA;1!0| (|#1| $$)
(SPADCALL |#1| (|getShellEntry| $$ 1)
(|getShellEntry| (|getShellEntry| $$ 0) 10)))
(DEFUN |HOAGG-;#;ANni;2| (|c| $)
(LENGTH (SPADCALL |c| (|getShellEntry| $ 15))))
(DEFUN |HOAGG-;any?;MAB;3| (|f| |c| $)
(PROG (|x| #0=#:G1428 #1=#:G1406 #2=#:G1404 #3=#:G1405)
(RETURN
(SEQ (PROGN
(LETT #3# NIL |HOAGG-;any?;MAB;3|)
(SEQ (LETT |x| NIL |HOAGG-;any?;MAB;3|)
(LETT #0# (SPADCALL |c| (|getShellEntry| $ 15))
|HOAGG-;any?;MAB;3|)
G190
(COND
((OR (ATOM #0#)
(PROGN
(LETT |x| (CAR #0#) |HOAGG-;any?;MAB;3|)
NIL))
(GO G191)))
(PROGN
(LETT #1# (SPADCALL |x| |f|) |HOAGG-;any?;MAB;3|)
(COND
(#3# (LETT #2# (COND (#2# T) ('T #1#))
|HOAGG-;any?;MAB;3|))
('T
(PROGN
(LETT #2# #1# |HOAGG-;any?;MAB;3|)
(LETT #3# 'T |HOAGG-;any?;MAB;3|)))))
(LETT #0# (CDR #0#) |HOAGG-;any?;MAB;3|) (GO G190)
G191 (EXIT NIL))
(COND (#3# #2#) ('T NIL)))))))
(DEFUN |HOAGG-;every?;MAB;4| (|f| |c| $)
(PROG (|x| #0=#:G1429 #1=#:G1411 #2=#:G1409 #3=#:G1410)
(RETURN
(SEQ (PROGN
(LETT #3# NIL |HOAGG-;every?;MAB;4|)
(SEQ (LETT |x| NIL |HOAGG-;every?;MAB;4|)
(LETT #0# (SPADCALL |c| (|getShellEntry| $ 15))
|HOAGG-;every?;MAB;4|)
G190
(COND
((OR (ATOM #0#)
(PROGN
(LETT |x| (CAR #0#) |HOAGG-;every?;MAB;4|)
NIL))
(GO G191)))
(PROGN
(LETT #1# (SPADCALL |x| |f|) |HOAGG-;every?;MAB;4|)
(COND
(#3# (LETT #2# (COND (#2# #1#) ('T NIL))
|HOAGG-;every?;MAB;4|))
('T
(PROGN
(LETT #2# #1# |HOAGG-;every?;MAB;4|)
(LETT #3# 'T |HOAGG-;every?;MAB;4|)))))
(LETT #0# (CDR #0#) |HOAGG-;every?;MAB;4|) (GO G190)
G191 (EXIT NIL))
(COND (#3# #2#) ('T T)))))))
(DEFUN |HOAGG-;count;MANni;5| (|f| |c| $)
(PROG (|x| #0=#:G1430 #1=#:G1415 #2=#:G1413 #3=#:G1414)
(RETURN
(SEQ (PROGN
(LETT #3# NIL |HOAGG-;count;MANni;5|)
(SEQ (LETT |x| NIL |HOAGG-;count;MANni;5|)
(LETT #0# (SPADCALL |c| (|getShellEntry| $ 15))
|HOAGG-;count;MANni;5|)
G190
(COND
((OR (ATOM #0#)
(PROGN
(LETT |x| (CAR #0#) |HOAGG-;count;MANni;5|)
NIL))
(GO G191)))
(COND
((SPADCALL |x| |f|)
(PROGN
(LETT #1# 1 |HOAGG-;count;MANni;5|)
(COND
(#3# (LETT #2# (+ #2# #1#)
|HOAGG-;count;MANni;5|))
('T
(PROGN
(LETT #2# #1# |HOAGG-;count;MANni;5|)
(LETT #3# 'T |HOAGG-;count;MANni;5|)))))))
(LETT #0# (CDR #0#) |HOAGG-;count;MANni;5|) (GO G190)
G191 (EXIT NIL))
(COND (#3# #2#) ('T 0)))))))
(DEFUN |HOAGG-;members;AL;6| (|x| $)
(SPADCALL |x| (|getShellEntry| $ 15)))
(DEFUN |HOAGG-;count;SANni;7| (|s| |x| $)
(SPADCALL (CONS #'|HOAGG-;count;SANni;7!0| (VECTOR $ |s|)) |x|
(|getShellEntry| $ 31)))
(DEFUN |HOAGG-;count;SANni;7!0| (|#1| $$)
(SPADCALL (|getShellEntry| $$ 1) |#1|
(|getShellEntry| (|getShellEntry| $$ 0) 30)))
(DEFUN |HOAGG-;member?;SAB;8| (|e| |c| $)
(SPADCALL (CONS #'|HOAGG-;member?;SAB;8!0| (VECTOR $ |e|)) |c|
(|getShellEntry| $ 33)))
(DEFUN |HOAGG-;member?;SAB;8!0| (|#1| $$)
(SPADCALL (|getShellEntry| $$ 1) |#1|
(|getShellEntry| (|getShellEntry| $$ 0) 30)))
(DEFUN |HOAGG-;=;2AB;9| (|x| |y| $)
(PROG (|b| #0=#:G1432 |a| #1=#:G1431 #2=#:G1422 #3=#:G1420
#4=#:G1421)
(RETURN
(SEQ (COND
((SPADCALL |x| (SPADCALL |y| (|getShellEntry| $ 35))
(|getShellEntry| $ 36))
(PROGN
(LETT #4# NIL |HOAGG-;=;2AB;9|)
(SEQ (LETT |b| NIL |HOAGG-;=;2AB;9|)
(LETT #0# (SPADCALL |y| (|getShellEntry| $ 15))
|HOAGG-;=;2AB;9|)
(LETT |a| NIL |HOAGG-;=;2AB;9|)
(LETT #1# (SPADCALL |x| (|getShellEntry| $ 15))
|HOAGG-;=;2AB;9|)
G190
(COND
((OR (ATOM #1#)
(PROGN
(LETT |a| (CAR #1#) |HOAGG-;=;2AB;9|)
NIL)
(ATOM #0#)
(PROGN
(LETT |b| (CAR #0#) |HOAGG-;=;2AB;9|)
NIL))
(GO G191)))
(PROGN
(LETT #2#
(SPADCALL |a| |b| (|getShellEntry| $ 30))
|HOAGG-;=;2AB;9|)
(COND
(#4# (LETT #3# (COND (#3# #2#) ('T NIL))
|HOAGG-;=;2AB;9|))
('T
(PROGN
(LETT #3# #2# |HOAGG-;=;2AB;9|)
(LETT #4# 'T |HOAGG-;=;2AB;9|)))))
(LETT #1#
(PROG1 (CDR #1#)
(LETT #0# (CDR #0#) |HOAGG-;=;2AB;9|))
|HOAGG-;=;2AB;9|)
(GO G190) G191 (EXIT NIL))
(COND (#4# #3#) ('T T))))
('T NIL))))))
(DEFUN |HOAGG-;coerce;AOf;10| (|x| $)
(PROG (#0=#:G1433 |a| #1=#:G1434)
(RETURN
(SEQ (SPADCALL
(SPADCALL
(PROGN
(LETT #0# NIL |HOAGG-;coerce;AOf;10|)
(SEQ (LETT |a| NIL |HOAGG-;coerce;AOf;10|)
(LETT #1#
(SPADCALL |x| (|getShellEntry| $ 15))
|HOAGG-;coerce;AOf;10|)
G190
(COND
((OR (ATOM #1#)
(PROGN
(LETT |a| (CAR #1#)
|HOAGG-;coerce;AOf;10|)
NIL))
(GO G191)))
(LETT #0#
(CONS (SPADCALL |a|
(|getShellEntry| $ 39))
#0#)
|HOAGG-;coerce;AOf;10|)
(LETT #1# (CDR #1#) |HOAGG-;coerce;AOf;10|)
(GO G190) G191 (EXIT (NREVERSE0 #0#))))
(|getShellEntry| $ 41))
(|getShellEntry| $ 42))))))
(DEFUN |HomogeneousAggregate&| (|#1| |#2|)
(LET* ((|dv$1| (|devaluate| |#1|)) (|dv$2| (|devaluate| |#2|))
(|dv$| (LIST '|HomogeneousAggregate&| |dv$1| |dv$2|))
($ (|newShell| 44))
(|pv$| (|buildPredVector| 0 0
(LIST (|HasAttribute| |#1| '|finiteAggregate|)
(|HasAttribute| |#1| '|shallowlyMutable|)
(|HasCategory| |#2|
(LIST '|Evalable| (|devaluate| |#2|)))
(|HasCategory| |#2| '(|SetCategory|))
(|HasCategory| |#2|
(LIST '|CoercibleTo| '(|OutputForm|)))))))
(|setShellEntry| $ 0 |dv$|)
(|setShellEntry| $ 3 |pv$|)
(|stuffDomainSlots| $)
(|setShellEntry| $ 6 |#1|)
(|setShellEntry| $ 7 |#2|)
(COND
((|testBitVector| |pv$| 3)
(|setShellEntry| $ 13
(CONS (|dispatchFunction| |HOAGG-;eval;ALA;1|) $))))
(COND
((|testBitVector| |pv$| 1)
(PROGN
(|setShellEntry| $ 18
(CONS (|dispatchFunction| |HOAGG-;#;ANni;2|) $))
(|setShellEntry| $ 23
(CONS (|dispatchFunction| |HOAGG-;any?;MAB;3|) $))
(|setShellEntry| $ 24
(CONS (|dispatchFunction| |HOAGG-;every?;MAB;4|) $))
(|setShellEntry| $ 28
(CONS (|dispatchFunction| |HOAGG-;count;MANni;5|) $))
(|setShellEntry| $ 29
(CONS (|dispatchFunction| |HOAGG-;members;AL;6|) $))
(COND
((|testBitVector| |pv$| 4)
(PROGN
(|setShellEntry| $ 32
(CONS (|dispatchFunction| |HOAGG-;count;SANni;7|) $))
(|setShellEntry| $ 34
(CONS (|dispatchFunction| |HOAGG-;member?;SAB;8|) $))
(|setShellEntry| $ 37
(CONS (|dispatchFunction| |HOAGG-;=;2AB;9|) $)))))
(COND
((|testBitVector| |pv$| 5)
(|setShellEntry| $ 43
(CONS (|dispatchFunction| |HOAGG-;coerce;AOf;10|) $)))))))
$))
(MAKEPROP '|HomogeneousAggregate&| '|infovec|
(LIST '#(NIL NIL NIL NIL NIL NIL (|local| |#1|) (|local| |#2|)
(|Equation| 7) (|List| 8) (0 . |eval|) (|Mapping| 7 7)
(6 . |map|) (12 . |eval|) (|List| 7) (18 . |parts|)
(|NonNegativeInteger|) (23 . |#|) (28 . |#|) (|Boolean|)
(33 . |true|) (37 . |false|) (|Mapping| 19 7)
(41 . |any?|) (47 . |every?|) (53 . |One|) (57 . +)
(63 . |Zero|) (67 . |count|) (73 . |members|) (78 . =)
(84 . |count|) (90 . |count|) (96 . |any?|)
(102 . |member?|) (108 . |#|) (113 . |size?|) (119 . =)
(|OutputForm|) (125 . |coerce|) (|List| $)
(130 . |commaSeparate|) (135 . |bracket|)
(140 . |coerce|))
'#(|members| 145 |member?| 150 |every?| 156 |eval| 162
|count| 168 |coerce| 180 |any?| 185 = 191 |#| 197)
'NIL
(CONS (|makeByteWordVec2| 1 'NIL)
(CONS '#()
(CONS '#()
(|makeByteWordVec2| 43
'(2 7 0 0 9 10 2 6 0 11 0 12 2 0 0 0 9
13 1 6 14 0 15 1 14 16 0 17 1 0 16 0
18 0 19 0 20 0 19 0 21 2 0 19 22 0 23
2 0 19 22 0 24 0 16 0 25 2 16 0 0 0
26 0 16 0 27 2 0 16 22 0 28 1 0 14 0
29 2 7 19 0 0 30 2 6 16 22 0 31 2 0
16 7 0 32 2 6 19 22 0 33 2 0 19 7 0
34 1 6 16 0 35 2 6 19 0 16 36 2 0 19
0 0 37 1 7 38 0 39 1 38 0 40 41 1 38
0 0 42 1 0 38 0 43 1 0 14 0 29 2 0 19
7 0 34 2 0 19 22 0 24 2 0 0 0 9 13 2
0 16 7 0 32 2 0 16 22 0 28 1 0 38 0
43 2 0 19 22 0 23 2 0 19 0 0 37 1 0
16 0 18)))))
'|lookupComplete|))
|