aboutsummaryrefslogtreecommitdiff
path: root/src/input/tutchap2.input.pamphlet
diff options
context:
space:
mode:
authordos-reis <gdr@axiomatics.org>2011-08-10 23:30:02 +0000
committerdos-reis <gdr@axiomatics.org>2011-08-10 23:30:02 +0000
commit7c7d44f1dc284e4c4e231d97023aa87ecd5f8e44 (patch)
treedb90d375dde6576789ad23ae39dc5de66b148e57 /src/input/tutchap2.input.pamphlet
parente6b1636fe3b19b148f347f6b9f00642db83c5ddc (diff)
downloadopen-axiom-7c7d44f1dc284e4c4e231d97023aa87ecd5f8e44.tar.gz
* algebra/float.spad.pamphlet (Float): Tidy.
* algebra/fortmac.spad.pamphlet (MachineInteger): Likewise. * algebra/fspace.spad.pamphlet (FunctionSpace): Likewise. * algebra/integer.spad.pamphlet (Integer): Likewise. * algebra/mkfunc.spad.pamphlet (InputForm): Likewise. * algebra/newpoly.spad.pamphlet (RecursivePolynomialCategory): Likewise. * input/knot.input.pamphlet: Likewise. * input/knot2.input.pamphlet: Likewise. * input/mult3d.input.pamphlet: Likewise. * input/multKnot.input.pamphlet: Likewise. * input/r21bugsbig.input.pamphlet: Likewise. * input/tutchap2.input.pamphlet: Likewise.
Diffstat (limited to 'src/input/tutchap2.input.pamphlet')
-rw-r--r--src/input/tutchap2.input.pamphlet6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/input/tutchap2.input.pamphlet b/src/input/tutchap2.input.pamphlet
index ae81f5f3..83fd148a 100644
--- a/src/input/tutchap2.input.pamphlet
+++ b/src/input/tutchap2.input.pamphlet
@@ -83,14 +83,14 @@ halfSum(x, y) == (x + y)/2
halfSum(1, 3)
halfSum(1.5, 2.5)
halfSum(2, 4)
-f(n)==#((2^n)::String)
+f(n)==#(string(2^n))
f(20)
-f(n) == (local length; length := #((2^n)::String); _
+f(n) == (local length; length := #(string(2^n)); _
if length > 120 then "Too long!" else length)
f 100
f 1000
f(n : PositiveInteger) : Any == _
- (local length; length := #((2^n)::String); _
+ (local length; length := #(string(2^n)); _
if length > 120 then "Too long!" else length)
f 0
g1(x) == 2*x