[top][index]
search for:

addStartFunction -- add a startup function

addStartFunction (() -> ...) -- record a function for later execution, when the program is restarted after loading dumped data.

See also:

  • runStartFunctions -- run the start up functions
  • Code:

         -- code for addStartFunction:
         -- ../m2/setup.m2:232-234
         addStartFunction = g -> (
              startFunctions = append(startFunctions,g);
              g)

    [top][index]
    search for: