5.1 Changes in this release

*warn-if-toplevel-proclaim*

Variable

When set tot (the initial setting), emits a compiler warning when there is aproclaim at the top level of a file that is not wrapped in aneval-when to indicate which execution contexts are desired.

Most commercial implementations of Common Lisp has for years been mishandling toplevel calls toproclaim. For convenience, apparently, they have been treated as if they were implicitly to be evaluated at compile time (similar to package functions likeexport, in-package, and so on.). However, ANSI makes it clear thatproclaim is to be treated just like an ordinary function, and thatdeclaim should be used, or aneval-when form should be used, if an effect is desired on the compilation environment.

Consequently, the Liquid Common Lisp compiler now issues a style warning when it finds a toplevel call toproclaim (i.e. not enwraped by an eval-when); this warning may be muffled by setting*warn-if-toplevel-proclaim* tonil. In a future release, the LCL compiler may treatproclaim in the manner prescribed by the ANSI CL specification.


Liquid Common Lisp 5.0 Release and Installation Notes - 9 JUN 1997

Generated with Harlequin WebMaker