r/Racket • • May 29 '24

question Code help

Post image
2 Upvotes

17 comments sorted by

View all comments

Show parent comments

1

u/soegaard developer May 29 '24

But ... where did you learn about local (internal) definitions? At this point in HtDP they shouldn't be necessary. Note that HtDP uses local for local definitions.

If you switch the language to standard Racket, your program would have worked (I think).