/usr/share/axiom-20170501/src/algebra/NONE1.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 | )abbrev package NONE1 NoneFunctions1
++ Description:
++ \spadtype{NoneFunctions1} implements functions on \spadtype{None}.
++ It particular it includes a particulary dangerous coercion from
++ any other type to \spadtype{None}.
NoneFunctions1(S) : SIG == CODE where
S : Type
SIG ==> with
coerce : S -> None
++ coerce(x) changes \spad{x} into an object of type
++ \spadtype{None}.
CODE ==> add
coerce(s:S):None == s pretend None
|