aboutsummaryrefslogtreecommitdiff
path: root/src/algebra/strap/URAGG.lsp
diff options
context:
space:
mode:
authordos-reis <gdr@axiomatics.org>2011-03-07 05:49:53 +0000
committerdos-reis <gdr@axiomatics.org>2011-03-07 05:49:53 +0000
commita03b7716749e9fb997d99659967aa49ae6ca1569 (patch)
treef9ea530df62ac41622e2180077fb4d07aebd7d64 /src/algebra/strap/URAGG.lsp
parent13c00cb56547feb8cd6b5b3c6386a881072862f6 (diff)
downloadopen-axiom-a03b7716749e9fb997d99659967aa49ae6ca1569.tar.gz
* interp/sys-utility.boot (getSystemModulePath): Use
systemAlgebraDirectory. * interp/database.boot (pathToDatabase): Use systemDatabaseDirectory. * algebra/integer.spad.pamphlet (Integer) [latex]: Tidy. * algebra/string.spad.pamphlet (Character) [latex]: Likewise. * algebra/Makefile.in: Rework bootstrapping set up. (COMPILE_LISP): Remove. (axiom_algebra_layer_strap): Likewise. (axiom_algebra_layer_strap_objects): Likewise. (axiom_algebra_bootstrap): Likewise. (oa_strap_0_fasls): New. (oa_strap_1_fasls): Likewise. (oa_strap_2_fasls): Likewise. (oa_strap_0_sources): Likewise. (oa_strap_1_sources): Likewise. (oa_strap_2_sources): Likewise. * src/algerab/strap: Remove.
Diffstat (limited to 'src/algebra/strap/URAGG.lsp')
-rw-r--r--src/algebra/strap/URAGG.lsp91
1 files changed, 0 insertions, 91 deletions
diff --git a/src/algebra/strap/URAGG.lsp b/src/algebra/strap/URAGG.lsp
deleted file mode 100644
index 2ce314eb..00000000
--- a/src/algebra/strap/URAGG.lsp
+++ /dev/null
@@ -1,91 +0,0 @@
-
-(/VERSIONCHECK 2)
-
-(DEFPARAMETER |UnaryRecursiveAggregate;CAT| 'NIL)
-
-(DEFPARAMETER |UnaryRecursiveAggregate;AL| 'NIL)
-
-(DEFUN |UnaryRecursiveAggregate;| (|t#1|)
- (LET ((#0=#:G1400
- (|sublisV| (PAIR '(|t#1|) (LIST (|devaluate| |t#1|)))
- (COND
- (|UnaryRecursiveAggregate;CAT|)
- (T (SETQ |UnaryRecursiveAggregate;CAT|
- (|Join| (|RecursiveAggregate| '|t#1|)
- (|mkCategory| '|domain|
- '(((|concat| ($ $ $)) T)
- ((|concat| ($ |t#1| $)) T)
- ((|first| (|t#1| $)) T)
- ((|elt| (|t#1| $ "first")) T)
- ((|first|
- ($ $ (|NonNegativeInteger|)))
- T)
- ((|rest| ($ $)) T)
- ((|elt| ($ $ "rest")) T)
- ((|rest|
- ($ $ (|NonNegativeInteger|)))
- T)
- ((|last| (|t#1| $)) T)
- ((|elt| (|t#1| $ "last")) T)
- ((|last|
- ($ $ (|NonNegativeInteger|)))
- T)
- ((|tail| ($ $)) T)
- ((|second| (|t#1| $)) T)
- ((|third| (|t#1| $)) T)
- ((|cycleEntry| ($ $)) T)
- ((|cycleLength|
- ((|NonNegativeInteger|) $))
- T)
- ((|cycleTail| ($ $)) T)
- ((|concat!| ($ $ $))
- (|has| $
- (ATTRIBUTE |shallowlyMutable|)))
- ((|concat!| ($ $ |t#1|))
- (|has| $
- (ATTRIBUTE |shallowlyMutable|)))
- ((|cycleSplit!| ($ $))
- (|has| $
- (ATTRIBUTE |shallowlyMutable|)))
- ((|setfirst!| (|t#1| $ |t#1|))
- (|has| $
- (ATTRIBUTE |shallowlyMutable|)))
- ((|setelt|
- (|t#1| $ "first" |t#1|))
- (|has| $
- (ATTRIBUTE |shallowlyMutable|)))
- ((|setrest!| ($ $ $))
- (|has| $
- (ATTRIBUTE |shallowlyMutable|)))
- ((|setelt| ($ $ "rest" $))
- (|has| $
- (ATTRIBUTE |shallowlyMutable|)))
- ((|setlast!| (|t#1| $ |t#1|))
- (|has| $
- (ATTRIBUTE |shallowlyMutable|)))
- ((|setelt|
- (|t#1| $ "last" |t#1|))
- (|has| $
- (ATTRIBUTE |shallowlyMutable|)))
- ((|split!| ($ $ (|Integer|)))
- (|has| $
- (ATTRIBUTE |shallowlyMutable|))))
- NIL
- '((|Integer|)
- (|NonNegativeInteger|))
- NIL))))))))
- (SETF (|shellEntry| #0# 0)
- (LIST '|UnaryRecursiveAggregate| (|devaluate| |t#1|)))
- #0#))
-
-(DEFUN |UnaryRecursiveAggregate| (#0=#:G1401)
- (LET ((#1=#:G1402
- (|assoc| (|devaluate| #0#) |UnaryRecursiveAggregate;AL|)))
- (COND
- (#1# (CDR #1#))
- (T (PROGN
- (SETQ #1# (|UnaryRecursiveAggregate;| #0#))
- (SETQ |UnaryRecursiveAggregate;AL|
- (|cons5| (CONS (|devaluate| #0#) #1#)
- |UnaryRecursiveAggregate;AL|))
- #1#)))))