aboutsummaryrefslogtreecommitdiff
path: root/src/algebra/strap/LNAGG.lsp
diff options
context:
space:
mode:
Diffstat (limited to 'src/algebra/strap/LNAGG.lsp')
-rw-r--r--src/algebra/strap/LNAGG.lsp26
1 files changed, 13 insertions, 13 deletions
diff --git a/src/algebra/strap/LNAGG.lsp b/src/algebra/strap/LNAGG.lsp
index 7eab4ad6..98805faf 100644
--- a/src/algebra/strap/LNAGG.lsp
+++ b/src/algebra/strap/LNAGG.lsp
@@ -5,25 +5,14 @@
(DEFPARAMETER |LinearAggregate;AL| 'NIL)
-(DEFUN |LinearAggregate| (#0=#:G1397)
- (LET (#1=#:G1398)
- (COND
- ((SETQ #1# (|assoc| (|devaluate| #0#) |LinearAggregate;AL|))
- (CDR #1#))
- (T (SETQ |LinearAggregate;AL|
- (|cons5| (CONS (|devaluate| #0#)
- (SETQ #1# (|LinearAggregate;| #0#)))
- |LinearAggregate;AL|))
- #1#))))
-
(DEFUN |LinearAggregate;| (|t#1|)
- (PROG (#0=#:G1396)
+ (PROG (#0=#:G1399)
(RETURN
(PROG1 (LETT #0#
(|sublisV|
(PAIR '(|t#1|) (LIST (|devaluate| |t#1|)))
(|sublisV|
- (PAIR '(#1=#:G1395) (LIST '(|Integer|)))
+ (PAIR '(#1=#:G1398) (LIST '(|Integer|)))
(COND
(|LinearAggregate;CAT|)
('T
@@ -80,6 +69,17 @@
. #2=(|LinearAggregate|)))))) . #2#)
(SETELT #0# 0 (LIST '|LinearAggregate| (|devaluate| |t#1|)))))))
+(DEFUN |LinearAggregate| (#0=#:G1400)
+ (LET (#1=#:G1401)
+ (COND
+ ((SETQ #1# (|assoc| (|devaluate| #0#) |LinearAggregate;AL|))
+ (CDR #1#))
+ (T (SETQ |LinearAggregate;AL|
+ (|cons5| (CONS (|devaluate| #0#)
+ (SETQ #1# (|LinearAggregate;| #0#)))
+ |LinearAggregate;AL|))
+ #1#))))
+
(SETQ |$CategoryFrame|
(|put| '|LinearAggregate| '|isCategory| T
(|addModemap| '|LinearAggregate| '(|LinearAggregate| |#1|)