Skip to content

proclaim with optimize should be inside eval-when with :compile-toplevel, but not :execute or :load-top-level #53

@Yehouda

Description

@Yehouda

(eval-when (:compile-toplevel :load-toplevel :execute)

The way this is defined now, the optimization applies during compilation, and after loading it applies to everything that is compiled afterwards in the same process.

Presumably, it is intended to apply only to the compilation of the file, in which case the list of keywords should includng only :compile-toplevel.

https://www.lispworks.com/documentation/lw50/CLHS/Body/s_eval_w.htm

This applies to all the file wiyh (proclaim (optimize...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions