All of these are Google Docs.
You can access the “for” command inside Intermediate Student Mode by using (require racket/base)
.
We used racket/base to get access to the “for” command. Unfortunately,
this takes away some of the nice things that picturing-programs
does. If you do something like (make-bubble (make-posn 10 20) "red" 30)
and see an output like (make-bubble …)
, without being able to see
specific information in the place of the dots, then you need to read
on.
In order for you to be able to see inside your structure in the Racket language, you need to tell Racket to make it “transparent”. You do that by adding a keyword, like this:
(define-struct person (name grade) #:transparent)
That takes care of the problem. No more changes are necessary.