This is the with-branching Reference Manual, version 0.0.1, generated automatically by Declt version 4.0 beta 2 "William Riker" on Tue Jul 15 07:05:29 2025 GMT+0.
The main system appears first, followed by any subsystem dependency.
with-branchingAn implementation of macroexpand-time conditionalization
Michał "phoe" Herda <phoe@disroot.org>
MIT
0.0.1
alexandria (system).
trivial-indent (system).
with-branching.lisp (file).
Files are sorted by type and then listed depth-first from the systems components trees.
with-branching/with-branching.asdwith-branching (system).
with-branching/with-branching.lispwith-branching (system).
*branch-bypass* (special variable).
branch-if (macro).
branch-unless (macro).
branch-when (macro).
with-branching (macro).
%all-branches% (symbol macro).
%in-branching% (symbol macro).
%with-branching (macro).
conditional-error (function).
missing-branch (function).
Packages are listed by definition order.
with-branchingcommon-lisp.
*branch-bypass* (special variable).
branch-if (macro).
branch-unless (macro).
branch-when (macro).
with-branching (macro).
%all-branches% (symbol macro).
%in-branching% (symbol macro).
%with-branching (macro).
conditional-error (function).
missing-branch (function).
Definitions are sorted by export status, category, package, and then by lexicographic order.
Bypasses macroexpand-time branching. The bypass inhibits all macroexpand-time
branching and instead defers all checks in expanded code to runtime in the
following manner:
* WITH-BRANCHING -> PROGN
* BRANCH-IF -> IF
* BRANCH-WHEN -> WHEN
* BRANCH-UNLESS -> UNLESS
Chooses between the forms to include based on whether a macroexpand-time
branch is true. The first argument must be a symbol naming a branch in the
lexically enclosing WITH-BRANCHING form.
It is an error to use this macro outside the lexical environment established by WITH-BRANCHES.
Includes some forms based on whether a macroexpand-time branch is false. The
first argument must be a symbol naming a branch in the lexically enclosing
WITH-BRANCHING form.
It is an error to use this macro outside the lexical environment established by WITH-BRANCHES.
Includes some forms based on whether a macroexpand-time branch is true. The
first argument must be a symbol naming a branch in the lexically enclosing
WITH-BRANCHING form.
It is an error to use this macro outside the lexical environment established by WITH-BRANCHES.
Establishes a lexical environment in which it is possible to use
macroexpand-time branching. Within the lexical scope of
WITH-BRANCHING, it is possible to use BRANCH-IF,
BRANCH-WHEN, and BRANCH-UNLESS to conditionalize whether
some forms are included at compilation time.
The first argument must be a list of symbols which name variables. This macro will expand into a series of conditionals
| Jump to: | %
B C F M W |
|---|
| Jump to: | %
B C F M W |
|---|
| Jump to: | %
*
S |
|---|
| Jump to: | %
*
S |
|---|
| Jump to: | F P S W |
|---|
| Jump to: | F P S W |
|---|