Conditional structures: Difference between revisions

Content added Content deleted
Line 3,014: Line 3,014:


=={{header|Racket}}==
=={{header|Racket}}==
===[http://docs.racket-lang.org/reference/if.html#%28form._%28%28quote._~23~25kernel%29._if%29%29 if]===
===if===
If-expressions in Racket must have both branches
[http://docs.racket-lang.org/reference/if.html#%28form._%28%28quote._~23~25kernel%29._if%29%29 If-expressions]
in Racket must have both branches
<lang Racket>
<lang Racket>
(if (< x 10)
(if (< x 10)