[plt-scheme] Re: boolean operators on integers

From: wooks (wookiz at hotmail.com)
Date: Sat Jul 12 10:16:15 EDT 2008


On Jul 12, 8:53 am, "Shriram Krishnamurthi" <s... at cs.brown.edu> wrote:
> 1. In Scheme, 0 and 1 are both true values.  Neither of them is false.
> In Scheme, only one value is false: #f, or false.
>
> 2. In Scheme, AND returns the value of the last expression so long as
> it isn't false.
>

But

(and 8 9 #f)

returns #f.



Posted on the users mailing list.