/usr/share/axiom-20170501/src/algebra/SETCAT.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 25 26 | )abbrev category SETCAT SetCategory
++ Date Last Updated: November 10, 2009 tpd happy birthday
++ Description:
++ \spadtype{SetCategory} is the basic category for describing a collection
++ of elements with \spadop{=} (equality) and \spadfun{coerce} to
++ output form.
++
++ Conditional Attributes\br
++ \tab{5}canonical\tab{5}data structure equality is the same as \spadop{=}
SetCategory() : Category == SIG where
SIG ==> Join(BasicType,CoercibleTo OutputForm) with
hash : % -> SingleInteger
++ hash(s) calculates a hash code for s.
latex : % -> String
++ latex(s) returns a LaTeX-printable output
++ representation of s.
add
hash(s : %): SingleInteger == SXHASH(s)$Lisp
latex(s : %): String == "\mbox{\bf Unimplemented}"
|