/usr/share/axiom-20170501/src/algebra/MAPHACK2.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 | )abbrev package MAPHACK2 MappingPackageInternalHacks2
++ Description:
++ Various Currying operations.
MappingPackageInternalHacks2(A,C) : SIG == CODE where
A : SetCategory
C : SetCategory
NNI ==> NonNegativeInteger
SIG ==> with
arg1 : (A, C) -> A
++\spad{arg1(a,c)} selects its first argument.
arg2 : (A, C) -> C
++\spad{arg2(a,c)} selects its second argument.
CODE ==> add
arg1(a, c) == a
arg2(a, c) == c
|