aboutsummaryrefslogtreecommitdiff
path: root/src/algebra/strap/REF.lsp
diff options
context:
space:
mode:
Diffstat (limited to 'src/algebra/strap/REF.lsp')
-rw-r--r--src/algebra/strap/REF.lsp52
1 files changed, 50 insertions, 2 deletions
diff --git a/src/algebra/strap/REF.lsp b/src/algebra/strap/REF.lsp
index ad9f6dd0..ae5ee5c3 100644
--- a/src/algebra/strap/REF.lsp
+++ b/src/algebra/strap/REF.lsp
@@ -28,10 +28,10 @@
(LIST (SPADCALL (QCAR |p|) (|getShellEntry| $ 18)))
(|getShellEntry| $ 20)))
-(DEFUN |Reference| (#0=#:G1401)
+(DEFUN |Reference| (#0=#:G1403)
(PROG ()
(RETURN
- (PROG (#1=#:G1402)
+ (PROG (#1=#:G1404)
(RETURN
(COND
((LETT #1#
@@ -90,3 +90,51 @@
1 1 22 0 1 1 0 6 0 11 1 0 6 0 13 1 1
16 0 21 2 0 8 0 0 9)))))
'|lookupComplete|))
+
+(SETQ |$CategoryFrame|
+ (|put| '|Reference| '|isFunctor|
+ '(((~= ((|Boolean|) $ $)) (|has| |#1| (|SetCategory|))
+ (ELT $ NIL))
+ ((|coerce| ((|OutputForm|) $))
+ (|has| |#1| (|SetCategory|)) (ELT $ 21))
+ ((|hash| ((|SingleInteger|) $))
+ (|has| |#1| (|SetCategory|)) (ELT $ NIL))
+ ((|latex| ((|String|) $)) (|has| |#1| (|SetCategory|))
+ (ELT $ NIL))
+ ((= ((|Boolean|) $ $)) T (ELT $ 9))
+ ((|setref| (|#1| $ |#1|)) T (ELT $ 14))
+ ((|deref| (|#1| $)) T (ELT $ 13))
+ ((|setelt| (|#1| $ |#1|)) T (ELT $ 12))
+ ((|elt| (|#1| $)) T (ELT $ 11))
+ ((|ref| ($ |#1|)) T (ELT $ 10)))
+ (|addModemap| '|Reference| '(|Reference| |#1|)
+ '((|Join| (|Type|)
+ (CATEGORY |domain|
+ (SIGNATURE |ref| ($ |#1|))
+ (SIGNATURE |elt| (|#1| $))
+ (SIGNATURE |setelt| (|#1| $ |#1|))
+ (SIGNATURE |deref| (|#1| $))
+ (SIGNATURE |setref| (|#1| $ |#1|))
+ (SIGNATURE = ((|Boolean|) $ $))
+ (IF (|has| |#1| (|SetCategory|))
+ (ATTRIBUTE (|SetCategory|))
+ |%noBranch|)))
+ (|Type|))
+ T '|Reference|
+ (|put| '|Reference| '|mode|
+ '(|Mapping|
+ (|Join| (|Type|)
+ (CATEGORY |domain|
+ (SIGNATURE |ref| ($ |#1|))
+ (SIGNATURE |elt| (|#1| $))
+ (SIGNATURE |setelt|
+ (|#1| $ |#1|))
+ (SIGNATURE |deref| (|#1| $))
+ (SIGNATURE |setref|
+ (|#1| $ |#1|))
+ (SIGNATURE = ((|Boolean|) $ $))
+ (IF (|has| |#1| (|SetCategory|))
+ (ATTRIBUTE (|SetCategory|))
+ |%noBranch|)))
+ (|Type|))
+ |$CategoryFrame|))))