[plt-scheme] behaviour of void?
Matthias Felleisen
matthias at ccs.neu.edu
Tue Feb 3 20:38:45 EST 2009
On Feb 3, 2009, at 7:01 PM, Prabhakar Ragde wrote:
> Code:
>
> (define x 2)
> (void? (set! x 3))
>
> In Advanced Student: produces `false'.
> In Module (with addition of #lang scheme): produces #t.
>
> Why?
Bug.
>
> 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
Tell them not to use void?. Tell them not to cover chapters VII and
VIII. Instead have students work on large projects and spend lectures
on iterative refinement and re-doing projects. -- Matthias
More information about the plt-scheme
mailing list