aboutsummaryrefslogtreecommitdiff
path: root/src/algebra/strap/RING.lsp
blob: e661083da4d8d2f08a3452bbb9e6f6d5991719fa (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
(/VERSIONCHECK 2) 

(DEFPARAMETER |Ring;AL| 'NIL) 

(DEFUN |Ring;| ()
  (PROG (#0=#:G1399)
    (RETURN
      (PROG1 (LETT #0#
                   (|sublisV| (PAIR '(#1=#:G1398) (LIST '(|Integer|)))
                       (|Join| (|Rng|) (|Monoid|) (|LeftModule| '$)
                               (|CoercibleFrom| '#1#)
                               (|mkCategory| '|package|
                                   '(((|characteristic|
                                       ((|NonNegativeInteger|))
                                       |constant|)
                                      T))
                                   '((|unitsKnown| T))
                                   '((|NonNegativeInteger|)) NIL)))
                   |Ring|)
        (|setShellEntry| #0# 0 '(|Ring|)))))) 

(DEFUN |Ring| ()
  (LET () (COND (|Ring;AL|) (T (SETQ |Ring;AL| (|Ring;|)))))) 

(MAKEPROP '|Ring| 'NILADIC T)