next
|
previous
|
forward
|
backward
| up |
top
|
index
|
toc
|
Macaulay2 web site
runHooks(Symbol,Thing) -- run the hook functions stored in an object
Synopsis
Usage:
runHooks(sym,arg)
Function:
runHooks
Inputs:
sym
,
a
symbol
arg
,
a
thing
Consequences:
each function
hook
in list of hooks stored in value of
sym
is called with
arg
as its argument or sequence of arguments.
Outputs:
If one of the functions uses
break
to return a value, that value will be returned. Otherwise
null
will be returned.
See also
addHook(Symbol,Function)
-- add a hook function to an object for later processing
removeHook(Symbol,Function)
-- remove a hook function from an object