globalReleaseFunction -- the standard function which can be used as a method for GlobalReleaseHook so that certain types of things, which have acquired as their name the name of a global variable to which they have been assigned, will lose that name when a different value is assigned to the variable.
See also:
Code:
-- ../../../Macaulay2/m2/classes.m2:82-88 globalReleaseFunction = (X,x) -> ( if x.?Symbol and X === x.Symbol then ( remove(x,symbol name); remove(x,symbol symbol); ) )