LispWorks User Guide and Reference Manual > 32 The HCL Package

NextPrevUpTopContentsIndex

*packages-for-warn-on-redefinition*

Variable
Summary

List of packages whose symbols should be checked for definitions.

Package

hcl

Initial Value

A list containing "COMMON-LISP" and other package names.

Description

LispWorks detects attempts to define external symbols in the packages on the list *packages-for-warn-on-redefinition* .

LispWorks, as distributed, is configured to protect the COMMON-LISP package and other system packages.

In particular, the effect of including "COMMON-LISP" in the list value of *packages-for-warn-on-redefinition* is to make all COMMON-LISP symbols be reserved words in respect of definitions and bindings. LispWorks is configured like this because ANSI Common Lisp states that the consequences of such definitions and bindings are undefined. Therefore they are best avoided.

The action taken by LispWorks on such attempted definitions depends on the value of *handle-warn-on-redefinition*.

See also

*handle-warn-on-redefinition*


LispWorks User Guide and Reference Manual - 22 Dec 2009

NextPrevUpTopContentsIndex