blob: 5fa04082aa624b0dcc69e4c4b9cbf93113675ac5 (
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
|
(/VERSIONCHECK 2)
(DEFPARAMETER |RecursiveAggregate;CAT| 'NIL)
(DEFPARAMETER |RecursiveAggregate;AL| 'NIL)
(DEFUN |RecursiveAggregate;| (|t#1|)
(LET ((#0=#:G1397
(|sublisV| (PAIR '(|t#1|) (LIST (|devaluate| |t#1|)))
(COND
(|RecursiveAggregate;CAT|)
('T
(SETQ |RecursiveAggregate;CAT|
(|Join| (|HomogeneousAggregate| '|t#1|)
(|mkCategory| '|domain|
'(((|children| ((|List| $) $)) T)
((|nodes| ((|List| $) $)) T)
((|leaf?| ((|Boolean|) $)) T)
((|value| (|t#1| $)) T)
((|elt| (|t#1| $ "value")) T)
((|cyclic?| ((|Boolean|) $)) T)
((|leaves| ((|List| |t#1|) $))
T)
((|distance| ((|Integer|) $ $))
T)
((|child?| ((|Boolean|) $ $))
(|has| |t#1| (|SetCategory|)))
((|node?| ((|Boolean|) $ $))
(|has| |t#1| (|SetCategory|)))
((|setchildren!|
($ $ (|List| $)))
(|has| $
(ATTRIBUTE |shallowlyMutable|)))
((|setelt|
(|t#1| $ "value" |t#1|))
(|has| $
(ATTRIBUTE |shallowlyMutable|)))
((|setvalue!| (|t#1| $ |t#1|))
(|has| $
(ATTRIBUTE |shallowlyMutable|))))
NIL
'((|List| $) (|Boolean|)
(|Integer|) (|List| |t#1|))
NIL))))))))
(|setShellEntry| #0# 0
(LIST '|RecursiveAggregate| (|devaluate| |t#1|)))
#0#))
(DEFUN |RecursiveAggregate| (#0=#:G1398)
(LET ((#1=#:G1399 (|assoc| (|devaluate| #0#) |RecursiveAggregate;AL|)))
(COND
(#1# (CDR #1#))
(T (PROGN
(SETQ #1# (|RecursiveAggregate;| #0#))
(SETQ |RecursiveAggregate;AL|
(|cons5| (CONS (|devaluate| #0#) #1#)
|RecursiveAggregate;AL|))
#1#)))))
|