start-patchModule Manager Facilitywith-module-redefinitionsGoTo Top

with-module-redefinitions   form*[Macro]

Purpose
Defer required-module order checking of module definitions in forms until all forms have been processed.

Package   :module-manager

Module   :module-manager

Arguments and values

form     A form

Errors
The fully expanded required-module order of a module redefined in forms conflicts with the fully expanded required-module order of another module.

Description
Normally, the fully expanded required-module order specified by the :requires option is checked immediately for conflicts with previously defined modules by define-module. Wrapping several define-module forms with with-module-redefinitions allows the definitions to be conflicting temporarily, until all the forms have been processed.

See also
    define-module

Example
Redefine several modules with deferred conflict checking:

  (with-module-redefinitions
    (define-module :alpha ...)
    (define-module :beta ...))
            ...
    (define-module :omega ...)))


The GBBopen Project


start-patchModule Manager Facilitywith-module-redefinitionsGoTo Top