Is there a way to access definitions in the test submodule from the repl in DrRacket as if I were in the repl of the test submodule?
I tried these and they didn’t work: #lang racket (require racket/enter) (module+ test (define x 3)) > (enter! (submod "try-repl-submod-test.rkt" test)) > x x: undefined; cannot reference an identifier before its definition > (current-namespace (module->namespace '(submod "try-repl-submod-test.rkt" > test))) > x x: undefined; cannot reference an identifier before its definition Using require works if I explicitly provide it from x from the test submodule, but I was hoping to be able to access it as if I were in the repl of the test submodule. -- You received this message because you are subscribed to the Google Groups "Racket Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to racket-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.