/usr/share/axiom-20170501/src/algebra/SEGBIND2.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 SEGBIND2 SegmentBindingFunctions2
++ Date Last Updated: June 4, 1991
++ Description:
++ This package provides operations for mapping functions onto
++ \spadtype{SegmentBinding}s.
SegmentBindingFunctions2(R,S) : SIG == CODE where
R : Type
S : Type
SIG ==> with
map : (R -> S, SegmentBinding R) -> SegmentBinding S
++ map(f,v=a..b) returns the value given by \spad{v=f(a)..f(b)}.
CODE ==> add
map(f, b) ==
equation(variable b, map(f, segment b)$SegmentFunctions2(R, S))
|