--
David Eisenbud
Professor of Mathematics
University of California Berkeley
newPackage(
"ResBug",
Version => "0.1",
Date => "August 30, 2025",
Headline => "problem with unexported res",
Authors => {{ Name => "DE"}},
DebuggingMode => true
)
export {"resFormat"}
-* Code section *-
resFormat = method()
resFormat Module := M -> (
F := res M;
for i from 0 to length F list rank F_i)
-* Documentation section *-
beginDocumentation()
doc ///
Key
ResBug
Headline
problem with "unexported" res
Description
Text
How can this be fixed?
Example
S = ZZ/101[x,y]
M = coker vars SresFormat M
///
-* Test section *-
end--
restart
loadPackage "ResBug"
restart
installPackage "ResBug"