This nightmarish but organic example produced by a student actually works 
correctly, and is a beautiful example of why we need teaching languages (or a 
type system that enforces boolean inputs to ‘or’):

Note that while the actual student code is in python, it’s 100% 
transliteratable to Racket, and you could produce exactly the same horrible 
result…if you weren’t using a teaching language.

Just thought I’d share.

Sweet dreams!


You received this message because you are subscribed to the Google Groups 
"Racket Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
For more options, visit

Reply via email to