diff options
author | dos-reis <gdr@axiomatics.org> | 2008-11-20 07:57:14 +0000 |
---|---|---|
committer | dos-reis <gdr@axiomatics.org> | 2008-11-20 07:57:14 +0000 |
commit | 90dee68c255cd77c5e72fb78da8a02d07e3c1c49 (patch) | |
tree | f1bda1d35b9549660a6275890865894e87ebaf44 /src/algebra/strap/ORDRING-.lsp | |
parent | 29c64f74f12bbeebb82045b08db420d2d2b60cf7 (diff) | |
download | open-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/ORDRING-.lsp')
-rw-r--r-- | src/algebra/strap/ORDRING-.lsp | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/src/algebra/strap/ORDRING-.lsp b/src/algebra/strap/ORDRING-.lsp index 9b433619..c5eb9558 100644 --- a/src/algebra/strap/ORDRING-.lsp +++ b/src/algebra/strap/ORDRING-.lsp @@ -64,28 +64,3 @@ 0 16 0 17 1 0 8 0 10 1 0 8 0 11 1 0 0 0 19))))) '|lookupComplete|)) - -(SETQ |$CategoryFrame| - (|put| '|OrderedRing&| '|isFunctor| - '(((|abs| ($ $)) T (ELT $ 19)) - ((|sign| ((|Integer|) $)) T (ELT $ 17)) - ((|negative?| ((|Boolean|) $)) T (ELT $ 11)) - ((|positive?| ((|Boolean|) $)) T (ELT $ 10))) - (|addModemap| '|OrderedRing&| '(|OrderedRing&| |#1|) - '((CATEGORY |domain| (SIGNATURE |abs| (|#1| |#1|)) - (SIGNATURE |sign| ((|Integer|) |#1|)) - (SIGNATURE |negative?| ((|Boolean|) |#1|)) - (SIGNATURE |positive?| ((|Boolean|) |#1|))) - (|OrderedRing|)) - T '|OrderedRing&| - (|put| '|OrderedRing&| '|mode| - '(|Mapping| - (CATEGORY |domain| - (SIGNATURE |abs| (|#1| |#1|)) - (SIGNATURE |sign| ((|Integer|) |#1|)) - (SIGNATURE |negative?| - ((|Boolean|) |#1|)) - (SIGNATURE |positive?| - ((|Boolean|) |#1|))) - (|OrderedRing|)) - |$CategoryFrame|)))) |