3.1Booleans

Recket用两个常量表示布尔值:#t和#f
boolean?程序区别两个常量。if,cond,and,or用布尔值测试条件,但是,任何非#f的值都被当true对待。

你可能感兴趣的:(3.1Booleans)