when conditionally runs its body when the test is True.
Syntax
(when ⟨test⟩
⟨expr⟩...)
Semantics
whenis a convenience form for one-sided conditional code for effect.- Expressions in the body are sequenced as an implicit
progn, and the result must unify toVoid. - Use
unlessfor the negated form.
Example
(when verbose?
(show "starting"))