/usr/share/axiom-20170501/src/algebra/ES2.spad is in axiom-source 20170501-3.
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 | )abbrev package ES2 ExpressionSpaceFunctions2
++ Author: Manuel Bronstein
++ Date Created: 23 March 1988
++ Date Last Updated: 19 April 1991
++ Description:
++ This package allows a mapping E -> F to be lifted to a kernel over E;
++ This lifting can fail if the operator of the kernel cannot be applied
++ in F; Do not use this package with E = F, since this may
++ drop some properties of the operators.
ExpressionSpaceFunctions2(E, F) : SIG == CODE where
E : ExpressionSpace
F : ExpressionSpace
SIG ==> with
map : (E -> F, Kernel E) -> F
++ map(f, k) returns \spad{g = op(f(a1),...,f(an))} where
++ \spad{k = op(a1,...,an)}.
CODE ==> add
map(f, k) ==
(operator(operator k)$F) [f x for x in argument k]$List(F)
|