aboutsummaryrefslogtreecommitdiff
path: root/src/algebra/strap/SETCAT.lsp
blob: 3f239b87f6b9e9d9e16f5fd1410f7fc3f0a9467e (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
27
28
29
30
31
32
(/VERSIONCHECK 2) 

(DEFPARAMETER |SetCategory;AL| 'NIL) 

(DEFUN |SetCategory| ()
  (LET (#:G1397)
    (COND
      (|SetCategory;AL|)
      (T (SETQ |SetCategory;AL| (|SetCategory;|)))))) 

(DEFUN |SetCategory;| ()
  (PROG (#0=#:G1395)
    (RETURN
      (PROG1 (LETT #0#
                   (|sublisV|
                       (PAIR '(#1=#:G1394) (LIST '(|OutputForm|)))
                       (|Join| (|BasicType|) (|CoercibleTo| '#1#)
                               (|mkCategory| '|domain|
                                   '(((|hash| ((|SingleInteger|) $)) T)
                                     ((|latex| ((|String|) $)) T))
                                   NIL '((|String|) (|SingleInteger|))
                                   NIL)))
                   |SetCategory|)
        (SETELT #0# 0 '(|SetCategory|)))))) 

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

(MAKEPROP '|SetCategory| 'NILADIC T)