scheme 条件表达式
语法: (if (test) (consequent) (alternate))
例:
(if (> 3 2) 'yes 'no) =>yes
(if (> 2 3) 'yes 'no) =>no
(if (> 3 2)
(- 3 2) (+ 3 2)) =>1
语法: (if (test) (consequent) (alternate))
例:
(if (> 3 2) 'yes 'no) =>yes
(if (> 2 3) 'yes 'no) =>no
(if (> 3 2)
(- 3 2) (+ 3 2)) =>1