[top][index]
search for:

globalReleaseFunction -- the standard method for the global variable release hook

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:

  • globalAssignFunction -- the standard method for the global assignment hook
  • 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);
                   )
              )

    [top][index]
    search for: