/usr/share/axiom-20120501/input/fr2.input is in axiom-test 20120501-8.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 | )set break resume
)spool fr2.output
)set message test on
)set message auto off
)clear all
--S 1 of 6
double(x) == x + x
--R
--R Type: Void
--E 1
--S 2 of 6
f := factor(720)
--R
--R
--R 4 2
--R (2) 2 3 5
--R Type: Factored(Integer)
--E 2
--S 3 of 6
map(double,f)
--R
--R Compiling function double with type Integer -> Integer
--R
--R 4 2
--R (3) 2 4 6 10
--R Type: Factored(Integer)
--E 3
--S 4 of 6
makePoly(b) == x + b
--R
--R Type: Void
--E 4
--S 5 of 6
g := map(makePoly,f)
--R
--R Compiling function makePoly with type Integer -> Polynomial(Integer)
--R
--R
--R 4 2
--R (5) (x + 1)(x + 2) (x + 3) (x + 5)
--R Type: Factored(Polynomial(Integer))
--E 5
--S 6 of 6
nthFlag(g,1)
--R
--R
--R (6) "nil"
--R Type: Union("nil",...)
--E 6
)spool
)lisp (bye)
|