Conditionals
(if
{test} {consequent} {alternate}
)
syntax
(if
{test} {consequent}
)
syntax
Syntax: Test, consequent, and alternate are expressions.
Semantics:
An
(if (> 3 2) 'yes 'no) ==> yes
(if (> 2 3) 'yes 'no) ==> no
(if (> 3 2)
(- 3 2)
(+ 3 2)) ==> 1
|