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/MONOID-.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/MONOID-.lsp')
-rw-r--r-- | src/algebra/strap/MONOID-.lsp | 32 |
1 files changed, 0 insertions, 32 deletions
diff --git a/src/algebra/strap/MONOID-.lsp b/src/algebra/strap/MONOID-.lsp index 6673562a..b3cf1042 100644 --- a/src/algebra/strap/MONOID-.lsp +++ b/src/algebra/strap/MONOID-.lsp @@ -59,35 +59,3 @@ 0 0 11 1 0 12 0 13 1 0 8 0 10 2 0 0 0 17 18))))) '|lookupComplete|)) - -(SETQ |$CategoryFrame| - (|put| '|Monoid&| '|isFunctor| - '(((|recip| ((|Union| $ "failed") $)) T (ELT $ 13)) - ((** ($ $ (|NonNegativeInteger|))) T (ELT $ 18)) - ((|one?| ((|Boolean|) $)) T (ELT $ 10)) - ((|sample| ($)) T (ELT $ 11)) - ((** ($ $ (|PositiveInteger|))) T (ELT $ NIL))) - (|addModemap| '|Monoid&| '(|Monoid&| |#1|) - '((CATEGORY |domain| - (SIGNATURE |recip| - ((|Union| |#1| "failed") |#1|)) - (SIGNATURE ** - (|#1| |#1| (|NonNegativeInteger|))) - (SIGNATURE |one?| ((|Boolean|) |#1|)) - (SIGNATURE |sample| (|#1|)) - (SIGNATURE ** (|#1| |#1| (|PositiveInteger|)))) - (|Monoid|)) - T '|Monoid&| - (|put| '|Monoid&| '|mode| - '(|Mapping| - (CATEGORY |domain| - (SIGNATURE |recip| - ((|Union| |#1| "failed") |#1|)) - (SIGNATURE ** - (|#1| |#1| (|NonNegativeInteger|))) - (SIGNATURE |one?| ((|Boolean|) |#1|)) - (SIGNATURE |sample| (|#1|)) - (SIGNATURE ** - (|#1| |#1| (|PositiveInteger|)))) - (|Monoid|)) - |$CategoryFrame|)))) |