|Project author||Jean-Philippe Paradis|
|Programming language||Common Lisp|
|Library type||Wrapper macro|
|Project complexity||Embarrassingly trivial|
|Date||29 oct 2012|
(Nov 2012 dist and later)
|⬉||Depends on||Depended on by|
enhanced-eval-when provides an enhanced
eval-when macro that supports
( as a shorthand for
eval-when t ...)
(, addressing concerns about verbosity. An
enhanced-eval-when alias is also supported, as well as an
eval-always macro and package nickname, for good measure.
eval-when with all situations specified is used an overwhelming majority of the time by most users, these shorthands can really come handy!
The recommended way to use enhanced-eval-when is to put
(:shadowing-import-from #:enhanced-eval-when #:eval-when) in one's
For those who would object to such shadowing, two alternatives are:
(:import-from #:enhanced-eval-when #:enhanced-eval-when)
(:import-from #:eval-always #:eval-always) ;;The name used for ASDF is still enhanced-eval-when.
As always, it's also possible to fully qualify symbols instead, with: