Package: closer-mop

Generic Function map-dependents

Lambda List

map-dependents (metaobject function)

Arguments

The metaobject argument is a class or generic function metaobject.
The function argument is a function which accepts one argument.

Return Value

The value returned is unspecified.

Details

This generic function applies function to each of the dependents of metaobject. The order in which the dependents are processed is not specified, but function is applied to each dependent once and only once. If, during the mapping, add-dependent or remove-dependent is called to alter the dependents of metaobject, it is not specified whether the newly added or removed dependent will have function applied to it.

Methods

map-dependents ((metaobject standard-class) function)
This method has no specified behavior beyond that which is specified for the generic function.

This method cannot be overridden unless the following methods are overridden as well:

add-dependent (standard-class t)
remove-dependent (standard-class t)


map-dependents ((metaobject funcallable-standard-class) function)
This method has no specified behavior beyond that which is specified for the generic function.

This method cannot be overridden unless the following methods are overridden as well:

add-dependent (funcallable-standard-class t)
remove-dependent (funcallable-standard-class t)


map-dependents ((metaobject standard-generic-function) function)
This method has no specified behavior beyond that which is specified for the generic function.

This method cannot be overridden unless the following methods are overridden as well:

add-dependent (standard-generic-function t)
remove-dependent (standard-generic-function t)

Notes

See the "Dependent Maintenance Protocol" section for remarks about the use of this facility.