While pointing students at teachpacks for HtDP/2e, one of our tutors correctly 
pointed out that they're not documented using HtDP signatures, but using 
standard Racket contracts. For instance, in big-bang's docs:

> (to-draw render-expr) 
> render-expr: (-> WorldState scene?)

http://docs.racket-lang.org/teachpack/2htdpuniverse.html?q=posn#%28form._world._%28%28lib._2htdp%2Funiverse..rkt%29._big-bang%29%29

Instead, the beginner language seems to use a mixture, alternating between 
"class" `number` and predicate `boolean?`:

http://docs.racket-lang.org/htdp-langs/beginner.html

And in fact, `number` is the style of HtDP/1e, while HtDP/2e uses `Number`.

The differences aren't huge, but I'd guess that sometimes they're noticeable or 
problematic for beginners.

0. Am I mistaking something?
1. Is this intended or are changes planned?
2. How do you deal with this in your courses? Do you teach both signature 
styles? Will this not confuse students?

Cheers,
Paolo

-- 
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 
to racket-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to