From 84db9d8c5349cb8b3e7e2d102867e53e610d7ef2 Mon Sep 17 00:00:00 2001 From: dos-reis Date: Sat, 16 Aug 2008 06:00:35 +0000 Subject: * algebra/strap: New. Sequester cached Lisp translation of algebra bootstrap domains here. --- src/algebra/strap/RING.lsp | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 src/algebra/strap/RING.lsp (limited to 'src/algebra/strap/RING.lsp') diff --git a/src/algebra/strap/RING.lsp b/src/algebra/strap/RING.lsp new file mode 100644 index 00000000..47fce84a --- /dev/null +++ b/src/algebra/strap/RING.lsp @@ -0,0 +1,25 @@ + +(/VERSIONCHECK 2) + +(DEFPARAMETER |Ring;AL| 'NIL) + +(DEFUN |Ring| () + (LET (#:G1387) (COND (|Ring;AL|) (T (SETQ |Ring;AL| (|Ring;|)))))) + +(DEFUN |Ring;| () + (PROG (#0=#:G1385) + (RETURN + (PROG1 (LETT #0# + (|Join| (|Rng|) (|Monoid|) (|LeftModule| '$) + (|mkCategory| '|domain| + '(((|characteristic| + ((|NonNegativeInteger|))) + T) + ((|coerce| ($ (|Integer|))) T)) + '((|unitsKnown| T)) + '((|Integer|) (|NonNegativeInteger|)) + NIL)) + |Ring|) + (SETELT #0# 0 '(|Ring|)))))) + +(MAKEPROP '|Ring| 'NILADIC T) -- cgit v1.2.3