aboutsummaryrefslogtreecommitdiff
path: root/src/algebra/string.spad.pamphlet
diff options
context:
space:
mode:
authordos-reis <gdr@axiomatics.org>2009-06-01 06:10:07 +0000
committerdos-reis <gdr@axiomatics.org>2009-06-01 06:10:07 +0000
commit78dd44d657fa65a8029d996aaf7ac05d2133f509 (patch)
treed5e4072febd7a48afbc1d2c48c2be4f4a3539638 /src/algebra/string.spad.pamphlet
parent803d7a62fb91bb4083a0aaaaa20749574292e967 (diff)
downloadopen-axiom-78dd44d657fa65a8029d996aaf7ac05d2133f509.tar.gz
* interp/compiler.boot (compGreaterThan): New. Compile
greater-than expressions. * interp/parse.boot (parseGreaterThan): Remove. * algebra/data.spad.pamphlet (Byte): Implement all comparison functions. * algebra/integer.spad.pamphlet (Integer): Likewise. * algebra/sf.spad.pamphlet (DoubleFloat): Likewise. * algebra/si.spad.pamphlet (SingleInteger): Likewise. * algebra/string.spad.pamphlet (Character): Likewise.
Diffstat (limited to 'src/algebra/string.spad.pamphlet')
-rw-r--r--src/algebra/string.spad.pamphlet3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/algebra/string.spad.pamphlet b/src/algebra/string.spad.pamphlet
index 48a09e30..1e08bf30 100644
--- a/src/algebra/string.spad.pamphlet
+++ b/src/algebra/string.spad.pamphlet
@@ -82,6 +82,9 @@ Character: OrderedFinite() with
a = b == CHAR_=(a,b)$Lisp
a < b == CHAR_<(a,b)$Lisp
+ a > b == CHAR_>(a,b)$Lisp
+ a <= b == CHAR_<_=(a,b)$Lisp
+ a >= b == CHAR_>_=(a,b)$Lisp
size() == 256
index n == char((n - 1)::NNI)
lookup c == (1 + ord c)::PositiveInteger