aboutsummaryrefslogtreecommitdiff
path: root/src/algebra/card.spad.pamphlet
diff options
context:
space:
mode:
authordos-reis <gdr@axiomatics.org>2008-04-03 04:23:42 +0000
committerdos-reis <gdr@axiomatics.org>2008-04-03 04:23:42 +0000
commit001e19b08ba7fb1b9e6f6bdb44a82ba3db3fc532 (patch)
treeda9e2fe5d81ff4cd7709d12e44b8c3e348b8a8e3 /src/algebra/card.spad.pamphlet
parenta7bab9a6c2070d05e2dbd256ce455079c8ced385 (diff)
downloadopen-axiom-001e19b08ba7fb1b9e6f6bdb44a82ba3db3fc532.tar.gz
Replace `^=' with `~='.
Diffstat (limited to 'src/algebra/card.spad.pamphlet')
-rw-r--r--src/algebra/card.spad.pamphlet4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/algebra/card.spad.pamphlet b/src/algebra/card.spad.pamphlet
index a1585083..ce908e9c 100644
--- a/src/algebra/card.spad.pamphlet
+++ b/src/algebra/card.spad.pamphlet
@@ -109,7 +109,7 @@ CardinalNumber: Join(OrderedSet, AbelianMonoid, Monoid,
-- Manipulation
x = y ==
- x.order ^= y.order => false
+ x.order ~= y.order => false
finite? x => x.ival = y.ival
true -- equal transfinites
x < y ==
@@ -135,7 +135,7 @@ CardinalNumber: Join(OrderedSet, AbelianMonoid, Monoid,
x
x**y ==
y = 0 =>
- x ^= 0 => 1
+ x ~= 0 => 1
error "0**0 not defined for cardinal numbers."
finite? y =>
not finite? x => x