Name
def-constant — Binds a symbol to a constant.
Macro
Syntax
def-constant name value &key export
Arguments and Values
nameA symbol that will be bound to the value.
valueAn evaluated form that is bound the the name.
exportWhen T, the name is exported from the current package. The default is NIL
Description
This is a thin wrapper around defconstant. It evaluates at
compile-time and optionally exports the symbol from the package.
Examples
(def-constant pi2 (* 2 pi))
(def-constant exported-pi2 (* 2 pi) :export t)
Side Effects
Creates a new special variable..
Exceptional Situations
None.