I'm trying to bring in some functions from a relative file using contract-in with Racket v8.13 [cs]. Nothing I've tried seems to work. The doc says
([contract-in] require-spec contract-in-item ...)
where require-spec is as in require and
contract-in-item = [id contract-expr]
yet nothing I've tried works. For example
(contract-in
"sprites-worlds-game.rkt"
[make-universe (-> universe?)])
gives the error message
contract-in: illegal use of syntax
value at phase 1: #<rt> in: (contract-in "sprites-worlds-game.rkt" (make-universe (-> universe?)))
How can I use contract-in correctly?