Package enhanced-eval-when
Description
Simply (:shadowing-import-from #:enhanced-eval-when #:
from your defpackage. Don't eval-when
)(:use)
!
enhanced-eval-when provides an enhanced eval-when
macro that supports
(
as a shorthand for
eval-when
t ...)
(
,
eval-when
(:compile-toplevel
:load-toplevel
:execute
) ...)
addressing concerns about verbosity.
As eval-when
with all situations specified is used an overwhelming majority
of the time by most users, this shorthand can really come handy!
Simply (:shadowing-import-from #:enhanced-eval-when #:
from your defpackage. Don't eval-when
)(:use)
!
situations &body body => results
t
.nil
if not.
Directly expands to a standard eval-when
with the same arguments,
except if situations is t
, then the equivalent parameter will be the list (:compile-toplevel :load-toplevel :execute)
.