DrRacket trait form unknown

Hello,
I’m trying to work with traits, but DrRacket gives me this error:

image

What can it be?

Matteo

You need (require racket/trait). See the documentation at https://docs.racket-lang.org/reference/trait.html.

2 Likes

Sorry, I’ve underestimated the Racket reference.
This is an important thing, I think it should be pointed out in the Racket guide too.

Matteo