aboutsummaryrefslogtreecommitdiff
path: root/src/algebra/strap/SETCAT.lsp
blob: 2ea735a4999ac796a4c7b85657801a87ad79178e (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;| ()
  (PROG (#0=#:G1398)
    (RETURN
      (PROG1 (LETT #0#
                   (|sublisV|
                       (PAIR '(#1=#:G1397) (LIST '(|OutputForm|)))
                       (|Join| (|BasicType|) (|CoercibleTo| '#1#)
                               (|mkCategory| '|domain|
                                   '(((|hash| ((|SingleInteger|) $)) T)
                                     ((|latex| ((|String|) $)) T))
                                   NIL '((|String|) (|SingleInteger|))
                                   NIL)))
                   |SetCategory|)
        (SETELT #0# 0 '(|SetCategory|)))))) 

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

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

(MAKEPROP '|SetCategory| 'NILADIC T)