Statement macro
Executes an implicit body if a test expression is true, and does nothing if the test is false.
when (test) [ consequent ] end [ when ]Arguments
<object>.common-extensions
common-extensions
Executes consequent if test is true, and does nothing if test is false.
This macro behaves identically to Dylan's standard if statement macro, except that there is no alternative flow of execution when the test is false.
when (x < 0) ~ x; end;