[plt-scheme] behaviour of void?

Prabhakar Ragde plragde at uwaterloo.ca
Tue Feb 3 19:01:32 EST 2009


Code:

(define x 2)
(void? (set! x 3))

In Advanced Student: produces `false'.
In Module (with addition of #lang scheme): produces #t.

Why?

Thanks.

(Not my question. I don't cover `void?', because I don't see much point 
to it, and I skip over Advanced Student to get to Module. Asked by 
people teaching the non-major course.) --PR




More information about the plt-scheme mailing list