aboutsummaryrefslogtreecommitdiff
path: root/src/algebra/strap/RNG.lsp
blob: 6a2f53a5716aa7df0179cb9ec2d566f676c333ba (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;| ()
  (PROG (#0=#:G1397)
    (RETURN
      (PROG1 (LETT #0# (|Join| (|AbelianGroup|) (|SemiGroup|)) |Rng|)
        (SETELT #0# 0 '(|Rng|)))))) 

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

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

(MAKEPROP '|Rng| 'NILADIC T)