/usr/share/axiom-20170501/src/algebra/ITFUN2.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 | )abbrev package ITFUN2 InfiniteTupleFunctions2
++ Description:
++ Functions defined on streams with entries in two sets.
InfiniteTupleFunctions2(A,B) : SIG == CODE where
A : Type
B : Type
IT ==> InfiniteTuple
SIG ==> with
map : ((A -> B),IT A) -> IT B
++ \spad{map(f,[x0,x1,x2,...])} returns \spad{[f(x0),f(x1),f(x2),..]}.
CODE ==> add
map(f,x) ==
map(f,x pretend Stream(A))$StreamFunctions2(A,B) pretend IT(B)
|