-
Notifications
You must be signed in to change notification settings - Fork 11
Home
Like if
, but the result of evaluating COND
is bound to it
.
The variable it
is available within THEN
and ELSE
.
COND
, THEN
, and ELSE
are otherwise as documented for if
.
Like prog1
, but the result of evaluating FIRST
is bound to it
.
The variable it
is available within BODY
.
FIRST
and BODY
are otherwise as documented for prog1
.
The final return value of aprog1
is it
(ie. FIRST
).
Like prog2
, but the result of evaluating FORM2
is bound to it
.
The variable it
is available within BODY
.
FORM1
, FORM2
, and BODY
are otherwise as documented for prog2
.
The final return value of aprog2
is it
(ie. FORM2
).
Like when
, but the result of evaluating COND
is bound to it
.
The variable it
is available within BODY
.
COND
and BODY
are otherwise as documented for when
.
Like while
, but the result of evaluating TEST
is bound to it
.
The variable it
is available within BODY
.
TEST
and BODY
are otherwise as documented for while
.
Like and
, but the result of the previous condition is bound to it
.
The variable it
is available within all CONDITIONS
after the
initial one.
CONDITIONS
are otherwise as documented for and
.
Note that some implementations of this macro bind only the first
condition to it
, rather than each successive condition.
Like cond
, but the result of each condition is bound to it
.
The variable it
is available within the remainder of each of CLAUSES
.
CLAUSES
are otherwise as documented for cond
.
Like lambda
, but the function may refer to itself as self
.
ARGS
and BODY
are otherwise as documented for lambda
.
Like block
, but the result of the previous expression is bound to it
.
The variable it
is available within all expressions of BODY
except the initial one.
NAME
and BODY
are otherwise as documented for block
.
Like case
, but the result of evaluating EXPR
is bound to it
.
The variable it
is available within CLAUSES
.
EXPR
and CLAUSES
are otherwise as documented for case
.
Like ecase
, but the result of evaluating EXPR
is bound to it
.
The variable it
is available within CLAUSES
.
EXPR
and CLAUSES
are otherwise as documented for ecase
.
Like typecase
, but the result of evaluating EXPR
is bound to it
.
The variable it
is available within CLAUSES
.
EXPR
and CLAUSES
are otherwise as documented for typecase
.
Like etypecase
, but result of evaluating EXPR
is bound to it
.
The variable it
is available within CLAUSES
.
EXPR
and CLAUSES
are otherwise as documented for etypecase
.
Like let
, but the content of VARLIST
is bound to it
.
VARLIST
as it appears in it
is not evaluated. The variable it
is available within BODY
.
VARLIST
and BODY
are otherwise as documented for let
.
Like +
, but the result of evaluating the previous expression is bound to it
.
The variable it
is available within all expressions after the
initial one.
NUMBERS-OR-MARKERS
are otherwise as documented for +
.
Like -
, but the result of evaluating the previous expression is bound to it
.
The variable it
is available within all expressions after the
initial one.
NUMBER-OR-MARKER
and NUMBERS-OR-MARKERS
are otherwise as
documented for -
.
Like *
, but the result of evaluating the previous expression is bound to it
.
The variable it
is available within all expressions after the
initial one.
NUMBERS-OR-MARKERS
are otherwise as documented for *
.
Like /
, but the result of evaluating the previous divisor is bound to it
.
The variable it
is available within all expressions after the
first divisor.
DIVIDEND
, DIVISOR
, and DIVISORS
are otherwise as documented for /
.
EXPERIMENTAL
Like set
, except that the value of SYMBOL
is bound to it
.
The variable it
is available within VALUE
.
SYMBOL
and VALUE
are otherwise as documented for set
.
Note that if this macro followed traditional naming for
anaphoric expressions, it would conflict with the existing
(quite different) function aset
.
EXPERIMENTAL
Like setq
, except that the value of SYM
is bound to it
.
The variable it
is available within each VAL
.
ARGS
in the form [SYM VAL]
... are otherwise as documented for setq
.
No alias asetq
is provided, because it would be easily mistaken
for the pre-existing aset
, and because anaphoric-setq
is not
likely to find frequent use.