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

(DEFPARAMETER |Rng;AL| 'NIL) 

(DEFUN |Rng| ()
  (LET (#:G1396) (COND (|Rng;AL|) (T (SETQ |Rng;AL| (|Rng;|)))))) 

(DEFUN |Rng;| ()
  (PROG (#0=#:G1394)
    (RETURN
      (PROG1 (LETT #0# (|Join| (|AbelianGroup|) (|SemiGroup|)) |Rng|)
        (SETELT #0# 0 '(|Rng|)))))) 

(SETQ |$CategoryFrame|
      (|put| '|Rng| '|isCategory| T
             (|addModemap| '|Rng| '(|Rng|) '((|Category|)) T '|Rng|
                 |$CategoryFrame|))) 

(MAKEPROP '|Rng| 'NILADIC T)