(expand val (? env-mode 'fresh)) val: any type env-mode: a sym (optional) returns any type
F
Completely expands a form.
Recursively performs the expansion algorithm for a form and all of its children, returning a fully-expanded form.
For the meaning of the env-mode
parameter, see eval
.
See also: expand-multi
, expand-1