aboutsummaryrefslogtreecommitdiff
path: root/src/algebra/string.spad.pamphlet
diff options
context:
space:
mode:
authordos-reis <gdr@axiomatics.org>2010-12-30 08:50:00 +0000
committerdos-reis <gdr@axiomatics.org>2010-12-30 08:50:00 +0000
commite46eacc852aacf74de6d98ed5aad9249f41eabb0 (patch)
tree7d8c05190be1e45ee6d47cd2415fbb6ee3f048ce /src/algebra/string.spad.pamphlet
parent865e926e0c7b9f8ad6201315a41a89b2258d77a7 (diff)
downloadopen-axiom-e46eacc852aacf74de6d98ed5aad9249f41eabb0.tar.gz
* interp/vmlisp.lisp (QSTRING): Remove.
(QSTRINGLENGTH): Likewise. (STRINGLENGTH): Likewise. * interp/g-opt.boot ($VMsideEffectFreeOperators): Include %i2s. * interp/g-util.boot: Expand it. * interp/debug.lisp (/LOCATE): Replace STRINGLENGTH with LENGTH. * algebra/fortran.spad.pamphlet: Don't use STRINGIMAGE from Lisp. * algebra/generic.spad.pamphlet: Likewise. * algebra/naalg.spad.pamphlet: Likewise. * algebra/naalgc.spad.pamphlet: Likewise. * algebra/outform.spad.pamphlet: Likewise. * algebra/string.spad.pamphlet: Likewise.
Diffstat (limited to 'src/algebra/string.spad.pamphlet')
-rw-r--r--src/algebra/string.spad.pamphlet5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/algebra/string.spad.pamphlet b/src/algebra/string.spad.pamphlet
index baa4a99d..4c8ce1c5 100644
--- a/src/algebra/string.spad.pamphlet
+++ b/src/algebra/string.spad.pamphlet
@@ -492,8 +492,9 @@ String(): Public == Private where
string: DoubleFloat -> %
++ \spad{string f} returns the decimal representation of
++ \spad{f} in a string
- Private == IndexedString(MINSTRINGINDEX) add
- string(n: Integer) == STRINGIMAGE(n)$Lisp
+ Private == IndexedString(MINSTRINGINDEX) add
+ import %i2s: Integer -> % from Foreign Builtin
+ string(n: Integer) == %i2s n
string(f: DoubleFloat) == %f2s(f)$Foreign(Builtin)
OMwrite(x: %): String ==