aboutsummaryrefslogtreecommitdiff
path: root/src/algebra/strap/SETCAT-.lsp
diff options
context:
space:
mode:
Diffstat (limited to 'src/algebra/strap/SETCAT-.lsp')
-rw-r--r--src/algebra/strap/SETCAT-.lsp28
1 files changed, 24 insertions, 4 deletions
diff --git a/src/algebra/strap/SETCAT-.lsp b/src/algebra/strap/SETCAT-.lsp
index d4c1987b..57bf43e1 100644
--- a/src/algebra/strap/SETCAT-.lsp
+++ b/src/algebra/strap/SETCAT-.lsp
@@ -16,11 +16,12 @@
(PROGN
(LETT |dv$1| (|devaluate| |#1|) . #0=(|SetCategory&|))
(LETT |dv$| (LIST '|SetCategory&| |dv$1|) . #0#)
- (LETT $ (GETREFV 11) . #0#)
- (QSETREFV $ 0 |dv$|)
- (QSETREFV $ 3 (LETT |pv$| (|buildPredVector| 0 0 NIL) . #0#))
+ (LETT $ (|newShell| 11) . #0#)
+ (|setShellEntry| $ 0 |dv$|)
+ (|setShellEntry| $ 3
+ (LETT |pv$| (|buildPredVector| 0 0 NIL) . #0#))
(|stuffDomainSlots| $)
- (QSETREFV $ 6 |#1|)
+ (|setShellEntry| $ 6 |#1|)
$))))
(MAKEPROP '|SetCategory&| '|infovec|
@@ -33,3 +34,22 @@
(|makeByteWordVec2| 10
'(1 0 9 0 10 1 0 7 0 8)))))
'|lookupComplete|))
+
+(SETQ |$CategoryFrame|
+ (|put| '|SetCategory&| '|isFunctor|
+ '(((|latex| ((|String|) $)) T (ELT $ 10))
+ ((|hash| ((|SingleInteger|) $)) T (ELT $ 8)))
+ (|addModemap| '|SetCategory&| '(|SetCategory&| |#1|)
+ '((CATEGORY |domain|
+ (SIGNATURE |latex| ((|String|) |#1|))
+ (SIGNATURE |hash| ((|SingleInteger|) |#1|)))
+ (|SetCategory|))
+ T '|SetCategory&|
+ (|put| '|SetCategory&| '|mode|
+ '(|Mapping|
+ (CATEGORY |domain|
+ (SIGNATURE |latex| ((|String|) |#1|))
+ (SIGNATURE |hash|
+ ((|SingleInteger|) |#1|)))
+ (|SetCategory|))
+ |$CategoryFrame|))))