I have a repository: GitHub - joskoot/hanoi: GUI for playing the game of The Tower of Hanoi · GitHub
It depends on graphics/graphics.
When I try to install it with DrRackets package manager I get the following error:
What can I do about it?
Jos Koot
Look at Matthew's answer:
The graphics/graphics library relies on racket/base/gui so requiring "hanoi.rkt" in the scribble file require racket/base/gui twice.
As a first experiment, remove the non-for-label "hanoi.rkt" and see what happens.
@(require
scribble/core
scribble/eval
racket
"hanoi.rkt"
(for-label
"hanoi.rkt"
racket
(only-in typed/racket Setof Natural Sequenceof Index))
(for-syntax racket))
This might not be enough though - I remember running into the same issue when I wrote the documentation for sketching and it was a bit tricky to get around the issue.
I kept the for label require, but removed the plain require of hanoi.rkt. That works.
Thanks very much.