aboutsummaryrefslogtreecommitdiff
path: root/src/algebra/strap/NNI.lsp
diff options
context:
space:
mode:
authordos-reis <gdr@axiomatics.org>2008-11-20 07:57:14 +0000
committerdos-reis <gdr@axiomatics.org>2008-11-20 07:57:14 +0000
commit90dee68c255cd77c5e72fb78da8a02d07e3c1c49 (patch)
treef1bda1d35b9549660a6275890865894e87ebaf44 /src/algebra/strap/NNI.lsp
parent29c64f74f12bbeebb82045b08db420d2d2b60cf7 (diff)
downloadopen-axiom-90dee68c255cd77c5e72fb78da8a02d07e3c1c49.tar.gz
* algebra/coerce.spad.pamphlet (CoercibleFrom): New.
(ConvertibleFrom): Likewise. (RetractableTo): Use it. * algebra/Makefile.pamphlet (axiom_algebra_layer_0): Include KRCFROM and KVTFROM. * share/algebra/: Update databases.
Diffstat (limited to 'src/algebra/strap/NNI.lsp')
-rw-r--r--src/algebra/strap/NNI.lsp74
1 files changed, 0 insertions, 74 deletions
diff --git a/src/algebra/strap/NNI.lsp b/src/algebra/strap/NNI.lsp
index 2d3fe6a9..329200c6 100644
--- a/src/algebra/strap/NNI.lsp
+++ b/src/algebra/strap/NNI.lsp
@@ -120,78 +120,4 @@
0 0 0 0 1 2 0 0 12 0 1 2 0 0 11 0 1)))))
'|lookupComplete|))
-(SETQ |$CategoryFrame|
- (|put| '|NonNegativeInteger| '|isFunctor|
- '(((|random| ($ $)) T (ELT $ NIL))
- ((|shift| ($ $ (|Integer|))) T (ELT $ 7))
- ((|exquo| ((|Union| $ "failed") $ $)) T (ELT $ NIL))
- ((|divide|
- ((|Record| (|:| |quotient| $) (|:| |remainder| $))
- $ $))
- T (ELT $ NIL))
- ((|gcd| ($ $ $)) T (ELT $ NIL))
- ((|rem| ($ $ $)) T (ELT $ NIL))
- ((|quo| ($ $ $)) T (ELT $ NIL))
- ((* ($ $ $)) T (ELT $ NIL))
- ((** ($ $ (|PositiveInteger|))) T (ELT $ NIL))
- ((|One| ($)) T (CONST $ NIL))
- ((|one?| ((|Boolean|) $)) T (ELT $ NIL))
- ((** ($ $ (|NonNegativeInteger|))) T (ELT $ NIL))
- ((|recip| ((|Union| $ "failed") $)) T (ELT $ NIL))
- ((|sup| ($ $ $)) T (ELT $ 6))
- ((|subtractIfCan| ((|Union| $ "failed") $ $)) T
- (ELT $ 9))
- ((|Zero| ($)) T (CONST $ NIL))
- ((|sample| ($)) T (CONST $ NIL))
- ((|zero?| ((|Boolean|) $)) T (ELT $ NIL))
- ((* ($ (|NonNegativeInteger|) $)) T (ELT $ NIL))
- ((+ ($ $ $)) T (ELT $ NIL))
- ((* ($ (|PositiveInteger|) $)) T (ELT $ NIL))
- ((|min| ($ $ $)) T (ELT $ NIL))
- ((|max| ($ $ $)) T (ELT $ NIL))
- ((<= ((|Boolean|) $ $)) T (ELT $ NIL))
- ((>= ((|Boolean|) $ $)) T (ELT $ NIL))
- ((> ((|Boolean|) $ $)) T (ELT $ NIL))
- ((< ((|Boolean|) $ $)) T (ELT $ NIL))
- ((|latex| ((|String|) $)) T (ELT $ NIL))
- ((|hash| ((|SingleInteger|) $)) T (ELT $ NIL))
- ((|coerce| ((|OutputForm|) $)) T (ELT $ NIL))
- ((= ((|Boolean|) $ $)) T (ELT $ NIL))
- ((~= ((|Boolean|) $ $)) T (ELT $ NIL)))
- (|addModemap| '|NonNegativeInteger|
- '(|NonNegativeInteger|)
- '((|Join| (|OrderedAbelianMonoidSup|) (|Monoid|)
- (CATEGORY |domain| (SIGNATURE |quo| ($ $ $))
- (SIGNATURE |rem| ($ $ $))
- (SIGNATURE |gcd| ($ $ $))
- (SIGNATURE |divide|
- ((|Record| (|:| |quotient| $)
- (|:| |remainder| $))
- $ $))
- (SIGNATURE |exquo|
- ((|Union| $ "failed") $ $))
- (SIGNATURE |shift| ($ $ (|Integer|)))
- (SIGNATURE |random| ($ $))
- (ATTRIBUTE (|commutative| "*")))))
- T '|NonNegativeInteger|
- (|put| '|NonNegativeInteger| '|mode|
- '(|Mapping|
- (|Join| (|OrderedAbelianMonoidSup|)
- (|Monoid|)
- (CATEGORY |domain|
- (SIGNATURE |quo| ($ $ $))
- (SIGNATURE |rem| ($ $ $))
- (SIGNATURE |gcd| ($ $ $))
- (SIGNATURE |divide|
- ((|Record| (|:| |quotient| $)
- (|:| |remainder| $))
- $ $))
- (SIGNATURE |exquo|
- ((|Union| $ "failed") $ $))
- (SIGNATURE |shift|
- ($ $ (|Integer|)))
- (SIGNATURE |random| ($ $))
- (ATTRIBUTE (|commutative| "*")))))
- |$CategoryFrame|))))
-
(MAKEPROP '|NonNegativeInteger| 'NILADIC T)