Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Racket Terminal: Command for exiting a current program?

Tags:

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.

like image 543
Ð.. Avatar asked Jul 02 '17 21:07

Ð..


1 Answers

Maybe you could try it and the current namespace will restore to the original.

(enter! #f)
like image 197
dz1984 Avatar answered Sep 24 '22 11:09

dz1984