aboutsummaryrefslogtreecommitdiff
path: root/src/algebra/strap/COMRING.lsp
blob: 765ee1315eae5de09443dbe7996285553d85fdd1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
(/VERSIONCHECK 2) 

(DEFPARAMETER |CommutativeRing;AL| 'NIL) 

(DEFUN |CommutativeRing;| ()
  (PROG (#0=#:G1398)
    (RETURN
      (PROG1 (LETT #0#
                   (|Join| (|Ring|) (|BiModule| '$ '$)
                           (|mkCategory| '|package| NIL
                               '(((|commutative| "*") T)) 'NIL NIL))
                   |CommutativeRing|)
        (|setShellEntry| #0# 0 '(|CommutativeRing|)))))) 

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

(MAKEPROP '|CommutativeRing| 'NILADIC T)