[plt-scheme] HTDP Exercises and language levels

From: Bradd W. Szonye (bradd+plt at szonye.com)
Date: Wed Nov 19 11:08:27 EST 2003

Matthias Felleisen wrote:
> (draw-solid-disk (make-posn 10 10) 20 'red)
> produces true.
> (draw-solid-disk (make-posn 50 50) 40 'green)
> produces true.
> You want the first and the second expression to evaluate to true.
> How can you force this to be the case?
> Apologies for abusing and, but it offered itself. -- Matthias
> P.S. I won't read any flames about the use of and for this purpose.

I don't see it as abusive. It's a fairly common idiom in any language
that uses sequenced AND with status-returning functions (including C and
Bradd W. Szonye

Posted on the users mailing list.