Hello,
I’m trying to work with traits, but DrRacket gives me this error:
What can it be?
Matteo
Hello,
I’m trying to work with traits, but DrRacket gives me this error:
What can it be?
Matteo
You need (require racket/trait)
. See the documentation at https://docs.racket-lang.org/reference/trait.html.
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