When running Racket in a command line, you can start running a racket program using
(enter! "yourfile.rkt")
How do we exit the current .rkt program while still keeping Racket open in the command line? Using
(exit)
closes Racket altogether instead of the current .rkt program.
Maybe you could try it and the current namespace will restore to the original.
(enter! #f)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With